"Error: Cannot find module" Error

Hello, Glitch Support Team.

Every time I enter my glitch bot project, I get the error “Error: Cannot find module”. I install the modules, but when I re-enter my project after a while, I encounter the same error. Can you tell me if there is a solution to this?

Try enable-pnpm

Or npm rebuild.  

1 Like