Skip to content

Installation and setup #13

@dinosaw

Description

@dinosaw

I know you don't advise others to set this up, but any help you could provide would be appreciated.

My first question is, what version of Node do you recommend for this? I've tried 6.x and 8.x and both seem to give me problems.

Right now I've gotten further by using 6.x, however it still stops when I attempt to run index.js:

$ node index.js 
error: uncaughtException: Unexpected token ; date=Thu Oct 25 2018 18:31:13 GMT-0400 (EDT), pid=31062, uid=0, gid=0
/root/apps/logviewer/bot.js:343
    let channelObj = {name: data[PARAM].slice(1), id: data[TAGS]["room-id"];
                                                                           ^
SyntaxError: Unexpected token ;
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:528:28)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/apps/logviewer/index.js:176:13)
    at Module._compile (module.js:556:32)

I have all the settings.json filled out (excluding Discord configurations).

Any idea what I could be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions