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 {
7272 this . removeMergedDependencies ( projectDir , templatePackageJsonData ) ;
7373 }
7474
75- const templatePackageJson = this . $fs . readJson ( path . join ( templatePath , constants . PACKAGE_JSON_FILE_NAME ) ) ;
76-
7775 // Install devDependencies and execute all scripts:
7876 await this . $npm . install ( projectDir , projectDir , {
7977 disableNpmInstall : false ,
8078 frameworkPath : null ,
8179 ignoreScripts
8280 } ) ;
8381
82+ const templatePackageJson = this . $fs . readJson ( path . join ( templatePath , constants . PACKAGE_JSON_FILE_NAME ) ) ;
83+
8484 await this . $npm . uninstall ( templatePackageJson . name , { save : true } , projectDir ) ;
8585 if ( templateVersion === constants . TemplateVersions . v2 ) {
8686 this . alterPackageJsonData ( projectDir , appId ) ;
You can’t perform that action at this time.
0 commit comments