sample fails at npm start: Angular 16 MSAL Angular v3 Sample: Cannot find module '@azure/msal-browser' #7114
Labels
adfs
Related to ADFS
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
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
current
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
v3
Public or Confidential Client?
Public
Description
Sample "Angular 16 MSAL Angular v3 Sample" fails when used as instructed.
Error Message
MSAL Logs
N/A
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
download : https://github.com/AzureAD/microsoft-authentication-library-for-js
to: C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js
In folder: C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\samples\msal-angular-v3-samples\angular16-sample-app
execute command: npm install @azure/msal-browser @azure/msal-angular@latest
Edit C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\samples\msal-angular-v3-samples\angular16-sample-app\src/app.modules.ts to hard-code Client ID and Authority
In folder C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\samples\msal-angular-v3-samples\angular16-sample-app
execute command: npm start
Build errors reported as detailed in "Error Message" box above.
Expected Behavior
Build should have completed without errors.
Identity Provider
ADFS
Browsers Affected (Select all that apply)
None (Server)
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: