Troubleshooting
    1.
    babel-runtime:
If you are having the following error:
1
(STDERR) Error: The babel-runtime npm package could not be found in your node_modules
2
(STDERR) directory. Please run the following command to install it:
3
(STDERR)
4
(STDERR) meteor npm install --save babel-runtime
5
(STDERR)
6
(...)
7
=> Exited with code: 1
8
=> Your application is crashing. Waiting for file change.
Copied!
Just install the mentioned package with the following command:
1
meteor npm install --save babel-runtime
Copied!
    1.
    bcrypt:
If you see the following warning in the meteor logs:
1
(STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
2
(STDERR) While this implementation will work correctly, it is known to be
3
(STDERR) approximately three times slower than the native implementation.
4
(STDERR) In order to use the native implementation instead, run
5
(STDERR)
6
(STDERR) meteor npm install --save bcrypt
7
(STDERR)
Copied!
Don't panic =) It means that the bcrypt library is not installed on your system and meteor will use a javascript alternative that is about three times slower.
If you want to install the library to make it faster, use the following command:
1
meteor npm install --save bcrypt
Copied!
If the version of the python interpreter on your system is greater than v2.5.0 or less than 3.0.0, it should work fine, but, if you see a message like this:
1
gyp ERR! configure error
2
gyp ERR! stack Error: Python executable "/usr/local/bin/python3" is v3.5.2, which is not supported by gyp.
3
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
Copied!
After you are sure that you have a python interpreter that matches the above requirements, use the following command to fix the error:
1
meteor npm config set python python2.7
Copied!
Build it again:
1
meteor npm install --save bcrypt
Copied!
If everything works, you should see a message like this:
1
> node-gyp rebuild
2
3
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
4
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
5
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
6
SOLINK_MODULE(target) Release/bcrypt_lib.node
7
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
8
[email protected] /Users/douglas/work/github/Rocket.Chat
10
11
Copied!
Last modified 6mo ago
Export as PDF
Copy link