at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/rbd/pnpm-volume/1f5d0e3c-b57d-430e-8063-e3c58a5830f5/node_modules/.registry.npmjs.org/better-sqlite3/5.0.1/node_modules/better-sqlite3/lib/database.js:5:21)
at Module._compile (module.js:653:30)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
Can you help me to fix this error, please?
Sorry for bad grammar.
Thank you.
For both your problem and yours, @klerikdust, I would suggest running enable-pnpm in your project’s console (which you can reach from the Status pane revealed by clicking the Status button under your project’s name in the editor).
Let me know how you get on and we can troubleshoot further if need be.
That’s not necessarily relevant based on the way projects can be restored from cold backup. enable-pnpm will trigger a reinstall of the project’s node modules which may resolve the issue.
@cori Could you come and take a look at my project and see how this can be fixed, I have had this problem for the past 2 hours now and cannot get it fixed no matter what I try. Project name is: cmb
This had started off when my logs were once again telling me I did not have express installed when I clearly did.
Hey @Callum-OKane I resolved the error you were seeing by adding node-superfetch directly to your project’s package.json. There’s now a different error message seemingly unrelated to installation. I added that package in the laziest possible way, using “*” for the version definition, so you might want to change that to a more specific version at some point.