Hello I found this error appearing in my console today and I don’t know what is its cause. Can someone help me. https://ghostbin.com/paste/677e2
I was told that if I use enable-pnpm it would solve it and when I did do that it did solve it but my question here really is what causes it and what command can I run instead of enable-pnpm if I got this error outside of glitch.
We’ve seen problems with the better-sqlite3 package before, and typically running enable-pnpm in the console (which forces a §npm install) fixes the issue.
If that doesn’t work you can just provide your project domain and we can take a closer look.
Hey my error still persists but not on better-sqlite3 it is on Node-Opus. I have tried npm install and my node is on the latest version so now I don’t know what to do.
I think what Gareth means is that outside of Glitch (and within Glitch as well, for that matter), changing your Node version to something different will force a reinstall of your packages and fix the binding problem. enable-pnpm inside Glitch also has this effect, but that command is only available from a Glitch console. So just modifying your Node version (even just changing it, running ( p )npm install, and then changing it back may (should) fix the problem.