Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.1
-
None
-
None
Description
Repro steps:
mkdir “R&D” cordova create testapp cd testapp cordova platform add windows
Expected:
Platform added successfully
Actual:
The following error is thrown:
D:\Projects\R&D\test>cordova platform add windows Adding windows project... Failed to create project due to Project directory already exists: D:\Projects\R The system cannot find the path specified. Error: C:\Users\toddmosc\.cordova\lib\npm_cache\cordova-windows\3.8.1\package\bin\create.bat: Command failed with exit code 1 at ChildProcess.whenDone (C:\Users\toddmosc\AppData\Roaming\npm\node_modules \vs-tac\node_modules\cordova\5.0.0\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Process.ChildProcess._handle.onexit (child_process.js:1087:5)