Attempted import error: 'AccountEntity' is not exported from '@azure/msal-common'. #7331
Open
1 of 2 tasks
Labels
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-browser
Related to msal-browser package
msal-react
Related to @azure/msal-react
Needs: Attention 👋
Awaiting response from the MSAL.js team
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.24.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
2.1.0
Public or Confidential Client?
Public
Description
I have a React app (with create react app) with the following versions installed:
It turns out that when importing the PublicClientApplication object the application tells me "Attempted import error: 'AccountEntity' is not exported from '@azure/msal-common'" i try to use differents versions but it's the same.
Error Message
./node_modules/@azure/msal-browser/dist/index.mjs
Attempted import error: 'AccountEntity' is not exported from '@azure/msal-common'.
MSAL Logs
i can't get it because the
const msalInstance = new PublicClientApplication(msalConfig);
it self is not workingNetwork Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
when i make a new instance for PublicClientApplication i can follow with the configuration of the MsalProvider on msal for react putting the msal config
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome, None (Server)
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: