Module.js - error cannot find module

My project dailyworkout.glitch.me is experiencing an error, and complaining that module.js cannot find the module ‘safe-buffer’.

I updated all my dependencies, and all it did was change the module it could not find. I also tried rm -rf node_modules, then npm install, but to no avail. Is this an issue that can be fixed at your end? The project was working perfectly yesterday.

Thank you,
Alex

Hey @alexclifton4, sorry for the bother. running enable-pnpm in the console usually resolves this sort of problem.

Hope this helps!

Thank you!
I’ve added that to my mental book of tricks

1 Like