question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build error after upgrading to Angular 10 and opting out of Ivy

See original GitHub issue

Library

  • msal@1.4.0
  • @azure/msal-angular@1.1.1
  • @angular/core@10.1.1

Disabled Ivy: "angularCompilerOptions": { "enableIvy": false }

Framework

Angular 10

Description

After upgrading to angular 10 MSAL gives us a build error. We were using older versions of MSAL before the upgrade and figured updating to the latest versions would fix something. This was not the case though and looking at the NPM page implies that angular 10 is not supported: image However, there’s also a line about following the angular support schedule: image To me, this implies that angular 10 is supported, since 10 is currently active. image

With a build error like it leads me to conclude that angular 10 is not supported by the msal-angular package. Is this conclusion correct?

Error Message

msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) Importing ModuleWithProviders from angular core: import { ModuleWithProviders } from "@angular/core";

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
felixvanleeuwencommented, Nov 11, 2020

Is there an ETA for when this version will be released to NPM?

0reactions
jasonnuttercommented, Nov 12, 2020

@azure/msal-angular@1.1.2 is now available on npm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Ivy
Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and...
Read more >
angular 13 ng build library fails (ivy partial compilation mode)
I tried reverting the version of node and angular cli but it didn't fix the problem. I even reverted the code to its...
Read more >
All About Angular Engine Ivy in 5 mins
In version 9, we instead have to opt-out of Ivy if we want to fall back to View Engine. This is possible in...
Read more >
The Angular Ivy guide for library authors - DEV Community ‍ ‍
Angular versions 9 and 10 applications will have an option to opt-out of Ivy and instead fall back to View Engine compilation and...
Read more >
What Is Angular Ivy and Why Is It Awesome? - Okta Developer
Ivy is a complete rewrite of Angular's rendering engine. In fact, it is the fourth rewrite of the engine and the third since...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found