Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
-
None
-
Mac
Description
With various platforms installed, run "cordova build" from platforms/ios/www. Fails, but OK to run cmd from elsewhere. Output:
Ulothrix:ios sierra$ pwd
/Users/sierra/sandbox/pg/hello/platforms/ios
Ulothrix:ios sierra$ cd www
Ulothrix:www sierra$ cordova platforms
[ 'android', 'blackberry10', 'ios' ]
Ulothrix:www sierra$ cordova build
[Error: An error occurred while building the blackberry10 project. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
node.js:810
var cwd = process.cwd();
^
Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:810:23)
at startup (node.js:58:13)
at node.js:901:3
]
Ulothrix:www sierra$ cd ..
Ulothrix:ios sierra$ cordova build
Ulothrix:ios sierra$