[ https://issues.apache.org/jira/browse/CB-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve updated CB-4400: ------------------------------ Assignee: Mark Koudritsky (was: Filip Maj) > 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: Mark Koudritsky > 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