I have copied and pasted every command from the tutorial on installing rocket.chat...to be honest, if the trouble i am having installing it is indicative of the quality of the program i wonder if i am not wasting my time...its bloody terrible. 1. the rocket.chat download file gets a gzip error (saying its not a gzip file)...i found the solution for that off stack exchange, however, now i am striking a new problem at the 11th hour of the installation. 2. syntaxError: Unexpected Token root@server1:/var/www/Rocket.Chat# node main.js /var/www/Rocket.Chat/programs/server/boot.js:58 const { pause } = require("./debug.js"); ^ SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/var/www/Rocket.Chat/main.js:4:1) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) I have tried 3 different tutorials for this and every single one of them has failed (Vultr, Rocket.chat, and now howtoforge) what does the above error mean and how do i fix it?
I found a far better option Step 1. Install Ubuntu (latest) Step 2. Setup a Sudo User on your new Ubuntu 18 server https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart Step 3. sudo snap install rocketchat-server https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1 https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/ you can also use snaps to auto add the SSL certificate as well. it doesnt get any easier than that