-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng serve hanging on "92% additional asset processing scripts-webpack-plugin" #16659
Comments
Hi, the problem seems to be that you are trying to copy files which don't exist. |
We should emit an actionable error. |
…ound While we currently invoke the `callback` with the error in https://github.com/angular/angular-cli/blob/d4f1ff82c5d994aca68c39ff31f5d8b22e694b87/packages/angular_devkit/build_angular/src/angular-cli-files/plugins/scripts-webpack-plugin.ts#L163 this is not bubbled up to the main webpack compilation due to the usage of `thisCompilation`. Closes #16659
…ound While we currently invoke the `callback` with the error in https://github.com/angular/angular-cli/blob/d4f1ff82c5d994aca68c39ff31f5d8b22e694b87/packages/angular_devkit/build_angular/src/angular-cli-files/plugins/scripts-webpack-plugin.ts#L163 this is not bubbled up to the main webpack compilation due to the usage of `thisCompilation`. Closes #16659
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
Problem trying to run
ng serve
withAngular: 9.0.0-rc.7
(presumably webpack under the hood).Is this a regression?
Not sure. Similar complaints have been made in the past, but no clear solution is obvious. Isn't this just a matter of copying over scripts from the specified file path to the web-app's output dir?!
Description
I'm trying to add scripts for lightgallery.js to my angular app. After running
npm i -S lightgallery.js
I have the following in bothtest
andbuild
architects
inangular.json
:🔬 Minimal Reproduction
Checkout this branch https://github.com/MagnusBrzenk/skymont/tree/001-basic and try
npm i
followed byng serve
.🌍 Your Environment
Angular Version:
The text was updated successfully, but these errors were encountered: