Error: Cannot find module 'uuid'


#1

I am having this error code:
Error code:
https://pastebin.com/QzFQfQtb

Package.json:
https://pastebin.com/k6kG2Sn1

Bot.js:
https://pastebin.com/QmGdMzvS

Project name: weibot-bot
Project link: weibot-bot.glitch.me
(Project is hidden)


#2

Issue fixed! I deleted node-modules so all modules will be re-installed.


#3

For future reference, running enable-pnpm in your project’s console should accomplish the same thing.


#4

Alright, thank you for the information.