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 @@ -594,6 +594,8 @@ export default Task.extend({
594
594
595
595
// Update all loaders from webpack, plus postcss plugins.
596
596
[
597
+ '@angular-devkit/core' ,
598
+ '@ngtools/webpack' ,
597
599
'webpack' ,
598
600
'autoprefixer' ,
599
601
'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