NPM: ENOENT: no such file or directory, rename

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

    Iam using
    -node v15.5.0

    -npm v6.14.10

    Try this:

    1. close "expo start"
    2. remove "package-lock.json"
    3. Try to install packages now

    example: npm i @react-navigation/native

    This will fix the issue.

提交回复
热议问题