Installing Cordova CLI using npm on windows xp - node.js

I am getting the following errors while installing cordova CLI using npm tool from cmd.
npm install -f -g cordova
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Error: connect EAFNOSUPPORT
npm ERR! at errnoException (net.js:904:11)
npm ERR! at connect (net.js:766:19)
npm ERR! at net.js:845:9
npm ERR! at asyncCallback (dns.js:68:16)
npm ERR! at Object.onanswer [as oncomplete] (dns.js:121:9)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 5.1.2600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-f" "-g" "cordova"
npm ERR! cwd C:\Documents and Settings\AmarJyotiG
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! syscall connect
npm ERR! code EAFNOSUPPORT
npm ERR! errno EAFNOSUPPORT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Documents and Settings\AmarJyotiG\npm-debug.log
npm ERR! not ok code 0
I am relatively very new to using cordova. Any help !

Related

Having an issue installing jitsi-meet?

I am facing a problem with Installing jitsi-meet , I have followed the instruction that you can find in this page [ my system is ubuntu 14.04]
https://github.com/jitsi/jitsi-meet
and when I executed the npm install I had this stack trace :
npm http 404 https://registry.npmjs.org/jitsi-meet-logger
npm ERR! TypeError: Object.keys called on non-object
npm ERR! at Function.keys (native)
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:708:24)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR! System Linux 4.4.0-31-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /videochat/jitsi-meet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type called_on_non_object
npm http 404 https://registry.npmjs.org/jQuery-Impromptu
npm ERR! TypeError: Object.keys called on non-object
npm ERR! at Function.keys (native)
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:708:24)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR! System Linux 4.4.0-31-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /videochat/jitsi-meet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type called_on_non_object
and it got stuck , is there anyother way to install jitsi-meet and make it working ??
Regards,
The Node and npm versions you're using are way too old. In order to build Jitsi Meet you need at least Node 6 and npm 3: https://github.com/jitsi/jitsi-meet#building-the-sources
Latest Jitsi works on node lts version. If you using an ubuntu environment then you have to install n and after that, you can easily change your node enviroment.
Visit :- https://github.com/tj/n

nodejs npm package install failed

I am new to nodejs, and I have just installed it in my Windows 7 PC. The next thing I try to do is to install express.js package via npm npm install express --save, and I got following error messages
npm ERR! fetch failed http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.6.tgz
npm ERR! Error: 403 Forbidden
npm ERR! at WriteStream.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\fetch.js:58:12)
npm ERR! at WriteStream.emit (events.js:117:20)
npm ERR! at evalmachine.<anonymous>:1610:14
npm ERR! at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:102:5
npm ERR! at Object.oncomplete (evalmachine.<anonymous>:108:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express" "--save"
npm ERR! cwd C:\temp\NodeJS_POC
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! not ok code 0
Anybody knows why?
It turns to be our proxy server actually blocks http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.6.tgz

phonegap npm install error

I was installing phone gap.
In phone gap website its shows the commands and instructions.
I installed nodejs and executed the commands.
But resulted in error.
I tried
Node.js NPM error when installing PhoneGap on Windows 8
Can u give a step by step instruction ?
I have downloaded phonegap.zip
where do i place this ?
C:\Program Files\nodejs>npm install -g phonegap
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:\Program Files\nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ENOGIT
npm ERR! Error: EPERM, open 'C:\Program Files\nodejs\npm-debug.log'
npm ERR! { [Error: EPERM, open 'C:\Program Files\nodejs\npm-debug.log']
npm ERR! errno: 50,
npm ERR! code: 'EPERM',
npm ERR! path: 'C:\\Program Files\\nodejs\\npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:\Program Files\nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\Program Files\nodejs\npm-debug.log
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'C:\Program Files\nodejs\npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Program Files\nodejs\npm-debug.log
npm ERR! not ok code 0
I installed GIT and it worked!

Error install grunt-cli using npm

I am getting the following error when installing grunt using npm nodejs. Can someone tell what it is trying have problems with and how I can fix it. We do have firewall so is there another way to download grunt and install? I a newbie and just getting my feet wet.
Your environment has been set up for using Node.js 0.10.26 (x64) and npm.
C:\Users\testuser>npm install -g grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm ERR! Error: 12812:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:openssl\ssl\s23_clnt.c:766:
npm ERR!
npm ERR! at SlabBuffer.use (tls.js:232:18)
npm ERR! at CleartextStream.read [as _read] (tls.js:452:29)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:226:10)
npm ERR! at writeOrBuffer (_stream_writable.js:216:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:183:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! at flow (_stream_readable.js:592:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:624:5)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-cli"
npm ERR! cwd C:\Users\testuser
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\testuser\npm-debug.log
npm ERR! not ok code 0
thank you
Nick

Error when installing Forever for node.js server

I'm trying to install Forever for my node.js server but getting following error when npm install -g forever, I have node v0.8.5 and npm v1.1.46
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm ERR! Error: connect ETIMEDOUT
npm ERR! at errnoException (net.js:782:11)
npm ERR! at Object.afterConnect [as oncomplete] (net.js:773:19)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Fil
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "forever"
npm ERR! cwd C:\Users\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo
npm ERR! node -v v0.8.5
npm ERR! npm -v 1.1.46
npm ERR! syscall connect
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo\npm-debug.log
npm ERR! not ok code 0
What could be the problem.
Thanks,in advance
This means Github wasn't responding to the http request in time that was specified by npm.

Resources