You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mike Sierra (JIRA)" <ji...@apache.org> on 2013/07/25 20:17:49 UTC
[jira] [Created] (CB-4400) can't build from some "www" subdirs
Mike Sierra created CB-4400:
-------------------------------
Summary: can't build from some "www" subdirs
Key: CB-4400
URL: https://issues.apache.org/jira/browse/CB-4400
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Affects Versions: 3.0.0
Environment: Mac
Reporter: Mike Sierra
Assignee: Filip Maj
Priority: Minor
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$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira