leeluolee/puer

ubuntu 3.16.0-49-generic

Rockergmail opened this issue · 4 comments

rocker@rocker-B85M-D3H:~/Documents$ sudo npm install puer
npm http GET https://registry.npmjs.org/puer
npm http 304 https://registry.npmjs.org/puer
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/chokidar/0.8.1
npm http GET https://registry.npmjs.org/socket.io/0.9.16
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/weinre
npm http GET https://registry.npmjs.org/qrcode-npm/0.0.3
npm http GET https://registry.npmjs.org/http-proxy
npm http 304 https://registry.npmjs.org/weinre
npm http 304 https://registry.npmjs.org/chokidar/0.8.1
npm http 304 https://registry.npmjs.org/socket.io/0.9.16
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/http-proxy
npm http 304 https://registry.npmjs.org/qrcode-npm/0.0.3
npm http 304 https://registry.npmjs.org/coffee-script

chokidar@0.8.1 postinstall /home/rocker/Documents/node_modules/puer/node_modules/chokidar
node setup-deps.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm http GET https://registry.npmjs.org/eventemitter3
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/rocker/Documents/node_modules/puer/node_modules/weinre'
npm ERR! error rolling back puer@1.1.1 { [Error: ENOTEMPTY, rmdir '/home/rocker/Documents/node_modules/puer/node_modules/weinre']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/home/rocker/Documents/node_modules/puer/node_modules/weinre' }
npm ERR! weird error 127
npm http GET https://registry.npmjs.org/requires-port
npm ERR! Error: ENOENT, lstat '/home/rocker/Documents/node_modules/puer/node_modules/socket.io/lib/parser.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.16.0-49-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "puer"
npm ERR! cwd /home/rocker/Documents
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/rocker/Documents/node_modules/puer/node_modules/socket.io/lib/parser.js
npm ERR! fstream_path /home/rocker/Documents/node_modules/puer/node_modules/socket.io/lib/parser.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 (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/rocker/Documents/node_modules/puer/node_modules/coffee-script/lib/coffee-script/grammar.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.16.0-49-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "puer"
npm ERR! cwd /home/rocker/Documents
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/rocker/Documents/node_modules/puer/node_modules/coffee-script/lib/coffee-script/grammar.js
npm ERR! fstream_path /home/rocker/Documents/node_modules/puer/node_modules/coffee-script/lib/coffee-script/grammar.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 (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/rocker/Documents/node_modules/puer/node_modules/express/lib/response.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.16.0-49-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "puer"
npm ERR! cwd /home/rocker/Documents
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/rocker/Documents/node_modules/puer/node_modules/express/lib/response.js
npm ERR! fstream_path /home/rocker/Documents/node_modules/puer/node_modules/express/lib/response.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 (fs.js:107:15)
npm http 304 https://registry.npmjs.org/requires-port
npm http 304 https://registry.npmjs.org/eventemitter3
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/rocker/Documents/npm-debug.log
npm ERR! not ok code 0

node 没找到? 你看下, 如果是apt-get 的node 好像有几率 是 nodejs 命令

@leeluolee I can install puer after "sudo apt-get install nodejs-legacy"

so, can I close this issue now?