ELIFECYCLE error node js

One day my page was working and now its not. I don’t know how to fix this. This error happened when running “npm start” and none of my files loaded and got file not found errors in the client side console.I tried clearing the cache and npm would keep on reinstalling. I removed packages that I didn’t need and this error still occured.

npm i express

1 Like

If that doesn’t work, enable-pnpm

npm i express
It worked thanks, just really weird why that error occurred.

These errors are super random. I was on repl.it the other day, and const finder = require("file-regex") simply refused to work, so I had to manually install it with the CLI.

I wonder if this is a common issue with cloud repos…