npm ERR! 404 Not Found: event-stream@3.3.6

前端 未结 6 540
青春惊慌失措
青春惊慌失措 2020-12-12 20:45

I am trying to deploy my project and I\'m suddenly getting this error.

npm ERR! 404 Not Found: event-stream@3.3.6

6条回答
  •  春和景丽
    2020-12-12 21:20

    Actually we don't need to update all the packages that depends on event-stream@3.3.6.

    You can open the package-lock.json, remove all the event-stream references and call npm install again. It will be faster.

    After that, npm shrinkwrap && mv npm-shrinwrap.json package-lock.json should update just the event-stream references and not the whole file

提交回复
热议问题