sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.84k stars 136 forks source link

Install fails with "'rxjs@^6.4.0' is not in the npm registry" #401

Closed StephenCleary closed 4 years ago

StephenCleary commented 4 years ago

Just tonight, npm install -g surge started failing for me:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz
npm ERR! 404
npm ERR! 404  'rxjs@^6.4.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'inquirer'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\steph\AppData\Roaming\npm-cache\_logs\2020-04-03T01_39_36_632Z-debug.log

Looks like upstream rxjs messed something up and now surge can't install.

2020-04-03T01_39_36_632Z-debug.log

StephenCleary commented 4 years ago

And just like that it started working again. Never mind!

sintaxi commented 4 years ago

I just tested it myself and it seems to be working. Thanks for following up :)

StephenCleary commented 4 years ago

Thanks for a great tool!

If you want to check it out, I threw together a repo to show how GitHub Actions can be used to support slash-commands for pull requests. So I implemented /deploy and /teardown actions using Surge.sh to give each PR its own staging environment. Started blogging about it, too.

sintaxi commented 4 years ago

You're welcome! Thanks for sharing your repo and blog. Looks like it could be good reference material.