-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Angular Ivy distribution #4298
Comments
@hartmair Added to this our board to track and prioritize. |
@sandrooco A very happy new year to you too! :) |
Is this started? |
1 similar comment
Is this started? |
@chamikasandamal Not yet, no. We'll update this issue when we have. |
@sandrooco Are you planning to do this still? Would love to have this updated. |
@grosch this is handled internally at Microsoft now. There were two PRs from the community that got closed due to backwards compatibility "issues". |
Is there any news about this? |
Still blocked with this, any news Microsoft? 😞 |
I can't believe this is still in the backlog after this long. How are we supposed to encourage our clients to use Microsoft accounts login if we are not even provided with this core implementation? |
Please consider resolving this ASAP, as angular 15 will remove view engine completely |
Still no ETA for this, we will update once we have one. We are aware of Angular 15 removing view engine and that's influence on prioritization. |
While the fix isn't in place yet, it would be great if you provided a workaround for this |
I can confirm the following are compatible:
ng version output:
|
I've just ran Angular: 12.1.4 |
Could you at least provide a workaround for this? This error is blocking me. |
I am getting |
I had the error using esbuild, when I went back to the standard builder the error went away. |
We are actively working on this for our next major version release. I will update here once the alpha of v3 is available for testing. |
Thank you EmLauber, Do we have an estimated time for arrival for this update? |
Also would love to see an update on the timeline. |
MSAL.Angular v3 alpha with Angular 15 and Ivy support is released: https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-angular-v3.0.0-alpha.0 |
Works with Angular 16 👍 |
How do I make this work with Angular 16? I am still getting the 'not compatible with Ivy defect' |
@webdevgaur Updating packages to those version should fix Ivy compatibility issues :
|
worked for me
|
After updating to Angular 16 and therefore MSAL to 3.0.0-alpha.0 as per the workaround noted above:
I am now getting the router error when using MSAL in office.js "Unhandled Navigation Error: TypeError: this._history.replaceState is not a function" Is anyone else experiencing this? I have raised an issue here: |
I have a similar situation but with newer version. Upon updating the packages to "@azure/msal-angular": "^3.0.0-beta.0",
"@azure/msal-browser": "^3.0.0-beta.0", I'm getting this error stack
Update: |
after a lot of pain, worked. step 1 - versions info: Angular: 16.1.3 Package Version@angular-devkit/architect 0.1601.3 |
Thanks @guilhermeadealmeida5 |
We would like to know if there are any updates on the timeline for releasing the current beta version as a final version. |
Thanks @guilhermeadealmeida5 this worked for me, but now when I deploy to Azure I got this error into the pipeline: `Running 'npm install'... npm ERR! code ERESOLVE npm ERR! A complete log of this run can be found in: ---End of Oryx build logs--- Any ideas? Edit: Actually I fixed it by removing |
do u used "--force" in the end? this package has something incompatible. this error gonna happen when u install others package neither. U have to use "--force " in the end. And my tip is, when they make a new version from msal, we have to update for the version more compatible LTS |
@ssaso Your fix might be working but doesn't look right. The One of the lines in the error log you've pasted consists of The |
When installing yes, followed your steps, and I get this locally: npm install --force but it is all ok. npm install --force This is without modifying the package-lock file Edit: Okej now everything went smoothly, the thing was when I was executing: npm install @azure/msal-browser --force somehow it was installing 2.38 even though msal-angular was 3.0.0, so I explicitly changed the version to 3.0.0.beta.1 in the package json file. |
@ssaso |
Hope stable version released soon. |
Same here, I'm waiting for this to move to Angular 16 since they removed the Angular Compatibility Compiler (ngcc). But it's been a year and a half since this issue was opened... 😞 |
Yes the main issue is with the compiler removal, in my enterprise application we've been using angular 8 version with 70+ third-party libs :( still I'm finding the ways to make the app with the latest version. |
Closing as msal-angular v3 has been released, which supports Ivy. If you run into any specific issues with the new build please let us know by opening a new issue. Thanks! |
How to make msalv1 to work with Angular 16 is there any workaround msal.module.d.ts(7, 13): This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy. |
No there is no workaround. Try to update to the current V3+ versions - it shouldn't be a big thing (API didn't change drastically). |
When it come to MSAL, don’t develop on anything less than the latest
version. MSAL It is a complex thing to program and get working in an office
addin, don’t waste your development time on a lower version
…On Mon, 18 Dec 2023 at 7:02 pm, Sandro ***@***.***> wrote:
How to make msalv1 to work with Angular 16 is there any workaround
No there is no workaround. Try to update to the current V3+ versions - it
shouldn't be a big thing (API didn't change drastically).
—
Reply to this email directly, view it on GitHub
<#4298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDFAOZEUTVU5CPCJNCHY4LYJ72A3AVCNFSM5JGTKHCKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHE3TENJYGI2Q>
.
You are receiving this because you commented.Message ID:
<AzureAD/microsoft-authentication-library-for-js/issues/4298/1859725825@
github.com>
|
Core Library
MSAL.js v2 (@azure/msal-browser)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Description
When compiling with Angular 13, the following pops up:
Source
External (Customer)
The text was updated successfully, but these errors were encountered: