[TIMOB-15658] CLI: Create backup mechanism for installing Node.js packages when NPM registry is down
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | qe-3.2.0 |
Reporter | Wilson Luu |
Assignee | Chris Barber |
Created | 2013-11-04T21:44:50.000+0000 |
Updated | 2015-04-13T20:10:07.000+0000 |
Description
*Details:* Cannot install Ti CLI because NPM registry is down.
*Even though this is not our bug, will file to keep track.*
*Steps to reproduce:*
1. Run the following command from terminal:
sudo npm install -g git://github.com/appcelerator/titanium
*Actual:* 500 error code will be returned when trying to fetch some of the 3rd party NPM packages (see npm.log)
Attachments
File | Date | Size |
---|---|---|
npm.log | 2013-11-04T21:45:56.000+0000 | 4888 |
It would be nice if Appc had a backup registry mirror, yes.
Maybe this is a good reason for Appc to roll out their own package management system?
Registry should be up now: http://stats.pingdom.com/d50hxzpzk7x4/650599
I think that this ticket should be renamed to "Cannot install Ti CLI **when** NPM registry is down", reopened, and reevaluated. Both my and Chris's suggestions would be a great solution. Marking that the third-party website is now back up wasn't really the spirit of this ticket :)
The sum of my reasoning is this... If installing the titanium toolkit is dependent on a 3rd-party service for which Appcelerator has no SLA, it probably isn't the best situation.
That's fair. I believed there was another ticket that captured that idea which is why I resolved this. Instead, I've reopened this and moved it to a feature.