Simpleboy353 / REAPER-2.0

A multi-purpose discord bot made using Discord.js V14. Includes Logging, Welcomer, Slash Commands, Menu based Help Command and so much more!
GNU General Public License v3.0
329 stars 225 forks source link

SyntaxError: Unexpected token ? #120

Closed SrPeterr closed 2 years ago

SrPeterr commented 2 years ago

Hi! Im getting this error... I just forked the repo, cloned it, did npm install and then node .

image

Simpleboy353 commented 2 years ago

You need to install nodejs v16.6 or higher

Simpleboy353 commented 2 years ago

I would recommend using node version 16.10.0 or 16.11.0

SrPeterr commented 2 years ago

That worked! But now Im getting another error :( I have python installed...

image

Simpleboy353 commented 2 years ago

Follow these steps:

1). Delete the node_modules folder and the package-lock.json file. Delete package-lock.json file and not package.json

2). Open Powershell with Admin perms and then run npm install --global-windows-build-tools

3). Then open Visual Studio Code or your code editor again and do npm install in terminal to re-install the required dependencies.

This should probably fix this error.