We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fd3e14 + ca8ae3a commit 4a35dccCopy full SHA for 4a35dcc
lib/services/platform-service.ts
@@ -142,6 +142,9 @@ export class PlatformService implements IPlatformService {
142
143
// Copy app folder to native project
144
var appSourceDirectoryPath = path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME);
145
+
146
+ // Delete the destination app in order to prevent EEXIST errors when symlinks are used.
147
+ this.$fs.deleteDirectory(path.join(platformData.appDestinationDirectoryPath, constants.APP_FOLDER_NAME)).wait();
148
shell.cp("-R", appSourceDirectoryPath, platformData.appDestinationDirectoryPath);
149
150
// Copy App_Resources to project root folder
0 commit comments