-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module '@azure/msal-common' and '@azure/msal-angular' or its corresponding type declarations. #6310
Comments
same here! is there already a workaround? |
The release version has this issue too, not only 3.0.0-alpha.0 as the issue owner stated |
|
thanks! downgrading to |
the content of the package seems borked, https://app.renovatebot.com/package-diff?name=@azure%2fmsal-angular&from=3.0.0-beta.1&to=3.0.0 |
It's broken, do not use version ^3.0.0 right now, this fix the issue for now: |
Wow, they really shit the bed.. see also #5410 |
Getting the same error on 3.0.0, beta version works fine. Looks like they published incorrectly |
@HansakaSS Thanks for raising this issue. There has been an error in our release process and we are currently working on a fix. Thank you all for your patience. |
Getting same error, but only for msal-angular 3.0.0 |
also mentioned here #6323 |
Yes, beta.1 seems to be working fine BUT when build runs on azure pipelines or docker (node:18.13-alpine, nginx:1.20.0-alpine), it still throws the same error! |
Oh my. The answer was in front of my eyes! |
A fix for this was released last week in versions 3.0.1 of msal-browser and 2.0.1 of msal-angular. Let us know if this is still an issue, thanks! |
Can confirm that the bug in react version is still there
another issue is that |
Not sure if we have to add those: or those: in our package.json . Anyway, none of those works: |
I have the same error with AADB2C90012, but ony when authenticating against Azure B2C, not when autenticating against Azure AD |
Any update on the error I have described? Indeed, this is happening on azure b2c.
|
Using 3.0.2 and Azure B2C works on my projects |
@tnorling Yes it is indeed still a problem. |
|
I can confirm that I am still finding this issue in react |
Samples provided in source code does now work. 2 kind of exceptions exists:
Tested with Any hints how to make it work? |
Can confirm changing the versions to above works, finally: Change: package.json -> npm install Angular 18 stand alone site is up and functioning. |
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.0.0-alpha.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
3.0.0-alpha.0
Public or Confidential Client?
Public
Description
we can not import the
MsalService
from@azure/msal-angular
.we noticed this error few hours ago. we are using angular 16.
we also tried following versions. and its same for all those versions.
Error Message
Cannot find module '@azure/msal-angular' or its corresponding type declarations.
Msal Logs
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
Should be able to use
MsalService
from'@azure/msal-angular'
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
None (Server)
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: