Open rachitbhasin opened 7 years ago
Does it work after upgrading deps? @rachitbhasin
@blacksonic I made a new clone of the repo and did npm install
.
I still get the following error when the watch detects changes:
> angular2-aot-cli-webpack-plugin@1.0.0 start E:\Angular2\angular2-aot-cli-webpack-plugin
> webpack-dev-server --config webpack.aot.config.js
Project is running at http://localhost:9000/
webpack output is served from /
Content not from webpack is served from ./src
404s will fallback to /index.html
webpack: Compiled successfully.
webpack: Compiling...
[1m[31mERROR in ./src/app/modules/main.module.ngfactory.ts
Module build failed: Error: ENOENT: no such file or directory, open 'E:\Angular2\angular2-aot-cli-webpack-plugin\src\app\modules\main.module.ngfactory.ts'
at Error (native)
@ ./src/app/main.ts 2:0-70
@ multi (webpack)-dev-server/client?http://localhost:9000 ./app/main.ts[39m[22m
webpack: Failed to compile.
Same here with OS X. Clean install with yarn
. Running npm start
works for the first time, but fails on the next build:
ERROR in ./src/app/modules/main.module.ngfactory.ts
Module build failed: Error: ENOENT: no such file or directory, open '/Users/xyz/tmp/angular2-aot-cli-webpack-plugin/src/app/modules/main.module.ngfactory.ts'
at Error (native)
@ ./src/app/main.ts 2:0-70
@ multi (webpack)-dev-server/client?http://localhost:9000 ./app/main.ts
Is it still an issue with latest updates?
The application compiles the first time just fine. When changes are made the watch starts to re-compile, but fails with the following error:
Note: I'm on a windows machine.