Discord.js: Unexpected token {

Created on 23 Feb 2020  路  1Comment  路  Source: discordjs/discord.js

Some discord.js files are returning the error of Unexpected token {

Some of the files doing so can be found here and here -- Both are screenshots.

As far as I know JavaScript, I think it should be replaced with this:

} catch (e) {

(as part of the trycatch method)

invalid

Most helpful comment

you need to update your node version, seems your version is lower than the required version (6.0.0 for stable and 10.2.0 for master)

>All comments

you need to update your node version, seems your version is lower than the required version (6.0.0 for stable and 10.2.0 for master)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Brawaru picture Brawaru  路  3Comments

DatMayo picture DatMayo  路  3Comments

iCrawl picture iCrawl  路  3Comments

Alipoodle picture Alipoodle  路  3Comments

Acaretia picture Acaretia  路  3Comments