File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export class PlatformService implements IPlatformService {
74
74
75
75
var downloadedPackagePath = this . $npm . install ( packageToInstall , npmOptions ) . wait ( ) ;
76
76
var frameworkDir = path . join ( downloadedPackagePath , constants . PROJECT_FRAMEWORK_FOLDER_NAME ) ;
77
+ frameworkDir = path . resolve ( frameworkDir ) ;
77
78
78
79
try {
79
80
this . addPlatformCore ( platformData , frameworkDir ) . wait ( ) ;
@@ -92,12 +93,6 @@ export class PlatformService implements IPlatformService {
92
93
platformData . platformProjectService . createProject ( platformData . projectRoot , frameworkDir ) . wait ( ) ;
93
94
var installedVersion = this . $fs . readJson ( path . join ( frameworkDir , "../" , "package.json" ) ) . wait ( ) . version ;
94
95
95
- if ( options . frameworkPath && ! options . symlink ) {
96
- // Need to remove unneeded node_modules folder
97
- // One level up is the runtime module and one above is the node_modules folder.
98
- this . $fs . deleteDirectory ( path . join ( frameworkDir , "../../" ) ) . wait ( ) ;
99
- }
100
-
101
96
platformData . platformProjectService . interpolateData ( platformData . projectRoot ) . wait ( ) ;
102
97
platformData . platformProjectService . afterCreateProject ( platformData . projectRoot ) . wait ( ) ;
103
98
You can’t perform that action at this time.
0 commit comments