Installed node modules are missing according to the system (Multiple projects)

As of the 21st of February, multiple projects of mine have been returning errors that installed modules are missing, even with them being listed in the package. I have tried reinstalling the packages by both editing the package.json file directly and then by removing them from the file and installing them via the supplied “Add a package” button. The easiest example of this issue is from a project I have recently returned to and found that it had been erroring for a while despite when leaving it, it was working perfectly fine.

Project: cscwinventory

internal/modules/cjs/loader.js:613
throw err;
^
Error: Cannot find module ‘sqlite3’
Require stack:
Jump To- /app/classes.js
Jump To- /app/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:610:15)
at Function.Module._load (internal/modules/cjs/loader.js:526:27)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
Jump Toat Object. (/app/classes.js:2:22)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)

Package.json dependencies
image

EDIT:
When I try to force reinstall any modules, it returns the error that npm does not have access to the node_module file on the machine

Open the console and run npm install packagename for each module it says doesn’t exist.

This was one of the methods I had already attempted, it ran the standard install until it tries to modify the package.json file in which it errors stating that it has no access to edit that file.

enable-pnpm would reinstall the modules…