Module build failed
See original GitHub issueERROR in ./~/ngx-pipes/src/app/index.ts
Module build failed: TypeError: Cannot read property 'text' of undefined
at Object.getTokenPosOfNode (C:\Projects\start.slog.no-ng2\node_modules\typescript\lib\typescript.js:6635:71)
at IdentifierObject.TokenOrIdentifierObject.getStart (C:\Projects\start.slog.no-ng2\node_modules\typescript\lib\typescript.js:78683:23)
at IdentifierObject.TokenOrIdentifierObject.getText (C:\Projects\start.slog.no-ng2\node_modules\typescript\lib\typescript.js:78704:77)
at refactor.findAstNodes.filter (C:\Projects\start.slog.no-ng2\node_modules\@ngtools\webpack\src\loader.js:139:44)
at Array.filter (native)
at refactor.findAstNodes.forEach.node (C:\Projects\start.slog.no-ng2\node_modules\@ngtools\webpack\src\loader.js:138:14)
at Array.forEach (native)
at _removeDecorators (C:\Projects\start.slog.no-ng2\node_modules\@ngtools\webpack\src\loader.js:129:10)
at Promise.resolve.then (C:\Projects\start.slog.no-ng2\node_modules\@ngtools\webpack\src\loader.js:292:33)
@ ./src/$$_gendir/app/app.module.ngfactory.ts 40:0-52
@ ./src/main.ts
@ multi ./src/main.ts
I am using angular cli
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Module Build Failed - Webpack, React, Babel - Stack Overflow
It was solved. The answer was in installing presets npm i --save babel-preset-env babel-preset-react . Then adding another key in the ...
Read more >Error: Module build failed: Error: Node Sass does not yet ...
This error happened with me after upgrade of node.js. Cause: Node Sass version is not compatible with Node.js version. Solution: you should check...
Read more >Angular - Code with Mosh Forum
Error : Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): · delete the node_modules folder · delete package-lock.json ...
Read more >npm run dev: Module build failed, TypeError - Laracasts
I have created a new project and added fortify, jetstream and livewire. When I ran the final "npn run dev" I got the...
Read more >Rails 6, Uncaught Error: Module build failed #44172 - GitHub
yarn/virtual/babel-loader-virtual-5e1e3f47a6/0/cache/babel-loader-npm-8.2.3-855681b984-78e1e1a919.zip/node_modules/babel-loader/lib/index.js):
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! the problem was only because of
@angular/cli
. but updating to Angular 4 is a good idea this days 👍@juanmazalazar @Lyasan keep me updated as well if it works
it’s not related to
ngx-pipes
but it’s pretty straight forward it’s telling you to useng-template
instead oftemplate
.