NPM: ENOENT: no such file or directory, rename

后端 未结 13 2208
耶瑟儿~
耶瑟儿~ 2021-02-05 08:38

I was using gulp on the project, then i decide to deleted all the dev dependencies to switch to webpack, but every time i try to install using npm is get this error:

<         


        
13条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-05 08:42

    Deleting package-lock.json or node_modules & After running:

    npm install -g npm
    

    it is working for me again.

提交回复
热议问题