Ask coding questions

← Back to all posts
ConnorisTyping (0)

Hey, i am continuously getting an error on my code even when i try make a new one, or even a new account it still doesnt work this is the error its giving me

const token = this.client.token ?? this.client.accessToken;

SyntaxError: Unexpected token '?'

Can anyone help me???

JacobBirch (6)

@19ecal responded as well, but that answer was wrong. This is a api issue with node modules, its best to go to package.json and change the version to ^12.5.1 for example.