hi there,
when i try to make android app with use ionic,
first i must install cordova on my machine linux (kernel 64 bit) but i get the error
whatever it not installed, then i try wiht command on my terminal :
success, i didn't get error the error.
when i try to make android app with use ionic,
first i must install cordova on my machine linux (kernel 64 bit) but i get the error
npm ERR! Error: failed to fetch from registry: cordovai don't know, what is this ? bug ?
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.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest.<anonymous> (/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! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/ice/Desktop/node-v0.12.4/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.12.5-031205-generic
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "cordova"
npm ERR! cwd /home/ice/Desktop/node-v0.12.4
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: cordova
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ice/Desktop/node-v0.12.4/npm-debug.log
npm not ok
whatever it not installed, then i try wiht command on my terminal :
npm config set registry http://registry.npmjs.org/oh, OMG !!??
success, i didn't get error the error.
if you get an error, try this :
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
0 comments:
Post a Comment