sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

npm install showes me this #748

Open Hairsy opened 7 years ago

Hairsy commented 7 years ago

root@bis***:/etc/lets-chat# npm install npm WARN engine less@2.7.2: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine mongoose-validate@0.0.5: wanted: {"node":"0.8.x"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine eslint@3.19.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated wrench@1.4.4: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years. npm WARN engine postcss@5.0.21: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine csswring@5.0.0: wanted: {"node":">=5.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN deprecated graceful-fs@1.1.14: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN engine esprima@3.1.3: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm ERR! 404 Not Found npm ERR! 404 npm ERR! 404 'xmpp/xml' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 It was specified as a dependency of 'node-xmpp-core' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.16.0-4-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /etc/lets-chat npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code E404 npm ERR! Error: ENOENT, lstat '/etc/lets-chat/node_modules/node-xmpp-server/node_modules/ws/lib/WebSocket.js' 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 Linux 3.16.0-4-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /etc/lets-chat npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! path /etc/lets-chat/node_modules/node-xmpp-server/node_modules/ws/lib/WebSocket.js npm ERR! fstream_path /etc/lets-chat/node_modules/node-xmpp-server/node_modules/ws/lib/WebSocket.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm WARN engine ignorefs@1.2.0: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine ignorepatterns@1.1.0: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})

typechecker@2.0.8 preinstall /etc/lets-chat/node_modules/i18n/node_modules/messageformat/node_modules/watchr/node_modules/extendr/node_modules/typechecker node ./cyclic.js

typechecker@2.0.8 preinstall /etc/lets-chat/node_modules/i18n/node_modules/messageformat/node_modules/watchr/node_modules/extract-opts/node_modules/typechecker node ./cyclic.js

npm WARN optional dep failed, continuing fsevents@1.1.1 npm WARN engine ambi@2.5.0: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN deprecated tough-cookie@0.12.1: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN engine punycode@2.1.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN engine strip-bom@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine shelljs@0.7.7: wanted: {"node":">=0.11.0","iojs":"*"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine string-width@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine is-fullwidth-code-point@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine request@2.81.0: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine form-data@2.1.4: wanted: {"node":">= 0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine har-validator@4.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine har-schema@1.0.5: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine co@4.6.0: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine co@4.6.0: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /etc/lets-chat/npm-debug.log npm ERR! not ok code 0

hhaidar commented 7 years ago

Your version of npm might be too old. Consider upgrading it!

Hairsy commented 7 years ago

This is the version apt-get gave me, I also ran update and upgrade... :X

anthonybudd commented 6 years ago

@hhaidar I'm in the same situation as @Hairsy I'm getting the same error messages but this is the version of NPM I got from apt-get install nodejs

npm WARN engine ansi-styles@3.2.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine esprima@4.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
laki88 commented 6 years ago

facing the same issue