Whenever NPM updates, (sometimes even randomly), even when I dont touch the project, ill get the error on ‘require’ that it could not find the express module (the first required dependency).
However its able to be fixed by running ‘npm install’ or ‘pnpm install’ the most recent issue was today and was fixed by ‘enable-pnpm’
While its able to be fixed, having the server break randomly and figuring it out after it causes issues is very problematic.
I’ve tried a lot of things so if anyone has a solution or fix it would be very appreciated. Thanks.
Btw im running whatever is the default nodejs version. (Version 10.x.x something…?)