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

Failed to fetch cordova-ios 4.4.0

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • cordova@7.0.0
    • None
    • cordova-fetch
    • MacOS Sierra
      Cordova 7.0 - iOS App


      Hey all,

      i'm not able to add the iOS-Platform on my App-Project which didn't make any Problems with Cordova 6.5.

      Im always getting the Error below:

      Error: Failed to fetch platform cordova-ios@~4.4.0
      Probably this is either a connection problem, or platform spec is incorrect.
      Check your connection and platform name/version/URL.
      Error: npm: Command failed with exit code 254 Error output:
      npm WARN enoent ENOENT: no such file or directory, open '/Users/alfons/Desktop/sales_app_prod/package.json'
      npm WARN sales_app_prod No description
      npm WARN sales_app_prod No repository field.
      npm WARN sales_app_prod No README data
      npm WARN sales_app_prod No license field.
      npm ERR! Darwin 16.6.0
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "cordova-ios@~4.4.0" "--save"
      npm ERR! node v6.2.2
      npm ERR! npm  v3.9.5
      npm ERR! path /Users/alfons/Desktop/sales_app_prod/node_modules/.staging/xml-escape-0c2ef147
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall rename
      npm ERR! enoent ENOENT: no such file or directory, rename '/Users/alfons/Desktop/sales_app_prod/node_modules/.staging/xml-escape-0c2ef147' -> '/Users/alfons/Desktop/sales_app_prod/node_modules/cordova-ios/node_modules/xml-escape'
      npm ERR! enoent ENOENT: no such file or directory, rename '/Users/alfons/Desktop/sales_app_prod/node_modules/.staging/xml-escape-0c2ef147' -> '/Users/alfons/Desktop/sales_app_prod/node_modules/cordova-ios/node_modules/xml-escape'
      npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent 
      npm ERR! Please include the following file with any support request:
      npm ERR!     /Users/alfons/Desktop/sales_app_prod/node_modules/npm-debug.log

      My you please help me?

      Thank you verry much!!


        1. npm-debug.log
          163 kB
          Thorsten Peters


          This comment will be Viewable by All Users Viewable by All Users


            shazron Shazron Abdullah
            faithless Thorsten Peters
            0 Vote for this issue
            4 Start watching this issue




                Issue deployment