You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Natalia Bartol (JIRA)" <ji...@apache.org> on 2013/10/28 18:06:49 UTC
[jira] [Created] (CB-5209) Win: Cannot build Android app if project
path contains spaces
Natalia Bartol created CB-5209:
----------------------------------
Summary: Win: Cannot build Android app if project path contains spaces
Key: CB-5209
URL: https://issues.apache.org/jira/browse/CB-5209
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.1.0
Environment: Windows 7 64 bit
Reporter: Natalia Bartol
Create your project in a location that contains space, i.e.
'C:\Users\natalia.b\my test workspace'
Try to build Android app.
You'll get an error:
...
Compiling platform "android" with command "":\Users\natalia.b\my test workspace\m\platforms\android\cordova\build"" (output to follow)...
module.js:340
throw err;
^
Error: Cannot find module ':\Users\natalia.b\my'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
Error: An error occurred while building the android project.
module.js:340
throw err;
^
Error: Cannot find module 'C:\Users\natalia.b\my'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
at C:\Users\natalia.b\.zend\cordova\nodejs\node_modules\cordova\src\compile.js:34:23
at C:\Users\natalia.b\.zend\cordova\nodejs\node_modules\cordova\node_modules\shelljs\shell.js:1707:7
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
--
This message was sent by Atlassian JIRA
(v6.1#6144)