Hey I am getting this when I do:
const { REST } = require('@discordjs/rest');
const { Routes } = require('discord-api-types/v9');
Here is the error:
Any fix for this error or packages?
Upgrade your Node.js version.
You're using a version of Node.js that doesn't support the ?? operator, which the version of Discord.js you're using does require.
I did in a .replit file: run = "npm i node@14.0.0" It updated. Thanks for all your help!