File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/@angular/cli/tasks Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -582,6 +582,8 @@ export default Task.extend({
582
582
583
583
// Update all loaders from webpack, plus postcss plugins.
584
584
[
585
+ '@angular-devkit/core' ,
586
+ '@ngtools/webpack' ,
585
587
'webpack' ,
586
588
'autoprefixer' ,
587
589
'css-loader' ,
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ export function ng(...args: string[]) {
178
178
. then ( ( ) => {
179
179
if ( ! npmInstalledEject ) {
180
180
npmInstalledEject = true ;
181
- // We need to run npm install on the first eject.
182
- return silentNpm ( 'install' ) ;
181
+ // We need to delete node_modules, then run npm install on the first eject.
182
+ return rimraf ( 'node_modules' ) . then ( ( ) => silentNpm ( 'install' ) ) ;
183
183
}
184
184
} )
185
185
. then ( ( ) => rimraf ( 'dist' ) )
You can’t perform that action at this time.
0 commit comments