Failed to compile
See original GitHub issueERROR in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/errors.d.ts (9,33): Initializers are not allowed in ambient contexts. C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/errors.d.ts (10,43): Initializers are not allowed in ambient contexts. C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/errors.d.ts (11,42): Initializers are not allowed in ambient contexts. C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/errors.d.ts (12,43): Initializers are not allowed in ambient contexts. C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/errors.d.ts (13,35): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/animation/dsl.d.ts (34,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/src/animation/animation_metadata_wrapped.d.ts (12,33): Initializers are not allowed in ambient contexts.
ERROR in Error encountered resolving symbol values statically. Calling function ‘ɵmakeDecorator’, function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/node_modules/@angular/core/core.d.ts, resolving symbol NgPipesModule in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/src/app/index.d.ts, resolving symbol NgPipesModule in C:/Users/genti/Desktop/New folder/frontend_software/node_modules/ngx-pipes/src/app/index.d.ts
@angular/cli: 1.0.0 node: 7.6.0 os: win32 x64 @angular/cli: 1.0.0 @angular/common: 2.4.10 @angular/compiler: 2.4.10 @angular/core: 2.4.10 @angular/forms: 2.4.10 @angular/http: 2.4.10 @angular/platform-browser: 2.4.10 @angular/platform-browser-dynamic: 2.4.10 @angular/router: 3.4.10 @angular/compiler-cli: 2.4.10
`
I am having this issue right now and don’t know why using this version “ngx-pipes”: “^1.4.6”, Can you help me out.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
Im trying to find a workaround. Will keep you updated.
Related to #46, it’s a dependencies issue. Update to the official release of
@angular/cli: 1.0.0
, also a good idea would be to update to Angular 4.