SyntaxError: Unexpected token `(`
See original GitHub issueI have followed every step, but fore some reason it gives me an error message which is the following:
SyntaxError: Unexpected token ) at Object.exports.runInThisContext (vm.js:76:16) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (C:\Users\Home\Desktop\hexbot\node_modules\discord.js\src\index.js:3:14) at Module._compile (module.js:570:32)
My code is the same thing as the list. I use the recommended node.js and Visual Studio Code. Any help is appreciated 😄
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
@Consoli0 Here is my code
Thanks, the problem was i was using an older version of node thx 😄