Adaptt's superior backing system with pressure-sensitive adhesive is approved for application up to 95% RH. See installation instructions for details.
Hi all, just downloaded npm and tried to install adapt-cli. I am using Ubuntu 12.04 LTS. This is what I get $ npm install adapt-cli -g npm http GET npm ERR!
Error: failed to fetch from registry: adapt-cli 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! (/usr/lib/nodejs/request/main.js:212:58) npm ERR! At Request.emit (events.js:88:20) npm ERR! At ClientRequest. (/usr/lib/nodejs/request/main.js:412:12) npm ERR! At ClientRequest.emit (events.js:67:17) npm ERR!
At HTTPParser.onIncoming (http.js:1261:11) npm ERR! At HTTPParser.onHeadersComplete (http.js:102:31) npm ERR! You may report this log at: npm ERR! Or use npm ERR!
Reportbug -attach /home/luca/npm-debug.log npm npm ERR! System Linux 3.13.0-32-generic npm ERR! Command 'node' '/usr/bin/npm' 'install' 'adapt-cli' '-g' npm ERR! Cwd /home/luca npm ERR! Node -v v0.6.12 npm ERR!
Npm -v 1.1.4 npm ERR! Message failed to fetch from registry: adapt-cli npm ERR! Additional logging details can be found in: npm ERR! /home/luca/npm-debug.log npm not ok Any clue? Also see attached npm-debug.log Thank you, Luca.
Hi Luca, Yes. Unfortunately Ubuntu 12.04's npm and nodejs installs haven't been updated in a while.
I faced the same issue once and had to do the same commands you mention. However, following a move to Ubuntu 14.04 (which is nicely kept up to date) everything installs right out of the box as per the adapt learning install instructions without error. Depending on your security (my ubuntu install is just for my personal dev work), you may wish to run chmod (i like a nice destructive approach of 777!) both across npm and grunt to avoid typing sudo. Depending on where in your directory structure you build your course, Grunt writes files and can be blocked without a user-friendly error (hinting you need to use sudo) this has caught me 1-2 times. All the best, Wes.