BootstrapBlocks
BootstrapBlocks copied to clipboard
ERR! message failed to fetch from registry: grunt-contrib-jshint
I am having problems after doing a npm install.
npm ERR! Error: failed to fetch from registry: grunt-contrib-jshint
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request.
Interesting, I just ran an npm install with this package.json file and everything seems to be working. The repo could have possibly been down, try running it again and see what it tells you. :)
Tried npm install again., couldn't suceed...
node version -v0.6.12 npm version -1.1.4
Do I have to downgrade?
I'm running Node v0.11.5-pre, and npm 1.3.4. I tested down to the latest stable releases (Node v0.10.25 and npm 1.3.26).
Perhaps try upgrading node and npm?
npm update npm -g
If you need that specific version of node for a project, you can use the n module
sudo npm install n -g
sudo n stable //use latest stable release of node
That will allow you to use the current stable version of node, and switch to an older version if you need too by just running sudo n versionnumber
.
I am having the same problem - here is my output -PLEASE HELP-
thanks in advance-
ubuntu@ip-10-80-95-184:/var/www/insight$ node -v v0.6.12 ubuntu@ip-10-80-95-184:/var/www/insight$ npm -v 1.1.4 ubuntu@ip-10-80-95-184:/var/www/insight$ sudo npm install npm http GET https://registry.npmjs.org/insight-bitcore-api npm http GET https://registry.npmjs.org/bower npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/grunt-cli npm http GET https://registry.npmjs.org/grunt-contrib-jshint npm http GET https://registry.npmjs.org/grunt-contrib-concat npm http GET https://registry.npmjs.org/grunt-contrib-uglify npm http GET https://registry.npmjs.org/grunt-contrib-watch npm http GET https://registry.npmjs.org/grunt-macreload npm http GET https://registry.npmjs.org/grunt-css npm http GET https://registry.npmjs.org/grunt-markdown
npm ERR! Error: failed to fetch from registry: grunt
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request.
@gatomalo See the comment directly above yours. I think there may be bugs with some of the package dependencies that BootstrapBlocks has with node < 0.10.0 and older versions of npm.
Perhaps try upgrading node and npm?
npm update npm -g
If you need that specific version of node for a project, you can use the n module
npm install n -g
n stable //use latest stable release of node
That will allow you to use the current stable version of node, and switch to an older version if you need too by just running n versionnumber
.