LINUX.ORG.RU

Termkit отказывается ставиться.

 


0

1

Спасибо.

Версия загруженная из git. Согласно инструкции я зашёл в каталог с termkit ом и выполнил:

sudo npm install

На что мне отвечено:

npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.6.18.tgz
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/connect
npm WARN package.json connect@1.2.3 No README.md file found!
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.6.18.tgz
npm ERR! tar pack Error reading /root/tmp/npm-360/1360498363168-0.04597579292021692/package
npm ERR! TypeError: Cannot call method 'filter' of undefined
npm ERR!     at Packer.IgnoreReader.addIgnoreRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:148:13)
npm ERR!     at Packer.IgnoreReader.addIgnoreFile (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:133:10)
npm ERR!     at fs.readFile (fs.js:176:14)
npm ERR!     at Object.oncomplete (fs.js:297: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 3.2.0-4-686-pae
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/me/TermKit
npm ERR! node -v v0.8.19
npm ERR! npm -v 1.2.10
npm ERR! type non_object_property_call
npm ERR! addLocalDirectory Could not pack "/root/tmp/npm-360/1360498363168-0.04597579292021692/package" to "/root/.npm/socket.io/0.6.18/package.tgz"
npm ERR! SyntaxError: Unexpected token }
npm ERR!     at Object.parse (native)
npm ERR!     at Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:189:33)
npm ERR!     at Packer.IgnoreReader.addIgnoreFile (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)
npm ERR!     at fs.readFile (fs.js:176:14)
npm ERR!     at Object.oncomplete (fs.js:297: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 3.2.0-4-686-pae
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/me/TermKit
npm ERR! node -v v0.8.19
npm ERR! npm -v 1.2.10
npm ERR! file /root/tmp/npm-360/1360498363168-0.04597579292021692/package/support/socket.io-client/lib/vendor/uglifyjs/package.json
npm ERR! path /root/tmp/npm-360/1360498363168-0.04597579292021692/package/support/socket.io-client/lib/vendor/uglifyjs
npm ERR! type unexpected_token
npm ERR! fstream_path /root/tmp/npm-360/1360498363168-0.04597579292021692/package/support/socket.io-client/lib/vendor/uglifyjs
npm ERR! fstream_type Directory
npm ERR! fstream_class Packer
npm ERR! fstream_stack Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:192:10)
npm ERR! fstream_stack Packer.IgnoreReader.addIgnoreFile (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)
npm ERR! fstream_stack fs.readFile (fs.js:176:14)
npm ERR! fstream_stack Object.oncomplete (fs.js:297:15)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/me/TermKit/npm-debug.log
npm ERR! not ok code 0

Если нужно - версия node - 0.8.19. Извините что так невeжливо.

mebiuslu6 ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.