Yep I meant [email protected], sorry for the mistake. Deleting the cache ~/.cordova/lib/npm_cache works for me ! Thx.
On Thu, Mar 3, 2016 at 6:57 PM, Carlos Santana <[email protected]> wrote: > Like I said it depends of the cache timeout > > I also used latest and I got 4.0.1 not 4.1.0, because the .cache.json > lastest=4.0.1 and already had it in downloaded in the cache. > > > On Thu, Mar 3, 2016 at 12:44 PM julio cesar sanchez < > [email protected]> > wrote: > > > I got 4.1.0 using @latest > > > > 2016-03-03 18:22 GMT+01:00 Carlos Santana <[email protected]>: > > > > > Filed a bug [1] > > > > > > Take into account that in future we will be using external npm in > Cordova > > > CLI, and not have our own copy of the npm cache. > > > > > > https://issues.apache.org/jira/browse/CB-10770 > > > > > > > > > I guess for now we can wait 24 hours, before tweeting/blog until bug is > > > fix. > > > > > > > > > > > > On Thu, Mar 3, 2016 at 12:06 PM Carlos Santana <[email protected]> > > > wrote: > > > > > > > I took a quick look, I have a guess on what's going on > > > > > > > > People should just wait 24 hours and try again, or use platform add > by > > > > path or git > > > > Or delete the cache ~/.cordova/lib/npm_cache > > > > > > > > We configure the npm cache config [1] with cache-min = 3600 *24, > > meaning > > > > 24 hours > > > > if .cache.json [2] is not older than 24 hours npm will not try the > > > network > > > > > > > > Also I think there is bug since there is no catch/fail when calling > npm > > > > cache add > > > > > > > > [1]: > > > > > > > > > > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/lazy_load.js#L153 > > > > [2]: ~/.cordova/lib/npm_cache/ > > registry.npmjs.org/cordova-ios/.cache.json > > > > [3]: > > > > > > > > > > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/lazy_load.js#L158 > > > > > > > > > > > > On Thu, Mar 3, 2016 at 11:32 AM So, Byoungro <[email protected]> > > > > wrote: > > > > > > > >> Alexis, > > > >> [email protected] does not exist. > > > >> You can find the available versions here. > > > >> https://github.com/apache/cordova-ios/releases > > > >> If you need the latest Android version, do the following: > > > >> cordova platform add [email protected] > > > >> > > > >> Zarko, > > > >> I have no issue with adding [email protected]. > > > >> You may want to check your connection and proxy configuration. > > > >> NPM registry could be down temporarily. > > > >> > > > >> Byoungro So > > > >> SSG / DPD / Mobile Computing and Compilers > > > >> Intel Corporation > > > >> > > > >> From: "Pridham, Marcus" <[email protected]<mailto: > > > >> [email protected]>> > > > >> Reply-To: "[email protected]<mailto:[email protected]>" < > > > >> [email protected]<mailto:[email protected]>> > > > >> Date: Thursday, March 3, 2016 at 7:19 AM > > > >> To: "[email protected]<mailto:[email protected]>" < > > > >> [email protected]<mailto:[email protected]>> > > > >> Subject: Re: Cannot add/find cordova-ios 4.1.0 > > > >> > > > >> Deleting the ~/.cordova folder fixes the issue for me. > > > >> > > > >> > > > >> > > > >> > > > >> On 3/3/16, 4:56 AM, "Alexis Kofman" <[email protected] > <mailto: > > > >> [email protected]>> wrote: > > > >> > > > >> Hello guys ! > > > >> > > > >> Same here with the last Android version : > > > >> > > > >> $ cordova platform add [email protected]<mailto:[email protected]> > > > >> Error: Failed to fetch platform [email protected]<mailto:[email protected]> > > > >> Probably this is either a connection problem, or platform spec is > > > >> incorrect. > > > >> Check your connection and platform name/version/URL. > > > >> Error: version not found: [email protected]<mailto: > [email protected]> > > > >> > > > >> > > > >> > > > >> On Thu, Mar 3, 2016 at 10:45 AM, Zarko Hristovski <[email protected] > > > >> <mailto:[email protected]>> wrote: > > > >> > > > >> Using cordova 6.0.0 > > > >> > > > >> cordova create test_ios && cd test_ios && cordova platform add > > [email protected] > > > >> <mailto:[email protected]> > > > >> > > > >> yields > > > >> > > > >> Creating a new cordova project. > > > >> Error: Failed to fetch platform [email protected]<mailto:[email protected]> > > > >> Probably this is either a connection problem, or platform spec is > > > >> incorrect. > > > >> Check your connection and platform name/version/URL. > > > >> Error: version not found: [email protected]<mailto: > [email protected]> > > > >> > > > >> > > > >> I thought cordova-ios 4.1.0 was released!? > > > >> > > > >> https://www.npmjs.com/package/cordova-ios > > > >> > > > >> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: [email protected]<mailto: > > > >> [email protected]> > > > >> For additional commands, e-mail: [email protected] > <mailto: > > > >> [email protected]> > > > >> > > > >> > > > >> > > > >> > > > >> -- > > > >> Alexis Kofman > > > >> > > > >> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: [email protected] > > > >> For additional commands, e-mail: [email protected] > > > >> > > > > > > > > > > -- Alexis Kofman
