Trying to Follow Tutorial for installing Rocket.chat on nginx, but failing

Discussion in 'Installation/Configuration' started by adamjedgar, Dec 4, 2019.

Tags:
  1. adamjedgar

    adamjedgar Member

    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
    [email protected]:/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?
     
  2. adamjedgar

    adamjedgar Member

    Last edited: Dec 4, 2019

Share This Page