Debugger attached. Waiting for the debugger to disconnect... internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module 'node:events'
I am using discord.js and node.js on Visual Studio Code
To fix this issue, you need to update your nodejs to v16.6 or higher version from here,
Download