ng serve failing after updating CLI to latest version
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [x ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Angular CLI: 6.2.3 Node: 8.11.3 OS: win32 x64 Angular: 6.1.9 … common, compiler, compiler-cli, core, forms, http … platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.8.3 @angular-devkit/build-angular 0.8.3 @angular-devkit/build-optimizer 0.8.3 @angular-devkit/build-webpack 0.8.3 @angular-devkit/core 0.8.3 @angular-devkit/schematics 0.8.3 @angular/cli 6.2.3 @ngtools/webpack 6.2.3 @schematics/angular 0.8.3 @schematics/update 0.8.3 rxjs 6.3.3 typescript 2.9.2 webpack 4.20.2
Repro steps
Updated local version of the CLI to the latest version and updated npm to latest. Fixed all dependency errors it was complaining about and then update core to latest.
The log given by the failure
91% additional asset processing scripts-webpack-plugin× 「wdm」: Error: EISDIR: illegal operation on a directory, read at Object.fs.readSync (fs.js:675:18) at tryReadSync (fs.js:540:20) at Object.fs.readFileSync (fs.js:583:19) at Storage.provideSync (C:\Projects\Tradify\TradifyWeb2\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:98:13)
Desired functionality
Mention any other details that might be useful
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
After some messing around with creating a repro app and moving code over i found that one of the script entries in my angular.json file pointing to a folder and not a file. Removing this fixed the error.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.