Skip to content
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 'adal-angular' #12

Closed
woodm1 opened this issue Sep 7, 2017 · 1 comment
Closed

Cannot find module 'adal-angular' #12

woodm1 opened this issue Sep 7, 2017 · 1 comment

Comments

@woodm1
Copy link

woodm1 commented Sep 7, 2017

Getting the following error on ng serve:

ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/adal4.service.d.ts (3,22): Cannot find module 'adal-angular'.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/backends/browser_jsonp.d.ts (1,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/errors.d.ts (9,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/errors.d.ts (10,43): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/errors.d.ts (11,42): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/errors.d.ts (12,43): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/errors.d.ts (13,35): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/animation/dsl.d.ts (81,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//src/animation/animation_metadata_wrapped.d.ts (12,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//http/src/jsonp.d.ts (5,44): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//http/src/jsonp.d.ts (6,45): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/Matt/Source/Repos/internal/node_modules/adal-angular4/node_modules//http/src/jsonp.d.ts (7,52): Initializers are not allowed in ambient contexts.

Using latest Angular-CLI version. I've tried the fixes suggested at alenny/angular2-adal#8 but they're for the Angular 2 version, and no luck.

Any ideas?

@benbaran
Copy link
Owner

benbaran commented Mar 8, 2018

This has been fixed in the v2 library.

@benbaran benbaran closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants