2013-12-05 6 views
0

У меня возникает ошибка при попытке запустить веб-версию. (все отлично работает с телефоном).Trigger.io web не работает на Ubuntu 12.04 с - «Ошибка при запуске npm: npm WARN package.json [email protected] Нет описания»

Вот ошибка, которую я получаю с консоли.

[INFO] JavaScript check complete 
[INFO] Verifying your configuration settings... 
[INFO] Configuration settings check complete 
[INFO] Development build created. Use forge run to run your app. 
[INFO] Forge tools running at version 3.3.71 
[ERROR] Failed when running npm: npm WARN package.json [email protected] No description 
npm WARN package.json [email protected] No repository field. 
npm WARN package.json [email protected] No README data 
npm http GET https://registry.npmjs.org/express 
npm http 304 https://registry.npmjs.org/express 
npm WARN engine [email protected]: wanted: {"node":">= 0.8.0"} (current: {"node":"v0.6.12","npm":"1.3.12"}) 
npm http GET https://registry.npmjs.org/connect/2.11.2 
npm http GET https://registry.npmjs.org/commander/1.3.2 
npm http GET https://registry.npmjs.org/range-parser/0.0.4 
npm http GET https://registry.npmjs.org/mkdirp/0.3.5 
npm http GET https://registry.npmjs.org/cookie/0.1.0 
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1 
npm http GET https://registry.npmjs.org/fresh/0.2.0 
npm http GET https://registry.npmjs.org/methods/0.1.0 
npm http GET https://registry.npmjs.org/send/0.1.4 
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1 
npm http GET https://registry.npmjs.org/debug 
npm http 304 https://registry.npmjs.org/commander/1.3.2 
npm http 304 https://registry.npmjs.org/range-parser/0.0.4 
npm http 304 https://registry.npmjs.org/connect/2.11.2 
npm http 304 https://registry.npmjs.org/mkdirp/0.3.5 
npm http 304 https://registry.npmjs.org/cookie/0.1.0 
npm http 304 https://registry.npmjs.org/methods/0.1.0 
npm http 304 https://registry.npmjs.org/fresh/0.2.0 
npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1 
npm http 304 https://registry.npmjs.org/debug 
npm http 304 https://registry.npmjs.org/send/0.1.4 
npm http 304 https://registry.npmjs.org/cookie-signature/1.0.1 
npm WARN engine [email protected]: wanted: {"node":">= 0.8.0"} (current: {"node":"v0.6.12","npm":"1.3.12"}) 
npm http GET https://registry.npmjs.org/keypress 
npm http GET https://registry.npmjs.org/mime 
npm http GET https://registry.npmjs.org/raw-body/1.1.2 
npm http GET https://registry.npmjs.org/qs/0.6.5 
npm http GET https://registry.npmjs.org/bytes/0.2.1 
npm http GET https://registry.npmjs.org/negotiator/0.3.0 
npm http GET https://registry.npmjs.org/multiparty/2.2.0 
npm http GET https://registry.npmjs.org/uid2/0.0.3 
npm http GET https://registry.npmjs.org/pause/0.0.1 
npm http 304 https://registry.npmjs.org/keypress 
npm http 200 https://registry.npmjs.org/mime 
npm http 200 https://registry.npmjs.org/negotiator/0.3.0 
npm http GET https://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz 
npm http 200 https://registry.npmjs.org/raw-body/1.1.2 
npm http 304 https://registry.npmjs.org/bytes/0.2.1 
npm http GET https://registry.npmjs.org/raw-body/-/raw-body-1.1.2.tgz 
npm http 304 https://registry.npmjs.org/uid2/0.0.3 
npm http 304 https://registry.npmjs.org/pause/0.0.1 
npm http 200 https://registry.npmjs.org/multiparty/2.2.0 
npm http GET https://registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz 
npm http 200 https://registry.npmjs.org/qs/0.6.5 
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.5.tgz 
npm http 200 https://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz 
npm http 200 https://registry.npmjs.org/raw-body/-/raw-body-1.1.2.tgz 
npm ERR! addPlacedTarball Could not remove "/home/eugene/.npm/negotiator/0.3.0/package" 
npm ERR! error rolling back Error: UNKNOWN, unknown error '/home/eugene/Vouch/trigger/development/web/node_modules/express/node_modules/connect' 
npm ERR! error rolling back [email protected] { [Error: UNKNOWN, unknown error '/home/eugene/Vouch/trigger/development/web/node_modules/express/node_modules/connect'] 
npm ERR! error rolling back errno: -1, 
npm ERR! error rolling back code: 'UNKNOWN', 
npm ERR! error rolling back path: '/home/eugene/Vouch/trigger/development/web/node_modules/express/node_modules/connect' } 
npm ERR! error rolling back Error: UNKNOWN, unknown error '/home/eugene/Vouch/trigger/development/web/node_modules/express' 
npm ERR! error rolling back [email protected] { [Error: UNKNOWN, unknown error '/home/eugene/Vouch/trigger/development/web/node_modules/express'] 
npm ERR! error rolling back errno: -1, 
npm ERR! error rolling back code: 'UNKNOWN', 
npm ERR! error rolling back path: '/home/eugene/Vouch/trigger/development/web/node_modules/express' } 
npm ERR! Error: UNKNOWN, unknown error '/home/eugene/.npm/negotiator/0.3.0/package' 
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!  <[email protected]> 

npm ERR! System Linux 3.2.0-41-generic 
npm ERR! command "node" "/usr/local/bin/npm" "install" 
npm ERR! cwd /home/eugene/Vouch/trigger/development/web 
npm ERR! node -v v0.6.12 
npm ERR! npm -v 1.3.12 
npm ERR! path /home/eugene/.npm/negotiator/0.3.0/package 
npm ERR! code UNKNOWN 
npm ERR! errno -1 
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.5.tgz 
npm ERR! addPlacedTarball Could not remove "/home/eugene/.npm/qs/0.6.5/package" 
npm http 200 https://registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz 
npm ERR! addPlacedTarball Could not remove "/home/eugene/.npm/multiparty/2.2.0/package" 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  /home/eugene/Vouch/trigger/development/web/npm-debug.log 
npm ERR! not ok code undefined 
npm ERR! not ok code -1 

ответ

1

Проблема заключается в том, что версия экспресс используется в веб-приложениях триггера необходим более новую версию узла (по меньшей мере, 0,8), чем версия в официальных репозиториях Ubuntu LTS (0.6).

Вы можете установить узел 0.10 из PPA, который должен решить вашу проблему: https://launchpad.net/~chris-lea/+archive/node.js/

 Смежные вопросы

  • Нет связанных вопросов^_^