2016-07-26 3 views
3

В последнее время Meteor был повышен до версии 1.4, и это здорово! К сожалению, для меня я не могу его обновить и создать журнал ошибок.Ошибка при обновлении до Meteor 1.4

While loading package [email protected]: 
error: Command failed: 
/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm 
rebuild --no-bin-links --update-binary 
sh: 1: node-gyp: Permission denied 

npm ERR! Linux 4.4.0-21-generic 
npm ERR! argv 
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" 
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" 
"rebuild" "--no-bin-links" "--update-binary" 
npm ERR! node v4.4.7 
npm ERR! npm v3.10.5 
npm ERR! file sh 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! syscall spawn 
npm ERR! [email protected] install: `node-gyp rebuild` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the bcrypt package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node-gyp rebuild 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs bcrypt 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls bcrypt 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR! 
/root/.meteor/packages/npm-bcrypt/.0.8.7.1i1986o++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1fwxhnx/npm-debug.log 
sh: 1: node-gyp: Permission denied 

npm ERR! Linux 4.4.0-21-generic 
npm ERR! argv 
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" 
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" 
"rebuild" "--no-bin-links" "--update-binary" 
npm ERR! node v4.4.7 
npm ERR! npm v3.10.5 
npm ERR! file sh 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! syscall spawn 
npm ERR! [email protected] install: `node-gyp rebuild` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the bcrypt package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node-gyp rebuild 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs bcrypt 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls bcrypt 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR! 
/root/.meteor/packages/npm-bcrypt/.0.8.7.1i1986o++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1fwxhnx/npm-debug.log 

Я уже пытался удалить и установить узлы js и npm, я думал, что это будет успешным, но та же ошибка все же появилась. Может кто-нибудь мне помочь?? спасибо

+0

, кажется, использует узел 4.4 +0,7. Метеор использует 0.10. не уверен, что это проблема. вы вручную изменили версию узла в файлах .meteor? – vijayst

+0

Нет, я не изменяю вручную, я изменяю глобально с помощью nvm, чтобы изменить версию. Ну как изменить версию узла в метеорных файлах? Я просто устанавливаю его и автоматически с помощью версии 0.10 – marc

+0

Это in.meteor/local/build/.node_version.txt. Я не знаю, как это изменить. – vijayst

ответ

0

несколько различных решений для вашего вопроса, в зависимости от платформы по адресу: https://github.com/meteor/meteor/issues/7469#issuecomment-235563857

(проблемы метеора обычно легче решить с помощью вопросов GitHub, чем переполнению стека Вопросы)

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