Help
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
/home/runner/CMC-Bot/node_modules/discord.js/src/rest/RESTManager.js:32
const token = this.client.token ?? this.client.accessToken;
^
SyntaxError: Unexpected token '?'
Can anyone help me???
Voters
@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.