-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Description
A clear and concise description of the problem...ng build --prod gives a createWebpack(...).pipe
error when trying to build after: ng update @angular/cli @angular/core --force
. Serving the project works perfectly fine.
🔬 Minimal Reproduction
ng build --prod
🔥 Exception or Error
[error] TypeError: createWebpack(...).pipe is not a function
at Object.runWebpack (/Users/dom/Projects/fe/node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:20:34)
at SwitchMapSubscriber.project (/Users/dom/Projects/fe/node_modules/@angular-devkit/build-angular/src/browser/index.js:128:32)
at SwitchMapSubscriber._next (/Users/dom/Projects/fe/node_modules/rxjs/internal/operators/switchMap.js:49:27)
at SwitchMapSubscriber.Subscriber.next (/Users/dom/Projects/fe/node_modules/rxjs/internal/Subscriber.js:66:18)
at /Users/dom/Projects/fe/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24
🌍 Your Environment
Angular CLI: 9.0.0-rc.4
Node: 12.13.1
OS: darwin x64
Angular: 9.0.0-rc.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.803.14
@angular-devkit/build-angular 0.900.0-rc.4
@angular-devkit/build-optimizer 0.900.0-rc.4
@angular-devkit/build-webpack 0.900.0-rc.4
@angular-devkit/core 8.3.14
@angular-devkit/schematics 8.3.14
@angular/cdk 8.2.3
@angular/flex-layout 8.0.0-beta.27
@angular/material 8.2.3
@ngtools/webpack 9.0.0-rc.4
@nguniversal/common 8.1.1
@nguniversal/express-engine 8.1.1
@schematics/angular 8.3.14
@schematics/update 0.900.0-rc.4
rxjs 6.5.3
typescript 3.6.4
webpack 4.41.2
I'm not sure if you have enough to debug here. Didn't find any related issue so am creating this with all the info I have. I can debug further with some guidance.