Closed VBobCat closed 4 years ago
https://github.com/benbaran/adal-angular4/issues/141
It's the same problem... for the moment disabled Ivy in tsconfig.json
"angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true, "enableIvy": false }
https://github.com/benbaran/adal-angular4/issues/141
It's the same problem... for the moment disabled Ivy in tsconfig.json
"angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true, "enableIvy": false }
Thank you, @ectalactus, that worked for me, too.
Might be related to this https://github.com/angular/angular/issues/35788 which can be solved with this: https://github.com/angular/angular/issues/35788#issuecomment-605631297
Hey all. I am working on updating this for angular 9. Stay tuned.
Sent from my iPhone
On Apr 2, 2020, at 8:27 AM, martinvillysson notifications@github.com wrote:
Might be related to this angular/angular#35788 which can be solved with this: angular/angular#35788 (comment)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hey all. I am working on updating this for angular 9. Stay tuned. … Sent from my iPhone On Apr 2, 2020, at 8:27 AM, martinvillysson @.***> wrote: Might be related to this angular/angular#35788 which can be solved with this: angular/angular#35788 (comment) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Many Thanks Benbaran
I published version 9.0.0-beta.0 on npm if you would like to give it a try.
Sent from my iPhone
On Apr 2, 2020, at 11:57 AM, ectalactus notifications@github.com wrote:
Hey all. I am working on updating this for angular 9. Stay tuned. … Sent from my iPhone On Apr 2, 2020, at 8:27 AM, martinvillysson @.***> wrote: Might be related to this angular/angular#35788 which can be solved with this: angular/angular#35788 (comment) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Many Thanks Benbaran
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
It's work for me with version 9.0.0-beta.0. But it's normal to have a dependency to "adal-angular" ? I have test with "adal-angular": "~1.0.17"
Regards
Yes, adal-angular is the normal Javascript library that this one wraps so it will work with Angular. It used to be included as a direct dependency so it would get installed automatically, but now they are recommending using peer dependencies instead.
On Thu, Apr 2, 2020 at 2:15 PM ectalactus notifications@github.com wrote:
It's work for me with version 9.0.0-beta.0. But it's normal to have a dependency to "adal-angular" ? I have test with "adal-angular": "~1.0.17"
Regards
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/benbaran/adal-angular4/issues/142#issuecomment-608052617, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGOS5VUBQRVEMZQIJJSP3KDRKTP33ANCNFSM4LZUSPXA .
FWIW the module format also causes issues with Jest - I have to work around it via this hack: https://github.com/kulshekhar/ts-jest/issues/970#issuecomment-463636388
Thanks for letting me know. Have you tried the version 9 beta? It provides all the formats.
Sent from my iPhone
On May 6, 2020, at 8:31 AM, Matt Melton notifications@github.com wrote:
FWIW the module format also causes issues with Jest - I have to work around it via this hack: kulshekhar/ts-jest#970 (comment)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
looking foreward to a version 9 stable version. We are also upgrading our Angular applications, and ran in to the same issue
Did you try to test with the beta? If everything is working fine I can release a stable version.
Sent from my iPhone
On May 14, 2020, at 9:45 AM, Johan Roug notifications@github.com wrote:
looking foreward to a version 9 stable version. We are also upgrading our Angular applications, and ran in to the same issue
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, @benbaran! I've noticed that now I have to manually install adal-angular via npm after installing adal-angular4. Previous versions would get it as a dependency, I guess?
Yes. NPM now recommends adding it as a peer dependency instead. I will update the documentation.
Thanks!
Sent from my iPhone
On May 15, 2020, at 9:08 AM, VBobCat notifications@github.com wrote:
Hello, @benbaran! I've noticed that now I have to manually install adal-angular via npm after installing adal-angular4. Previous versions would get it as a dependency, I guess?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Yes. NPM now recommends adding it as a peer dependency instead. I will update the documentation. Thanks! … Sent from my iPhone On May 15, 2020, at 9:08 AM, VBobCat @.***> wrote: Hello, @benbaran! I've noticed that now I have to manually install adal-angular via npm after installing adal-angular4. Previous versions would get it as a dependency, I guess? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank you. I've found no more issues with Ivy after upgrading to version 9.0.0-beta.0 so I'm closing this issue.
For those willing to reproduce the problem, I have done only this:
ng new (myproject)
;ng add @angular/material
;npm i adal-angular4
;app.module.ts
andapp-routing.module.ts
exactly as directed in this project's README.md;This was enough to make my browser, previously showing only "LandingPageComponent works", to get all blank and the error below to be shown in browser's console:
These are the specs of my project:
package.json
:app.module.ts
app-routing.module.ts
What can I do in order to make it work? Thank you guys already...