I am trying to deploy my project and I\'m suddenly getting this error.
npm ERR! 404 Not Found: event-stream@3.3.6
As mentioned in the comments, the underlying issue was the package-lock.json
(the lockfile) contained a deprecated package. Deleting the lockfile and re-installing the dependencies resolved the issue.
The fastest way to do this is these 2 steps:
package-lock.json
filenpm i
(or npm install
) to re-install dependencies