ParinVachhani / FoodToGo

FoodToGo NodeJS-based Website
2 stars 0 forks source link

"npm install" fails due to "sparkling-sky" package #3

Closed ParinVachhani closed 8 years ago

ParinVachhani commented 8 years ago

Fails because sparkling-sky does not exist npm package registry: http 404 https://registry.npmjs.org/sparkling-sky

ParinVachhani commented 8 years ago

First we had to publish our project to npm using "npm publish" https://docs.npmjs.com/getting-started/publishing-npm-packages Another helpful link for common npm issues: https://github.com/npm/npm/wiki/Troubleshooting

suhasdarsi commented 8 years ago

To fix the path issue use this sudo ln -s /usr/bin/nodejs /usr/bin/node

Link to the article http://www.hostingadvice.com/how-to/install-nodejs-ubuntu-14-04/

ParinVachhani commented 8 years ago

Stackoverflow thread regarding similar issue: http://stackoverflow.com/questions/26320901/cannot-install-nodejs-usr-bin-env-node-no-such-file-or-directory

Other links explaining this issue in context of Debian & it's derivatives: https://github.com/nodejs/node-v0.x-archive/issues/3911 https://github.com/atom/atom/issues/2025