Error when requiring discordjs: “cannot find module ‘node:events'” [duplicate]
The required Node.js version for discord.js is v16.6. Without it you could get errors such as AbortController is not defined Unexpected token ‘?’ Cannot find module ‘node:events’ Simply just upgrade to v16.6 and these errors will be fixed.