npm install is missing modules

前端 未结 6 1723
广开言路
广开言路 2021-02-04 01:53

Before I can run gulp in my project I need to run npm install. This works except on my computer, because I get the following error:

Err         


        
6条回答
  •  渐次进展
    2021-02-04 02:31

    I am using the same version of npm/node. Sometimes, it is like npm is "lost". What I suggest is :

    • rm of your node modules (at least the one that is concerned)
    • npm cache clean
    • run "npm install" several times, until all dependencies are resolved and no message are displayed

提交回复
热议问题