Vladimir Kotikov created CB-9073: ------------------------------------ Summary: Cordova fails to build/add Android/Windows platform to project when root folder contains "&" Key: CB-9073 URL: https://issues.apache.org/jira/browse/CB-9073 Project: Apache Cordova Issue Type: Bug Components: Android, CordovaLib, Windows Affects Versions: 5.0.1 Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov
*Repro steps:* {noformat} mkdir “R&D” cordova create testapp cd testapp cordova platform add windows {noformat} *Expected:* Platform added successfully *Actual:* The following error is thrown: {noformat} 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) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org