sample "Angular 17 Standalone MSAL Angular v3 Sample" fails to build: Cannot set properties of null (setting 'parent'), Lifecycle script postinstall:msal-angular
failed, etc.
#7121
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
14.10.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
3.0.17
Public or Confidential Client?
Public
Description
The instructions accompanying this sample appear result in errors during the build process.
No Fiddler trace is relevant as the build failed.
Error Message
MSAL Logs
MSAL log is not applicable as sample does not run.
Follow log is from C:\Users\myuser.mydomain\AppData\Local\npm-cache_logs\2024-05-22T19_34_19_270Z-debug-0.log:
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Download MSAL from
https://github.com/AzureAD/microsoft-authentication-library-for-js
toC:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js
.Configure sample for ADFS authority and Client ID in environment.ts, environment.dev.ts, and app.config.ts.
Execute command:
C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\lib\msal-browser>npm run build:all
Execute command:
C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\samples\msal-angular-v3-samples\angular17-standalone-sample\npm run build
Expected Behavior
Sample should complete build without errors.
Identity Provider
ADFS
Browsers Affected (Select all that apply)
Edge
Regression
N/A
Source
External (Customer)
The text was updated successfully, but these errors were encountered: