question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to compile

See original GitHub issue

ERROR 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:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
danrevahcommented, Apr 5, 2017

Im trying to find a workaround. Will keep you updated.

0reactions
danrevahcommented, Apr 10, 2017

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack failed to compile - Stack Overflow
1 Answer 1 · inside index.js you are importing a css file and webpack is unable to handle it, this is what the...
Read more >
Why my React App Failed To Compile - Timonwa's Notes
Bugs and Errors will come in different shapes and sizes, styles and formats you never expect, causing your react app not to compile....
Read more >
Failed to compile error when running on dev server locally ...
After freshly run create-react-app demo cd ./demo npm start Then modify App.css. Console shows Failed to compile. Error in .
Read more >
Failed to compile. Module not found: Error: - Support
Having this error building a react (typescript) app. The error begins at timestamp 5:09:47 PM 5:09:05 PM: Build ready to start 5:09:07 PM: ......
Read more >
[XSIM 43-3410] Failed to compile one of the generated C files.
ERROR: [XSIM 43-3410] Failed to compile one of the generated C files. Hello,. I just tried to run a simple simulation but it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found