Hi, I am experiencing some issues installing rocket.chat in Centos 7. Unfortunately my hosted server does not support docker or snap, so I need the bare installation.
Everything seems to be ok as per https://rocket.chat/docs/installation/manual-installation/centos/ until I reach the step, here I have a warning
Rocket.Chat Documentation - Deploying Rocket.Chat on Centos 7
Rocket.Chat user, admin, API, integration, plugin and contributing documentation.
meteor-dev-bundle@~install: cannot run in wd %s %s (wd=%s) meteor-dev-bundle@ node npm-rebuild.js /opt/Rocket.Chat/programs/server
if I ignore that and move on, later on step I get a
root@vps2 [/opt/Rocket.Chat]# node main.js
Meteor requires Node v8.0.0 or later.
and doing a node --version I get v6.12.3
any suggestion on how to resolve it?
this was a path problem, now resolved - the version installed with ‘n’ wasn’t being used
Sorry, I’m experiencing the same exact problem. Can you please give some other details about the solution?
while this doesnt fully fix the problem when you create your systemd script as long as you put it like this:
you should be fine
I have same problem in debian,
root@sp2lnx1:~/rocketchat/Rocket.Chat/programs/server# npm install
npm WARN lifecycle meteor-dev-bundle@~install: cannot run in wd %s %s (wd=%s) meteor-dev-bundle@ node npm-rebuild.js /root/rocketchat/Rocket.Chat/programs/server
updated 1 package in 0.936s
root@sp2lnx1:~/rocketchat/Rocket.Chat/programs/server# node ../../main.js
Error: MONGO_URL must be set in environment
at Object.<anonymous> (packages/mongo/remote_collection_driver.js:36:11)
at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
at new Collection (packages/mongo/collection.js:97:40)
at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
at server_main.js (packages/accounts-base/server_main.js:9:12)
at fileEvaluate (packages/modules-runtime.js:343:9)
at require (packages/modules-runtime.js:238:16)
at Array.forEach (<anonymous>)
at Function.run (/root/rocketchat/Rocket.Chat/programs/server/profile.js:510:12)