cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chase (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8154) Unable to add new versions of platforms or plugins
Date Fri, 12 Dec 2014 16:46:13 GMT

     [ https://issues.apache.org/jira/browse/CB-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Chase updated CB-8154:
----------------------------
    Component/s: CordovaLib

> Unable to add new versions of platforms or plugins
> --------------------------------------------------
>
>                 Key: CB-8154
>                 URL: https://issues.apache.org/jira/browse/CB-8154
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, CordovaLib
>    Affects Versions: Master
>            Reporter: Jason Chase
>            Assignee: Jason Chase
>
> Adding a platform or plugin from the registry will fail if the package was not previously
downloaded/cached on the machine.
> *Steps to recreate:*
> - Delete the contents of ~/.plugman
> - Add a new plugin to an existing cordova app, cordova plugin add <plugin id>
> OR
> - Delete the contents of ~/.cordova/lib/npm_cache
> - Create a new cordova app
> - Add a platform to the app, e.g. cordova platform add android
> *Examples of the errors:*
> 10387@ 11:15 AM:~/dev/myapps/web-notifications$ cordova platform add android
> Creating android project...
> Error: ENOENT, no such file or directory '/Users/chasej/.cordova/lib/npm_cache/cordova-android/3.6.4/package/VERSION'
>     at Object.fs.openSync (fs.js:432:18)
>     at Object.fs.readFileSync (fs.js:289:15)
>     at call_into_create (/Users/chasej/git/cordova/cordova-lib/cordova-lib/src/cordova/platform.js:447:30)
>     at /Users/chasej/git/cordova/cordova-lib/cordova-lib/src/cordova/platform.js:128:24
>     at _fulfilled (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:787:54)
>     at self.promiseDispatch.done (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:816:30)
>     at Promise.promise.promiseDispatch (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:749:13)
>     at /Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
>     at flush (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
>     at process._tickCallback (node.js:419:13)
> 10397@ 01:31 PM:~/dev/myapps/web-notifications$ cordova plugin add org.apache.cordova.inappbrowser
> Fetching plugin "org.apache.cordova.inappbrowser" via plugin registry
> Error: Could not find plugin info in /Users/chasej/.plugman/cache/org.apache.cordova.inappbrowser/0.5.4/package
>     at new PluginInfo (/Users/chasej/git/cordova/cordova-lib/cordova-lib/src/PluginInfo.js:229:15)
>     at copyPlugin (/Users/chasej/git/cordova/cordova-lib/cordova-lib/src/plugman/fetch.js:249:17)
>     at /Users/chasej/git/cordova/cordova-lib/cordova-lib/src/plugman/fetch.js:150:20
>     at _fulfilled (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:787:54)
>     at self.promiseDispatch.done (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:816:30)
>     at Promise.promise.promiseDispatch (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:749:13)
>     at /Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
>     at flush (/Users/chasej/git/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message