![]() ![]() ![]() And these packages will work on both Debian and Ubuntu. ![]() Īll Node.js versions are listed on the above page with the Linux commands to install them. You should still purge any existing node/npm packages with sudo apt-get purge nodejs npmĪnd then go and look at the nodesource deb install page at. Following the steps in his answer, you will end up with Node version 0.10.25 - not the most recent version. However Node versions have moved ever onwards and upwards, and the versioning was complicated by the remerge of io.js. My NodeJS Version is : node_modules]$ node answer is the best one. My NPM Version is : node_modules]$ npm -version Npm ERR! /opt/node0610/lib/node_modules/npm-debug.log Npm ERR! Additional logging details can be found in: Npm ERR! message failed to fetch from registry: socket.io Npm ERR! cwd /opt/node0610/lib/node_modules Npm ERR! command "node" "/opt/node0610/bin/npm" "install" "socket.io" Npm ERR! at CleartextStream.emit (events.js:67:17) Npm ERR! at ClientRequest.emit (events.js:67:17) Npm ERR! at Request.emit (events.js:88:20) Npm ERR! at Request.callback (/opt/node0610/lib/node_modules/npm/node_modules/request/main.js:109:22) Npm ERR! at Request._callback (/opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:137:18) Npm ERR! at cb (/opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:32:9) Npm ERR! at /opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:139:12 Npm ERR! Error: failed to fetch from registry: socket.io The above command resulted to below output, it is not able to install socket.io npm http GET I can't install any node module from the npm. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |