You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/09/08 10:16:00 UTC
[jira] [Updated] (CB-13254) node 4 with cordova-cli causes platform
add issues
[ https://issues.apache.org/jira/browse/CB-13254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-13254:
----------------------------------
Description:
From [~jcesarmobile] in dev@:
{code}
I'm trying to do cordova platform add
https://github.com/apache/cordova-ios#4.5.0 and getting this error
Using CLI 7.0.1:
cordova platform add https://github.com/apache/cordova-ios#4.5.0
Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
Adding ios project...
Using this version of Cordova with older version of cordova-ios is
deprecated. Upgrade to cordova-ios@4.0.0 or newer.
Error: Your ios platform does not have Api.js
Using nightly CLI:
cordova platform add https://github.com/apache/cordova-ios#4.5.0
Warning: using prerelease version 7.0.2-nightly.2017.9.7.596da5df
(cordova-lib@7.0.2-nightly.2017.9.7.6f5be6a7)
Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
Adding ios project...
Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
Error: Uncaught, unspecified "error" event. (The platform "ios" does not
appear to be a valid cordova platform. It is missing API.js. ios not
supported.)
node -v
v4.4.7
npm -v
2.15.8
{code}
was:
From [~jcesarmobile] in dev@:
{code}
'm trying to do cordova platform add
https://github.com/apache/cordova-ios#4.5.0 and getting this error
Using CLI 7.0.1:
cordova platform add https://github.com/apache/cordova-ios#4.5.0
Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
Adding ios project...
Using this version of Cordova with older version of cordova-ios is
deprecated. Upgrade to cordova-ios@4.0.0 or newer.
Error: Your ios platform does not have Api.js
Using nightly CLI:
cordova platform add https://github.com/apache/cordova-ios#4.5.0
Warning: using prerelease version 7.0.2-nightly.2017.9.7.596da5df
(cordova-lib@7.0.2-nightly.2017.9.7.6f5be6a7)
Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
Adding ios project...
Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
Error: Uncaught, unspecified "error" event. (The platform "ios" does not
appear to be a valid cordova platform. It is missing API.js. ios not
supported.)
node -v
v4.4.7
npm -v
2.15.8
{code}
> node 4 with cordova-cli causes platform add issues
> --------------------------------------------------
>
> Key: CB-13254
> URL: https://issues.apache.org/jira/browse/CB-13254
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Reporter: Shazron Abdullah
>
> From [~jcesarmobile] in dev@:
> {code}
> I'm trying to do cordova platform add
> https://github.com/apache/cordova-ios#4.5.0 and getting this error
> Using CLI 7.0.1:
> cordova platform add https://github.com/apache/cordova-ios#4.5.0
> Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
> Adding ios project...
> Using this version of Cordova with older version of cordova-ios is
> deprecated. Upgrade to cordova-ios@4.0.0 or newer.
> Error: Your ios platform does not have Api.js
> Using nightly CLI:
> cordova platform add https://github.com/apache/cordova-ios#4.5.0
> Warning: using prerelease version 7.0.2-nightly.2017.9.7.596da5df
> (cordova-lib@7.0.2-nightly.2017.9.7.6f5be6a7)
> Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0
> Adding ios project...
> Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
> Error: Uncaught, unspecified "error" event. (The platform "ios" does not
> appear to be a valid cordova platform. It is missing API.js. ios not
> supported.)
> node -v
> v4.4.7
> npm -v
> 2.15.8
> {code}
--
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