Error: Cannot find module '../build/Release/canvas.node' how to fix?

Error: Cannot find module ‘…/build/Release/canvas.node’ how to fix this? my project name is rsg-bot.
i already tried enable-pnpm

Try to remove the node_modules directory from the Glitch app and reinstall the packages again:

rm -rf node_modules
npm install
refresh

Happy Glitching, let me know if the issue persists.

@chroventer
Schermopname%20(34)

1 Like

You probably did not uninstall your node_module directory before reinstalling.

i did rm -rf node_modules doesnt that uninstall?

hmm it gaved that error when reinstalling but it did work thanks
@chroventer

1 Like