You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Hugo des Longchamps (JIRA)" <ji...@apache.org> on 2017/10/19 15:26:01 UTC
[jira] [Resolved] (CB-13388) cordova platform add ios failing on
node v8.6
[ https://issues.apache.org/jira/browse/CB-13388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo des Longchamps resolved CB-13388.
--------------------------------------
Resolution: Fixed
> 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
> Labels: newbie
>
> 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