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

After failed install of iOS, you get "stuck" with a path error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      OSX

      Description

      me:~/Documents/code/rlaw$ /usr/local/share/npm/bin/cordova platform add ios
      [Error: An error occured during creation of ios sub-project. /bin/sh: /Users/me/.cordova/lib/ios/cordova/3.0.0/bin/create: No such file or directory

      What happened:
      I tried to install "cordova platform add ios android"
      and I didn't have the android path configured, so the installer bailed.
      But instead of "finishing" the ios install, it left it in a strange state.
      Instead of "~/.cordova/lib/ios/cordova/3.0.0"
      it had "~/.cordova/lib/ios/cordova/3.0.0-@someotherstuff"

      Workaround: I deleted ~/.cordova/lib/ios and re-installed.

        Attachments

          Activity

            People

            • Assignee:
              shepheb Braden Shepherdson
              Reporter:
              benjaminhill Benjamin Hill
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: