Closed daglenn1960 closed 6 months ago
The referenced file does exist in the published package. We are not experts in Vite and can't speculate as to why this is breaking with your toolchain. If there's specific changes we need to make to support this please feel free to open a PR or a new issue with suggestions.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.6.0
Wrapper Library
Not Applicable
Wrapper Library Version
n/a
Public or Confidential Client?
Public
Description
Issue with @azure/msal-browser (happens with any msal-browser 3.x.x. version):
vite: v 4.5.1
VITE v4.5.1 ready in 526 ms
➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ➜ press h to show help Error: Failed to scan for dependencies from entries: C:/afni_dev/afniACM/AfniAcm/index.html
X [ERROR] Missing "./dist/packageMetadata" specifier in "@azure/msal-browser" package [plugin vite:dep-scan]
src/stores/lookup.js:1:21: 1 │ import { name } from '@azure/msal-browser/dist/packageMetadata' ╵
~~~~~~~~~~Error Message
This error came from the "onResolve" callback registered here:
Msal Logs
No response
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
npm run dev
Expected Behavior
Running dev environment
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Edge
Regression
No response
Source
External (Customer)