cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo des Longchamps (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13388) cordova platform add ios failing on node v8.6
Date Wed, 04 Oct 2017 08:58:01 GMT
Hugo des Longchamps created CB-13388:
----------------------------------------

             Summary: cordova platform add ios failing on node v8.6
                 Key: CB-13388
                 URL: https://issues.apache.org/jira/browse/CB-13388
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: 7.0.1
         Environment: Node v8.6.0
            Reporter: Hugo des Longchamps
            Assignee: Suraj Pindoria
            Priority: Blocker


When I run:

cordova platform rm ios && cordova platform add ios I get the following error in the
console:

platform add ios --save
✖ Running command - failed!
[ERROR] Exception: 

        You have been opted out of telemetry. To change this, run: cordova telemetry on.
        WARNING: Applications for platform ios can not be built on this OS - linux.
        Using cordova-fetch for cordova-ios@~4.4.0
        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 info it worked if it ends with ok
        npm info using npm@5.3.0
        npm info using node@v8.6.0
        npm http fetch GET 304 https://registry.npmjs.org/cordova-ios 213ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/cordova-ios/-/cordova-ios-4.4.0.tgz
1044ms
        npm http fetch GET 304 https://registry.npmjs.org/xcode 449ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/pegjs 6ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/simple-plist 6ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/uuid 6ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/bplist-creator 4ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/plist 3ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/stream-buffers 2ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/base64-js 4ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/xmlbuilder 5ms (from cache)
        npm http fetch GET 200 https://registry.npmjs.org/fsevents 4ms (from cache)
        npm ERR! path /app/node_modules/cordova-android/node_modules/abbrev
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! syscall rename
        npm ERR! enoent ENOENT: no such file or directory, rename '/app/node_modules/cordova-android/node_modules/abbrev'
-> '/app/node_modules/cordova-android/node_modules/.abbrev.DELETE'
        npm ERR! enoent This is related to npm not being able to find a file.
        npm ERR! enoent 
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2017-10-04T08_27_28_767Z-debug.log
        
The command '/bin/sh -c node_modules/.bin/ionic cordova platform add ios --no-interactive'
returned a non-zero code: 1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message