File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,15 @@ export class ProjectService implements IProjectService {
72
72
this . removeMergedDependencies ( projectDir , templatePackageJsonData ) ;
73
73
}
74
74
75
- const templatePackageJson = this . $fs . readJson ( path . join ( templatePath , constants . PACKAGE_JSON_FILE_NAME ) ) ;
76
-
77
75
// Install devDependencies and execute all scripts:
78
76
await this . $npm . install ( projectDir , projectDir , {
79
77
disableNpmInstall : false ,
80
78
frameworkPath : null ,
81
79
ignoreScripts
82
80
} ) ;
83
81
82
+ const templatePackageJson = this . $fs . readJson ( path . join ( templatePath , constants . PACKAGE_JSON_FILE_NAME ) ) ;
83
+
84
84
await this . $npm . uninstall ( templatePackageJson . name , { save : true } , projectDir ) ;
85
85
if ( templateVersion === constants . TemplateVersions . v2 ) {
86
86
this . alterPackageJsonData ( projectDir , appId ) ;
You can’t perform that action at this time.
0 commit comments