meteor npm start shows me error...
Your Rocket.Chat version: 0.49.0
[email protected] start /home/devs/Rocket.Chat meteor npm i && meteor
[email protected] install /home/devs/Rocket.Chat/node_modules/bcrypt node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download: https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.1/bcrypt_lib-v1.0.1-node-v46-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v46 ABI) (falling back to source compile with node-gyp)
make: Entering directory /home/devs/Rocket.Chat/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
make: g++: Command not found
make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Error 127
make: Leaving directory /home/devs/Rocket.Chat/node_modules/bcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gyp ERR! System Linux 3.10.0-327.10.1.el7.x86_64
gyp ERR! command "/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/devs/Rocket.Chat/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/home/devs/Rocket.Chat/node_modules/bcrypt/lib/binding"
gyp ERR! cwd /home/devs/Rocket.Chat/node_modules/bcrypt
gyp ERR! node -v v4.6.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/devs/Rocket.Chat/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/devs/Rocket.Chat/node_modules/bcrypt/lib/binding' (1)
node-pre-gyp ERR! stack at ChildProcess.
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
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-pre-gyp install --fallback-to-build
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! /home/devs/Rocket.Chat/npm-debug.log
npm ERR! Linux 3.10.0-327.10.1.el7.x86_64
npm ERR! argv "/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/home/devs/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "start"
npm ERR! node v4.6.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: meteor npm i && meteor
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'meteor npm i && meteor'.
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 Rocket.Chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! meteor npm i && meteor
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Rocket.Chat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Rocket.Chat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/devs/Rocket.Chat/npm-debug.log
what should I do? am I the only one who got this error?
solved my self, just installed yum groupinstall "Development Tools" and upgrage gcc 4.4.7 to 4.8.2
if you are on centos , follow this instruction.
cd /etc/yum.repos.d wget http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo yum -y --nogpgcheck install devtoolset-3-gcc devtoolset-3-gcc-c++ scl enable devtoolset-3 bash
2016-12-24 4:09 GMT+09:00 Guofu Huang [email protected]:
What is the solution? How to upgrade gcc?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/5249#issuecomment-269033068, or mute the thread https://github.com/notifications/unsubscribe-auth/ATTRCAB3X1yUHyPkT20gizJOXNTq2p6fks5rLBxzgaJpZM4LQHs5 .
I'm having the same issue on OSX trying to install RC 0.49
> [email protected] install /Users/***/Rocket.Chat/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download: https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.1/bcrypt_lib-v1.0.1-node-v46-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v46 ABI) (falling back to source compile with node-gyp)
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn EACCES
gyp ERR! stack at exports._errnoException (util.js:911:11)
gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:309:11)
gyp ERR! stack at exports.spawn (child_process.js:362:9)
gyp ERR! stack at exports.execFile (child_process.js:151:15)
gyp ERR! stack at checkPythonVersion (/Users/***/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/node-gyp/lib/configure.js:419:5)
...
any clue on how to solve it on OSX ?
Thanks
@steven-tib
for me
node-pre-gypERR! Tried to download: https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.1/bcrypt_lib-v1.0.1-node-v46-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v46 ABI) (falling back to source compile with node-gyp)
this part was not problem....
as I can see gyp ERR! stack Error: spawn EACCES
I think you have a problem which is related with some permission.
I've just tried in another folder on my computer, and it finally works. Maybe it's because I was in my dropbox folder and permission were not set the same.
Thanks for your help