[
https://issues.apache.org/jira/browse/CB-14268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580214#comment-16580214
]
jairam commented on CB-14268:
------------------------------
C:\Users\jbodapati\Desktop\Jai\dilbar>cordova create polo app.fip.co
Creating a new cordova project.
C:\Users\jbodapati\Desktop\Jai\dilbar>cd polo
C:\Users\jbodapati\Desktop\Jai\dilbar\polo>cordova platform add android
Using cordova-fetch for cordova-android@~7.0.0
(node:8316) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch
platform cordova-android@~7.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\platform\addHelper.js:312:25
at _rejected
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:797:24)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:823:30
at Promise.when
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:8316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch().
(rejection id: 1)
(node:8316) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.
C:\Users\jbodapati\Desktop\Jai\dilbar\polo>cordova platform add browser
Using cordova-fetch for cordova-browser@~5.0.1
(node:11260) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch
platform cordova-browser@~5.0.1
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\platform\addHelper.js:312:25
at _rejected
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:797:24)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:823:30
at Promise.when
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:11260) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an async function without a
catch block, or by rejecting a promise which was not handled with .catch().
(rejection id: 1)
(node:11260) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.
C:\Users\jbodapati\Desktop\Jai\dilbar\polo>cordova platform
Installed platforms:
Available platforms:
android ~7.0.0
browser ~5.0.1
ios ~4.5.4
osx ~4.0.1
windows ~5.0.0
www ^3.12.0
C:\Users\jbodapati\Desktop\Jai\dilbar\polo>cordova platform add ios --verbose
No scripts found for hook "before_platform_add".
No version supplied. Retrieving version from config.xml...
Grabbing pinned version.
Using cordova-fetch for cordova-ios@~4.5.4
saving
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install
cordova-ios@~4.5.4 --production --save""
Command finished with error code ENOENT: cmd /s /c ""C:\Program
Files\nodejs\npm.cmd" install cordova-ios@~4.5.4 --production --save"
(node:11404) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch
platform cordova-ios@~4.5.4
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\platform\addHelper.js:312:25
at _rejected
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:797:24)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:823:30
at Promise.when
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:11404) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an async function without a
catch block, or by rejecting a promise which was not handled with .catch().
(rejection id: 1)
(node:11404) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.
C:\Users\jbodapati\Desktop\Jai\dilbar\polo>cordova platform add android
--verbose
No scripts found for hook "before_platform_add".
No version supplied. Retrieving version from config.xml...
Grabbing pinned version.
Using cordova-fetch for cordova-android@~7.0.0
saving
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install
cordova-android@~7.0.0 --production --save""
Command finished with error code ENOENT: cmd /s /c ""C:\Program
Files\nodejs\npm.cmd" install cordova-android@~7.0.0 --production --save"
(node:1144) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch
platform cordova-android@~7.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\platform\addHelper.js:312:25
at _rejected
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:797:24)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:823:30
at Promise.when
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at
C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush
(C:\Users\jbodapati\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:1144) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch().
(rejection id: 1)
(node:1144) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.
> Unable to Fetch Platform browser
> --------------------------------
>
> Key: CB-14268
> URL: https://issues.apache.org/jira/browse/CB-14268
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-browser
> Reporter: jairam
> Assignee: Jan Piotrowski (Sujan)
> Priority: Major
>
> $cordova platform add browser
> Using cordova-fetch for cordova-browser@~5.0.1
> (node:3212) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch
> platform cordova-browser@~5.0.1
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: cmd: Command failed with exit code ENOENT
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]