Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - eMadman

Pages: [1]
1
Technical Support & Development / Error with app.js in Ubuntu Server
« on: October 14, 2017, 05:04:29 AM »
This is with 5055 on Ubuntu.  I have the bot running correctly using Sjakil's Gui, but if I try to run the Gunbot gui with the node app.js command, I end up getting this errror message:


/home/emad/gunbot/app.js:4
const { StringDecoder } = require('string_decoder');
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3

Pages: [1]