Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4400

can't build from some "www" subdirs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • None
    • cordova-cli
    • 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$

      Attachments

        Activity

          People

            kamrik Mark Koudritsky
            sierra Michael Sierra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: