npm downloading phonegap multiple error - node.js
i'm trying to download phonegap with npm from command line, i get always error with node version:4.0.0 and 4.1.0 specifically:
this
i'm on company proxy and i can't change connection.
now changing version of node to: 0.10.0 i get those errors:
npm ERR! Error: ENOENT, open 'C:\Documents and Settings\gcappella\node_modules\p
honegap\node_modules\prompt\node_modules\utile\node_modules\mkdirp\test\return_s
ync.js'
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 5.1.2600
npm ERR! command "C:\\Programmi\\nodejs\\\\node.exe" "C:\\Programmi\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "phonegap"
npm ERR! cwd C:\Documents and Settings\gcappella
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! path C:\Documents and Settings\gcappella\node_modules\phonegap\node_mod
ules\prompt\node_modules\utile\node_modules\mkdirp\test\return_sync.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Documents and Settings\g
cappella\node_modules\phonegap\node_modules\prompt\node_modules\utile\node_modul
es\i\test\inflector'
npm ERR! error rolling back utile#0.2.1 { [Error: ENOTEMPTY, rmdir 'C:\Document
s and Settings\gcappella\node_modules\phonegap\node_modules\prompt\node_modules\
utile\node_modules\i\test\inflector']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'C:\\Documents and Settings\\gcappella\\node
_modules\\phonegap\\node_modules\\prompt\\node_modules\\utile\\node_modules\\i\\
test\\inflector' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Documents and Settings\g
cappella\node_modules\phonegap\node_modules\prompt\node_modules\utile\node_modul
es\i\test\inflector'
npm ERR! error rolling back prompt#0.2.11 { [Error: ENOTEMPTY, rmdir 'C:\Docume
nts and Settings\gcappella\node_modules\phonegap\node_modules\prompt\node_module
s\utile\node_modules\i\test\inflector']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'C:\\Documents and Settings\\gcappella\\node
_modules\\phonegap\\node_modules\\prompt\\node_modules\\utile\\node_modules\\i\\
test\\inflector' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Documents and Settings\g
cappella\node_modules\phonegap\node_modules\prompt\node_modules\utile\node_modul
es\ncp\test'
npm ERR! error rolling back ncp#0.4.2 { [Error: ENOTEMPTY, rmdir 'C:\Documents
and Settings\gcappella\node_modules\phonegap\node_modules\prompt\node_modules\ut
ile\node_modules\ncp\test']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'C:\\Documents and Settings\\gcappella\\node
_modules\\phonegap\\node_modules\\prompt\\node_modules\\utile\\node_modules\\ncp
\\test' }
npm ERR! Error: ENOENT, lstat 'C:\Documents and Settings\gcappella\node_modules\
phonegap\node_modules\prompt\node_modules\utile\node_modules\i\test\inflector\me
thods-test.js'
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 5.1.2600
npm ERR! command "C:\\Programmi\\nodejs\\\\node.exe" "C:\\Programmi\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "phonegap"
npm ERR! cwd C:\Documents and Settings\gcappella
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! path C:\Documents and Settings\gcappella\node_modules\phonegap\node_mod
ules\prompt\node_modules\utile\node_modules\i\test\inflector\methods-test.js
npm ERR! fstream_path C:\Documents and Settings\gcappella\node_modules\phonegap\
node_modules\prompt\node_modules\utile\node_modules\i\test\inflector\methods-tes
t.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack C:\Programmi\nodejs\node_modules\npm\node_modules\fstream
\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:93:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Documents and Settings\g
cappella\node_modules\phonegap\node_modules\connect-phonegap\res\middleware\cord
ova'
npm ERR! error rolling back phonegap#5.3.1+cordova.5.3.1 { [Error: ENOTEMPTY, r
mdir 'C:\Documents and Settings\gcappella\node_modules\phonegap\node_modules\con
nect-phonegap\res\middleware\cordova']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'C:\\Documents and Settings\\gcappella\\node
_modules\\phonegap\\node_modules\\connect-phonegap\\res\\middleware\\cordova' }
npm ERR! Error: No compatible version found: glob#'^5.0.14'
npm ERR! Valid install targets:
npm ERR! ["1.1.0","2.0.9","2.0.8","2.0.7","2.1.0","3.0.0","3.0.1","3.1.0","3.1.1
","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.9","3.1.10","3.1.11","3.1
.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.18","3.1.19","3.1.20","3.
1.21","3.2.0","3.2.1","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.2.9","3
.2.10","3.2.11","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.2-b
eta","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.2.0","4.2.1","4.2.2","4.3.0","4.
3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.2","4.5.0","5.0.0","4.5.1","5.
0.1","4.5.2","5.0.2","4.5.3","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.9","5.
0.10","5.0.11","5.0.12","5.0.13","5.0.14"]
npm ERR! at installTargetsError (C:\Programmi\nodejs\node_modules\npm\lib\ca
che.js:682:10)
npm ERR! at C:\Programmi\nodejs\node_modules\npm\lib\cache.js:597:10
npm ERR! at saved (C:\Programmi\nodejs\node_modules\npm\node_modules\npm-reg
istry-client\lib\get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:93: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 Windows_NT 5.1.2600
npm ERR! command "C:\\Programmi\\nodejs\\\\node.exe" "C:\\Programmi\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "phonegap"
npm ERR! cwd C:\Documents and Settings\gcappella
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm http GET http://registry.npmjs.org/wordwrap
npm http GET http://registry.npmjs.org/request
npm http 304 http://registry.npmjs.org/request
npm http 200 http://registry.npmjs.org/wordwrap
npm http GET http://registry.npmjs.org/request/-/request-2.11.4.tgz
npm http 200 http://registry.npmjs.org/request/-/request-2.11.4.tgz
npm http GET http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz
npm http 200 http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz
npm http GET http://registry.npmjs.org/abbrev
npm http 200 http://registry.npmjs.org/abbrev
npm http GET http://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz
npm http 200 http://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz
npm http GET http://registry.npmjs.org/shelljs/0.3.0
npm http GET http://registry.npmjs.org/semver
npm http GET http://registry.npmjs.org/cordova-js/4.1.1
npm http GET http://registry.npmjs.org/tar/1.0.2
npm http GET http://registry.npmjs.org/cordova-registry-mapper
npm http GET http://registry.npmjs.org/unorm/1.3.3
npm http GET http://registry.npmjs.org/cordova-serve
npm http GET http://registry.npmjs.org/valid-identifier/0.0.1
npm http GET http://registry.npmjs.org/dep-graph/1.1.0
npm http GET http://registry.npmjs.org/osenv/0.1.0
npm http GET http://registry.npmjs.org/npm
npm http GET http://registry.npmjs.org/xcode/0.8.0
npm http GET http://registry.npmjs.org/elementtree/0.1.6
npm http GET http://registry.npmjs.org/npmconf
npm http GET http://registry.npmjs.org/request/2.47.0
npm http GET http://registry.npmjs.org/init-package-json
npm http GET http://registry.npmjs.org/properties-parser/0.2.3
npm http GET http://registry.npmjs.org/rc/0.5.2
npm http GET http://registry.npmjs.org/glob/4.0.6
npm http GET http://registry.npmjs.org/plist/1.1.0
npm http GET http://registry.npmjs.org/aliasify
npm http GET http://registry.npmjs.org/bplist-parser/0.0.6
npm http GET http://registry.npmjs.org/cordova-app-hello-world/3.9.0
npm http 200 http://registry.npmjs.org/cordova-registry-mapper
npm http 200 http://registry.npmjs.org/shelljs/0.3.0
npm http 200 http://registry.npmjs.org/cordova-js/4.1.1
npm http GET http://registry.npmjs.org/cordova-registry-mapper/-/cordova-registr
y-mapper-1.1.11.tgz
npm http 200 http://registry.npmjs.org/cordova-serve
npm http 200 http://registry.npmjs.org/semver
npm http 200 http://registry.npmjs.org/tar/1.0.2
npm http GET http://registry.npmjs.org/cordova-js/-/cordova-js-4.1.1.tgz
npm http GET http://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz
npm http 200 http://registry.npmjs.org/valid-identifier/0.0.1
npm http 200 http://registry.npmjs.org/dep-graph/1.1.0
npm http GET http://registry.npmjs.org/tar/-/tar-1.0.2.tgz
npm http 200 http://registry.npmjs.org/unorm/1.3.3
npm http 200 http://registry.npmjs.org/npmconf
npm http GET http://registry.npmjs.org/valid-identifier/-/valid-identifier-0.0.1
.tgz
npm http GET http://registry.npmjs.org/dep-graph/-/dep-graph-1.1.0.tgz
npm http GET http://registry.npmjs.org/unorm/-/unorm-1.3.3.tgz
npm http 200 http://registry.npmjs.org/osenv/0.1.0
npm http 200 http://registry.npmjs.org/request/2.47.0
npm http 200 http://registry.npmjs.org/xcode/0.8.0
npm http 200 http://registry.npmjs.org/init-package-json
npm http GET http://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz
npm http GET http://registry.npmjs.org/request/-/request-2.47.0.tgz
npm http 200 http://registry.npmjs.org/elementtree/0.1.6
npm http GET http://registry.npmjs.org/xcode/-/xcode-0.8.0.tgz
npm http 200 http://registry.npmjs.org/rc/0.5.2
npm http 200 http://registry.npmjs.org/npm
npm http 200 http://registry.npmjs.org/aliasify
npm http 200 http://registry.npmjs.org/plist/1.1.0
npm http 200 http://registry.npmjs.org/glob/4.0.6
npm http 200 http://registry.npmjs.org/properties-parser/0.2.3
npm http GET http://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz
npm http 200 http://registry.npmjs.org/cordova-registry-mapper/-/cordova-registr
y-mapper-1.1.11.tgz
npm http 200 http://registry.npmjs.org/cordova-js/-/cordova-js-4.1.1.tgz
npm http 200 http://registry.npmjs.org/tar/-/tar-1.0.2.tgz
npm http 200 http://registry.npmjs.org/cordova-app-hello-world/3.9.0
npm http 200 http://registry.npmjs.org/unorm/-/unorm-1.3.3.tgz
npm http 200 http://registry.npmjs.org/valid-identifier/-/valid-identifier-0.0.1
.tgz
npm http 200 http://registry.npmjs.org/dep-graph/-/dep-graph-1.1.0.tgz
npm http 200 http://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz
npm http 200 http://registry.npmjs.org/xcode/-/xcode-0.8.0.tgz
npm http 200 http://registry.npmjs.org/request/-/request-2.47.0.tgz
npm http 200 http://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz
npm http GET http://registry.npmjs.org/properties-parser/-/properties-parser-0.2
.3.tgz
npm http GET http://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm http GET http://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm http 200 http://registry.npmjs.org/properties-parser/-/properties-parser-0.2
.3.tgz
npm http 200 http://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm http 200 http://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm http 200 http://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz
npm http GET http://registry.npmjs.org/rc/-/rc-0.5.2.tgz
npm http 200 http://registry.npmjs.org/rc/-/rc-0.5.2.tgz
npm http 200 http://registry.npmjs.org/bplist-parser/0.0.6
npm http GET http://registry.npmjs.org/cordova-app-hello-world/-/cordova-app-hel
lo-world-3.9.0.tgz
npm http 200 http://registry.npmjs.org/cordova-app-hello-world/-/cordova-app-hel
lo-world-3.9.0.tgz
npm http GET http://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz
npm http 200 http://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Documents and Settings\gcappella\npm-debug.log
npm ERR! not ok code 0
anyone can help a poor guy?
are you sure this port 8080 is available ??
try to change port number, maybe it will help you bro...
npm#1.2.14 is extremely old and has not been supported for years. The crux of your issue is that such an old version of npm has no idea how to interpret the ^ semver operator you see here:
npm ERR! Error: No compatible version found: glob#'^5.0.14'
Hence an error is thrown. The solution is to simply upgrade. I would recommend upgrading both Node.js and npm, since Node.js v0.10.0 is also very old and by using it you are subject to a handful of security vulnerabilities that have been fixed in the years since v0.10.0 was released.
Related
Install Less on python cartridge Openshift
I have a webapp using python cartridge. I need to use some less, but when i try to install with : npm install less#1.6.3 I have an error: npm install -g less#1.6.3 npm http GET //registry.npmjs.org/less/1.6.3 npm http 200 //registry.npmjs.org/less/1.6.3 npm http GET https://registry.npmjs.org/less/-/less-1.6.3.tgz npm http 200 https://registry.npmjs.org/less/-/less-1.6.3.tgz npm ERR! Error: EACCES, mkdir '/usr/lib/node_modules/less' npm ERR! { [Error: EACCES, mkdir '/usr/lib/node_modules/less'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/usr/lib/node_modules/less', npm ERR! fstream_type: 'Directory', npm ERR! fstream_path: '/usr/lib/node_modules/less', npm ERR! fstream_class: 'DirWriter', npm ERR! fstream_stack: npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23', npm ERR! 'Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:51:17)' ] } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 2.6.32-573.12.1.el6.x86_64 npm ERR! command "node" "/usr/bin/npm" "install" "-g" "less#1.6.3" npm ERR! cwd /var/lib/openshift/56fc035a2d5271ee8f00019a/app-root/runtime/repo npm ERR! node -v v0.6.20 npm ERR! npm -v 1.1.37 npm ERR! path /usr/lib/node_modules/less npm ERR! fstream_path /usr/lib/node_modules/less npm ERR! fstream_type Directory npm ERR! fstream_class DirWriter npm ERR! code EACCES npm ERR! message EACCES, mkdir '/usr/lib/node_modules/less' npm ERR! errno 3 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23 npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:51:17) npm ERR! 3 errno npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /var/lib/openshift/56fc035a2d5271ee8f00019a/app-root/runtime/repo/npm-debug.log npm ERR! not ok code undefined npm ERR! not ok code 3 I try with sudo npm install less#1.6.3 But we don't have access to sudo on openshift. If someone expert with openshift can help me, I will very grateful :) thank you for help :) i try without -g but it didn't work with openshift npm http GET https://registry.npmjs.org/less npm http 304 https://registry.npmjs.org/less npm http GET https://registry.npmjs.org/less/-/less-1.6.3.tgz npm http 200 https://registry.npmjs.org/less/-/less-1.6.3.tgz npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/clean-css npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/source-map npm http 200 https://registry.npmjs.org/mkdirp npm http 200 https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz npm http 200 https://registry.npmjs.org/source-map npm http 200 https://registry.npmjs.org/request npm http 200 https://registry.npmjs.org/clean-css npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz npm http GET https://registry.npmjs.org/clean-css/-/clean-css-2.0.8.tgz npm http GET https://registry.npmjs.org/request/-/request-2.69.0.tgz npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz npm http 200 https://registry.npmjs.org/request/-/request-2.69.0.tgz npm http 200 https://registry.npmjs.org/clean-css/-/clean-css-2.0.8.tgz npm WARN engine clean-css#2.0.8: wanted: {"node":">=0.8.0"} (current: {"node":"0.6.20","npm":"1.1.37"}) npm WARN engine request#2.69.0: wanted: {"node":">=0.8.0"} (current: {"node":"0.6.20","npm":"1.1.37"}) npm WARN engine source-map#0.1.43: wanted: {"node":">=0.8.0"} (current: {"node":"0.6.20","npm":"1.1.37"}) npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/aws-sign2 npm http GET https://registry.npmjs.org/aws4 npm http GET https://registry.npmjs.org/bl npm http GET https://registry.npmjs.org/caseless npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/extend npm http GET https://registry.npmjs.org/har-validator npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/isstream npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/is-typedarray npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/stringstream npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/mime-types npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/amdefine npm http 200 https://registry.npmjs.org/aws-sign2 npm http 200 https://registry.npmjs.org/bl npm http 200 https://registry.npmjs.org/commander npm http 200 https://registry.npmjs.org/form-data npm http 200 https://registry.npmjs.org/aws4 npm http 200 https://registry.npmjs.org/forever-agent npm http 200 https://registry.npmjs.org/caseless npm http GET https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz npm http 200 https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/bl/-/bl-1.0.3.tgz npm http GET https://registry.npmjs.org/commander/-/commander-2.0.0.tgz npm http 200 https://registry.npmjs.org/extend npm http 200 https://registry.npmjs.org/isstream npm http GET https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz npm http GET https://registry.npmjs.org/form-data/-/form-data-1.0.0-rc4.tgz npm http 200 https://registry.npmjs.org/har-validator npm http 200 https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz npm http GET https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz npm http 200 https://registry.npmjs.org/is-typedarray npm http 200 https://registry.npmjs.org/json-stringify-safe npm http 200 https://registry.npmjs.org/hawk npm http 200 https://registry.npmjs.org/stringstream npm WARN optional dep failed, continuing request#2.69.0 npm http 200 https://registry.npmjs.org/tunnel-agent npm http 200 https://registry.npmjs.org/mime-types npm http 200 https://registry.npmjs.org/node-uuid npm http 200 https://registry.npmjs.org/qs npm http 200 https://registry.npmjs.org/bl/-/bl-1.0.3.tgz npm http 200 https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz npm http 200 https://registry.npmjs.org/oauth-sign npm http 200 https://registry.npmjs.org/amdefine npm http 200 https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/extend/-/extend-3.0.0.tgz npm http GET https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz npm http GET https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz npm http GET https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz npm http GET https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz npm http GET https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz npm http GET https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz npm http GET https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz npm http 200 https://registry.npmjs.org/form-data/-/form-data-1.0.0-rc4.tgz npm http 200 https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz npm http 200 https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz npm http 200 https://registry.npmjs.org/commander/-/commander-2.0.0.tgz npm http 200 https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz npm http 200 https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz npm http 200 https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz npm http 200 https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz npm http 200 https://registry.npmjs.org/extend/-/extend-3.0.0.tgz npm http 200 https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz npm http GET https://registry.npmjs.org/mime-types/-/mime-types-2.1.10.tgz npm http GET https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.2.tgz npm http GET https://registry.npmjs.org/qs/-/qs-6.0.2.tgz npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz npm http GET https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.1.tgz npm http GET https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz npm http GET https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz npm http 200 https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz npm http 200 https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz npm http 200 https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz npm http 200 https://registry.npmjs.org/qs/-/qs-6.0.2.tgz npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz npm http 200 https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz npm http 200 https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.1.tgz npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz npm http 200 https://registry.npmjs.org/mime-types/-/mime-types-2.1.10.tgz npm http 200 https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.2.tgz less#1.6.3 node_modules/less ├── mime#1.2.11 ├── mkdirp#0.3.5 ├── source-map#0.1.43 (amdefine#1.0.0) └── clean-css#2.0.8 (commander#2.0.0) npm ERR! tar pack Error reading /tmp/npm-445706/1459419659599-0.8059858318883926/package npm ERR! addLocalDirectory Could not pack "/tmp/npm-445706/1459419659599-0.8059858318883926/package" to "/var/lib/openshift/56fcf5870c1e668c6900009e/app-root/runtime/.npm/qs/6.0.2/package.tgz" npm ERR! Error: ENOENT, lstat '/tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js' npm ERR! { [Error: ENOENT, lstat '/tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js'] npm ERR! errno: 34, npm ERR! code: 'ENOENT', npm ERR! path: '/tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js', npm ERR! fstream_type: 'File', npm ERR! fstream_path: '/tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js', npm ERR! fstream_class: 'FileWriter', npm ERR! fstream_stack: [ 'Object.oncomplete (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26)' ] } npm ERR! 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 2.6.32-573.12.1.el6.x86_64 npm ERR! command "node" "/usr/bin/npm" "install" "less#1.6" npm ERR! cwd /var/lib/openshift/56fcf5870c1e668c6900009e/app-root/runtime/repo npm ERR! node -v v0.6.20 npm ERR! npm -v 1.1.37 npm ERR! path /tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js npm ERR! fstream_path /tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! message ENOENT, lstat '/tmp/npm-445706/1459419659637-0.6426318113226444/package/lib/pubsuffix.js' npm ERR! errno 34 npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26) npm ERR! 34 errno npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /var/lib/openshift/56fcf5870c1e668c6900009e/app-root/runtime/repo/npm-debug.log npm ERR! not ok code undefined npm ERR! not ok code 34
export HOME=$HOME/app-root/runtime/repo cd app-root/runtime/repo npm install -g
installing mongoose on debian
I have encountered following error while trying install mongoose. npm http GET https://registry.npmjs.org/mongoose npm http 200 https://registry.npmjs.org/mongoose npm http GET https://registry.npmjs.org/mongoose/-/mongoose-3.6.0rc0.tgz npm http 200 https://registry.npmjs.org/mongoose/-/mongoose-3.6.0rc0.tgz npm http GET https://registry.npmjs.org/hooks/0.2.1 npm http GET https://registry.npmjs.org/mongodb/1.2.11 npm http GET https://registry.npmjs.org/ms/0.1.0 npm http GET https://registry.npmjs.org/sliced/0.0.3 npm http GET https://registry.npmjs.org/muri/0.3.0 npm http GET https://registry.npmjs.org/mpromise/0.2.0 npm http GET https://registry.npmjs.org/mpath/0.1.1 npm http 200 https://registry.npmjs.org/ms/0.1.0 npm http GET https://registry.npmjs.org/ms/-/ms-0.1.0.tgz npm http 200 https://registry.npmjs.org/sliced/0.0.3 npm http 200 https://registry.npmjs.org/hooks/0.2.1 npm http 200 https://registry.npmjs.org/muri/0.3.0 npm http GET https://registry.npmjs.org/sliced/-/sliced-0.0.3.tgz npm http GET https://registry.npmjs.org/hooks/-/hooks-0.2.1.tgz npm http GET https://registry.npmjs.org/muri/-/muri-0.3.0.tgz npm http 200 https://registry.npmjs.org/ms/-/ms-0.1.0.tgz npm http 200 https://registry.npmjs.org/mpromise/0.2.0 npm http GET https://registry.npmjs.org/mpromise/-/mpromise-0.2.0.tgz npm http 200 https://registry.npmjs.org/mongodb/1.2.11 npm http 200 https://registry.npmjs.org/mpath/0.1.1 npm http GET https://registry.npmjs.org/mongodb/-/mongodb-1.2.11.tgz npm http 200 https://registry.npmjs.org/hooks/-/hooks-0.2.1.tgz npm http GET https://registry.npmjs.org/mpath/-/mpath-0.1.1.tgz npm http 200 https://registry.npmjs.org/muri/-/muri-0.3.0.tgz npm http 200 https://registry.npmjs.org/mpromise/-/mpromise-0.2.0.tgz npm http 200 https://registry.npmjs.org/mongodb/-/mongodb-1.2.11.tgz npm http 200 https://registry.npmjs.org/mpath/-/mpath-0.1.1.tgz npm http 200 https://registry.npmjs.org/sliced/-/sliced-0.0.3.tgz npm ERR! error installing mongoose#3.6.0rc0 npm ERR! error rolling back mongoose#3.6.0rc0 Error: UNKNOWN, unknown error '/home/vlad/node_modules/mongoose' npm ERR! Unsupported npm ERR! Not compatible with your version of node/npm: mongodb#1.2.11 npm ERR! Required: {"node":">=0.6.19"} npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"} npm ERR! npm ERR! System Linux 3.2.0-4-486 npm ERR! command "node" "/usr/local/bin/npm" "install" "mongoose" npm ERR! cwd /home/vlad npm ERR! node -v v0.6.9 npm ERR! npm -v 1.1.0-3 npm ERR! code ENOTSUP npm ERR! message Unsupported npm ERR! errno {} npm http GET https://registry.npmjs.org/sliced/0.0.4 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/vlad/npm-debug.log npm not ok Can someone suggest me how I can solve it?
The error tells you what the problem is: npm ERR! Not compatible with your version of node/npm: mongodb#1.2.11 npm ERR! Required: {"node":">=0.6.19"} npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"} You have a version 0.6.9 of node installed, but the dependency package mongodb requires a version greater or equal to 0.6.19. You can upgrade by doing: sudo npm install n -g
Problems installing node.js/npm forever on Raspberry Pi
Versions Linux distro and version: Raspbian GNU/Linux 7 (wheezy)" Python: 2.7.3 Nodejs: v0.10.22 NPM: 1.3.15 Every time I try to install forever globally on my Raspberry pi it fails. The error is listed below. sudo npm install forever -g npm http GET https://registry.npmjs.org/forever npm http 304 https://registry.npmjs.org/forever npm http GET https://registry.npmjs.org/utile/0.1.7 npm http GET https://registry.npmjs.org/winston/0.7.1 npm http GET https://registry.npmjs.org/colors/0.6.0-1 npm http GET https://registry.npmjs.org/cliff/0.1.8 npm http GET https://registry.npmjs.org/flatiron/0.3.5 npm http GET https://registry.npmjs.org/forever-monitor/1.2.3 npm http GET https://registry.npmjs.org/nconf/0.6.7 npm http GET https://registry.npmjs.org/nssocket npm http GET https://registry.npmjs.org/optimist/0.4.0 npm http GET https://registry.npmjs.org/pkginfo/0.3.0 npm http GET https://registry.npmjs.org/timespan/2.0.1 npm http GET https://registry.npmjs.org/watch/0.7.0 npm http 304 https://registry.npmjs.org/utile/0.1.7 npm http 304 https://registry.npmjs.org/cliff/0.1.8 npm http 304 https://registry.npmjs.org/winston/0.7.1 npm http 304 https://registry.npmjs.org/colors/0.6.0-1 npm http 304 https://registry.npmjs.org/forever-monitor/1.2.3 npm http 304 https://registry.npmjs.org/nconf/0.6.7 npm http 304 https://registry.npmjs.org/nssocket npm http 304 https://registry.npmjs.org/optimist/0.4.0 npm http 304 https://registry.npmjs.org/flatiron/0.3.5 npm http 304 https://registry.npmjs.org/pkginfo/0.3.0 npm http 304 https://registry.npmjs.org/timespan/2.0.1 npm http 304 https://registry.npmjs.org/watch/0.7.0 npm http GET https://registry.npmjs.org/eventemitter2 npm http GET https://registry.npmjs.org/lazy npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/deep-equal npm http GET https://registry.npmjs.org/i npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/ncp npm http GET https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/lazy npm http 304 https://registry.npmjs.org/eventemitter2 npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/ncp npm http 304 https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/deep-equal npm http 304 https://registry.npmjs.org/i npm http GET https://registry.npmjs.org/wordwrap npm http 304 https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/broadway npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/ps-tree npm http GET https://registry.npmjs.org/watch npm http GET https://registry.npmjs.org/broadway/0.2.7 npm http GET https://registry.npmjs.org/optimist/0.3.5 npm http GET https://registry.npmjs.org/prompt/0.2.9 npm http GET https://registry.npmjs.org/director/1.1.10 npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/broadway npm http 304 https://registry.npmjs.org/watch npm http 304 https://registry.npmjs.org/broadway/0.2.7 npm http 304 https://registry.npmjs.org/optimist/0.3.5 npm http 304 https://registry.npmjs.org/prompt/0.2.9 npm http 304 https://registry.npmjs.org/director/1.1.10 npm http 304 https://registry.npmjs.org/ps-tree npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/forever/node_modules/cliff/examples/put-rows-colors.js' 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 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! path /usr/local/lib/node_modules/forever/node_modules/cliff/examples/put-rows-colors.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/forever/node_modules/winston/test/log-rewriter-test.js' 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 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! path /usr/local/lib/node_modules/forever/node_modules/winston/test/log-rewriter-test.js npm ERR! fstream_path /usr/local/lib/node_modules/forever/node_modules/winston/test/log-rewriter-test.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/test/lines.js' 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 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! path /usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/test/lines.js npm ERR! fstream_path /usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/test/lines.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! EEXIST, mkdir '/usr/local/lib/node_modules/forever/node_modules/nconf/lib/nconf/stores' File exists: /usr/local/lib/node_modules/forever/node_modules/nconf/lib/nconf/stores Move it away, and try again. npm ERR! System Linux 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! path /usr/local/lib/node_modules/forever/node_modules/nconf/lib/nconf/stores npm ERR! fstream_path /usr/local/lib/node_modules/forever/node_modules/nconf/lib/nconf/stores/file.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code EEXIST npm ERR! errno 47 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Failed to parse json npm ERR! Unexpected end of input npm ERR! File: /root/.npm/broadway/0.2.7/package/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse npm ERR! System Linux 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! file /root/.npm/broadway/0.2.7/package/package.json npm ERR! code EJSONPARSE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/npm-debug.log npm ERR! not ok code 0 similarly if I try to do this without sudo, I get the following: npm install forever -g npm http GET https://registry.npmjs.org/forever npm http 304 https://registry.npmjs.org/forever npm ERR! error rolling back Error: EACCES, unlink '/usr/local/lib/node_modules/forever' npm ERR! error rolling back forever#0.10.9 { [Error: EACCES, unlink '/usr/local/lib/node_modules/forever'] npm ERR! error rolling back errno: 3, npm ERR! error rolling back code: 'EACCES', npm ERR! error rolling back path: '/usr/local/lib/node_modules/forever' } npm ERR! Error: EACCES, unlink '/usr/local/lib/node_modules/forever' npm ERR! { [Error: EACCES, unlink '/usr/local/lib/node_modules/forever'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/usr/local/lib/node_modules/forever' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 3.6.11+ npm ERR! command "node" "/usr/local/bin/npm" "install" "forever" "-g" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.15 npm ERR! path /usr/local/lib/node_modules/forever npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, unlink '/usr/local/lib/node_modules/forever' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/npm-debug.log npm ERR! not ok code 0
Try installing node with nvm. This installs node in your home directory so sudo permissions are not required for installing global modules. It looks like the module you are installing is having issues with relative directories and it could help with not using sudo.
Paths specified with a . are relative to the current working directory, not relative to the script file. So the file might be found if you run node app.js but not if you run node folder/app.js. To make a path relative to the script, you must use the __dirname variable. __dirname + '/path/to/file' Src
Error installing derby#0.3.13
I tried installing derbyjs and I got the following error: alex#alex-K43U:~/derby$ npm install -g derby npm http GET https://registry.npmjs.org/derby npm http 200 https://registry.npmjs.org/derby npm http GET https://registry.npmjs.org/derby/-/derby-0.3.13.tgz npm http 200 https://registry.npmjs.org/derby/-/derby-0.3.13.tgz npm http GET https://registry.npmjs.org/dom-shim npm http GET https://registry.npmjs.org/html-util npm http GET https://registry.npmjs.org/tracks npm http GET https://registry.npmjs.org/racer/0.3.13 npm http GET https://registry.npmjs.org/chokidar npm http GET https://registry.npmjs.org/less npm http GET https://registry.npmjs.org/up npm http GET https://registry.npmjs.org/stylus npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/nib npm http 200 https://registry.npmjs.org/dom-shim npm http GET https://registry.npmjs.org/dom-shim/-/dom-shim-0.1.1.tgz npm http 200 https://registry.npmjs.org/tracks npm http GET https://registry.npmjs.org/tracks/-/tracks-0.1.8.tgz npm http 200 https://registry.npmjs.org/html-util npm http GET https://registry.npmjs.org/html-util/-/html-util-0.1.3.tgz npm http 200 https://registry.npmjs.org/racer/0.3.13 npm http 200 https://registry.npmjs.org/chokidar npm ERR! error installing derby#0.3.13 npm http GET https://registry.npmjs.org/racer/-/racer-0.3.13.tgz npm ERR! Error: No compatible version found: chokidar#'>=0.2.6' npm ERR! No valid targets found. npm ERR! Perhaps not compatible with your version of node? npm ERR! at installTargetsError (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:488:10) npm ERR! at next_ (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:438:17) npm ERR! at next (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:415:44) npm ERR! at /home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:408:5 npm ERR! at saved (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:147:7) npm ERR! at Object.oncomplete (/home/alex/nvm/v0.6.7/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:231:7) npm ERR! 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! npm ERR! System Linux 3.0.0-24-generic npm ERR! command "node" "/home/alex/nvm/v0.6.7/bin/npm" "install" "-g" "derby" npm ERR! cwd /home/alex/derby npm ERR! node -v v0.6.7 npm ERR! npm -v 1.1.0-3 npm ERR! message No compatible version found: chokidar#'>=0.2.6' npm ERR! message No valid targets found. npm ERR! message Perhaps not compatible with your version of node? npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/alex/derby/npm-debug.log npm not ok I have no idea how to fix this. Any suggestions?
Looking at chokidar's package.json file for versions >=0.2.6 tells me that it requires node.js version 0.6.10 or newer. You are trying to install it for node 0.6.7. Furthermore I'd suggest using Derby with node 0.8.x. At least I have had no installation issues with Derby on node 0.8.x.
How to install Socket.IO>=0.7.8 with npm on Ubuntu 8.04?
I searched for a long time, but haven't found the right answer yet. I'm not the only one who has/had problems installing Socket.IO >0.7.7 but other solutions didn't work for me. A possible problem could be an old version of GNU tar (version is 1.19) but I don´t know how to upgrade it or if it is possible at all. An Update to a newer version of Ubuntu is not possible for me at this time. If there is no way to update tar or something similar: Can I install Socket.IO without npm? Here is the Output of "npm install socket.io": npm http GET https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/socket.io-client/0.8.7 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/redis/0.6.7 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http 304 https://registry.npmjs.org/socket.io-client/0.8.7 npm http 304 https://registry.npmjs.org/redis/0.6.7 npm http GET https://registry.npmjs.org/uglify-js/1.0.6 npm http GET https://registry.npmjs.org/websocket-client/1.0.0 npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2 npm http 304 https://registry.npmjs.org/uglify-js/1.0.6 npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2 npm http 304 https://registry.npmjs.org/websocket-client/1.0.0 npm ERR! error installing websocket-client#1.0.0 npm ERR! error installing socket.io-client#0.8.7 npm ERR! Error: ENOENT, no such file or directory '/home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/___xmlhttprequest.npm/package/package.json' npm ERR! 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! npm ERR! System Linux 2.6.32.2-xxxx-grs-ipv6-32 npm ERR! command "node" "/home/admin/local/bin/npm" "install" "socket.io" npm ERR! cwd /home/admin npm ERR! node -v v0.6.10 npm ERR! npm -v 1.1.1 npm ERR! path /home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/___xmlhttprequest.npm/package/package.json npm ERR! fstream_path /home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/___xmlhttprequest.npm/package/package.json npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! message ENOENT, no such file or directory '/home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/___xmlhttprequest.npm/package/package.json' npm ERR! errno {} npm ERR! fstream_stack Object.oncomplete (/home/admin/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26) npm ERR! error rolling back socket.io-client#0.8.7 Error: UNKNOWN, unknown error '/home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/___uglify-js.npm/package' npm ERR! error installing socket.io#0.8.7 npm ERR! Error: ENOENT, no such file or directory '/home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/package.json' npm ERR! 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! npm ERR! System Linux 2.6.32.2-xxxx-grs-ipv6-32 npm ERR! command "node" "/home/admin/local/bin/npm" "install" "socket.io" npm ERR! cwd /home/admin npm ERR! node -v v0.6.10 npm ERR! npm -v 1.1.1 npm ERR! path /home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/package.json npm ERR! code ENOENT npm ERR! message ENOENT, no such file or directory '/home/admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/package.json' npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/admin/npm-debug.log npm not ok