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' #5

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

Cannot find module 'adal-angular' #5

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/@angular/http/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/@angular/core/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/@angular/core/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/@angular/core/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/@angular/core/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/@angular/core/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/@angular/core/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/@angular/core/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/@angular/common/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/@angular/common/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/@angular/common/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?

@woodm1 woodm1 closed this as completed Sep 7, 2017
@arulrajsuri
Copy link

@woodm1 can you please explain, what you did to resolve this issue, i m also in the same boat

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