Skip to content

ng serve hanging on "92% additional asset processing scripts-webpack-plugin" #16659

Closed
@MagnusBrzenk

Description

@MagnusBrzenk

🐞 bug report

Affected Package

Problem trying to run ng serve with Angular: 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 both test and build architects in angular.json:

            "scripts": [
              "./node_modules/lightgallery.js/dist/js/lightgallery.min.js",
              "./node_modules/lightgallery.js/dist/js/lg-thumbnail.min.js",
              "./node_modules/lightgallery.js/dist/js/lg-fullscreen.min.js"
            ]

🔬 Minimal Reproduction

Checkout this branch https://github.com/MagnusBrzenk/skymont/tree/001-basic and try npm i followed by ng serve.

🌍 Your Environment

Angular Version:



Angular CLI: 9.0.0-rc.7
Node: 10.16.3
OS: darwin x64

Angular: 9.0.0-rc.7
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.7
@angular-devkit/build-angular     0.900.0-rc.7
@angular-devkit/build-optimizer   0.900.0-rc.7
@angular-devkit/build-webpack     0.900.0-rc.7
@angular-devkit/core              9.0.0-rc.7
@angular-devkit/schematics        9.0.0-rc.7
@angular/cdk                      8.2.3
@angular/material                 8.2.3
@angular/pwa                      0.803.21
@ngtools/webpack                  9.0.0-rc.7
@schematics/angular               9.0.0-rc.7
@schematics/update                0.900.0-rc.7
rxjs                              6.5.4
typescript                        3.6.4
webpack                           4.41.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions