benbaran / adal-angular4-example

Angular 4 ADAL Wrapper Example
28 stars 13 forks source link

Cannot find module adal-angular #11

Open arulrajsuri opened 6 years ago

arulrajsuri commented 6 years ago

Replicated all the steps described to create adal-angular4 sample project, webpack compilation fails during ng serve

I have tried uninstalling and reinstalling adal-angular package, but no luck

Can you please help to find what I am missing?

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/adal4.service.d.ts (3,22): Cannot find module 'adal-angular'.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/http/src/backends/browser_jsonp.d.ts (1,33): Initializ ers are not allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/errors.d.ts (9,33): Initializers are not allo wed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/errors.d.ts (10,43): Initializers are not all owed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/errors.d.ts (11,42): Initializers are not all owed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/errors.d.ts (12,43): Initializers are not all owed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/errors.d.ts (13,35): Initializers are not all owed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/animation/dsl.d.ts (81,33): Initializers are not allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/core/src/animation/animation_metadata_wrapped.d.ts (12 ,33): Initializers are not allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/common/http/src/jsonp.d.ts (5,44): Initializers are no t allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/common/http/src/jsonp.d.ts (6,45): Initializers are no t allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/node_modules/adal-angul ar4/node_modules/@angular/common/http/src/jsonp.d.ts (7,52): Initializers are no t allowed in ambient contexts.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/src/app/app.component.t s (5,22): Cannot find module 'adal-angular'.

ERROR in C:/Users/t1668A0/Downloads/angular apps/fcaadal/src/app/app.component.t s (5,22): Cannot find module 'adal-angular'. webpack: Failed to compile.