Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.1.0
-
None
-
Windows 7 64 bit
Description
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)
Attachments
Issue Links
- is related to
-
CB-4914 Cordova CLI cannot build Android project when the path contains spaces
- Closed