cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-10681) Fetching a template when a older version exists in npm cache causes error
Date Mon, 01 May 2017 13:07:04 GMT


ASF subversion and git services commented on CB-10681:

Commit 393118f9009c2931a23a528bac73b5e35aab2c52 in cordova-create's branch refs/heads/master
from [~stevegill]
[;h=393118f ]

CB-10681: templates will add @latest when fetching from npm when no version is specified.
This will ensure an older cahced version of the template is not used

> Fetching a template when a older version exists in npm cache causes error
> -------------------------------------------------------------------------
>                 Key: CB-10681
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Steve Gill
>            Assignee: 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 ->
and returned back to the `create.js` module
from the `npmFetch()`.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message