NPM: ENOENT: no such file or directory, rename

后端 未结 13 2194
耶瑟儿~
耶瑟儿~ 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:44

    You can try by removing the package-lock.json with the command rm package-lock.json then you go to the Node.JS website you 'install it' by going to LTS then after your node is updated run npm install in your terminal and that worked for me.

提交回复
热议问题