[ https://issues.apache.org/jira/browse/CB-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Koudritsky resolved CB-4400. --------------------------------- Resolution: Fixed > 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 was sent by Atlassian JIRA (v6.1#6144)