You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/02/29 20:00:19 UTC
[jira] [Updated] (CB-10681) Fetching a template when a older
version exists in npm cache causes error
[ https://issues.apache.org/jira/browse/CB-10681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Khandelwal updated CB-10681:
-----------------------------------
Labels: cordova-fetch triaged (was: cordova-fetch)
> Fetching a template when a older version exists in npm cache causes error
> -------------------------------------------------------------------------
>
> Key: CB-10681
> URL: https://issues.apache.org/jira/browse/CB-10681
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: 6.0.0
> Reporter: Steve Gill
> Labels: cordova-fetch, triaged
> Fix For: 6.1.0
>
>
> Message from Holly
> Hey Steve, I know you're not there now but when you have a second, I wanted to see if you could try to create a template with the F7 template thru cordova or phonegap (or both) and let me know if it works ok. I had republished it to npm yesterday but had a previous version in my local npm cache and it was throwing an error when creating the template. I deleted that `npm_cache` folder in `~/.cordova/lib` then it worked ok. The error I got before that was `Error: Failed to retrieve phonegap-template-framework7 from NPM.` It's thrown as a result of the `npmAddCache()` method -> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/remote_load.js#L64 and returned back to the `create.js` module https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/create.js#L213 from the `npmFetch()`.
--
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