Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token { #3818

Closed
dhBunny opened this issue Feb 23, 2020 · 1 comment
Closed

Unexpected token { #3818

dhBunny opened this issue Feb 23, 2020 · 1 comment

Comments

@dhBunny
Copy link

dhBunny commented Feb 23, 2020

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)

@NotSugden
Copy link
Contributor

NotSugden commented Feb 23, 2020

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)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants