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

tom-barnes picture tom-barnes  路  3Comments

kvn1351 picture kvn1351  路  3Comments

BrandonCookeDev picture BrandonCookeDev  路  3Comments

DatMayo picture DatMayo  路  3Comments

ghost picture ghost  路  3Comments