Node.js 如果我在react native npm ERR中安装任何软件包,则出现错误!代码eNONT

Node.js 如果我在react native npm ERR中安装任何软件包,则出现错误!代码eNONT,node.js,reactjs,react-native,react-router,react-native-android,Node.js,Reactjs,React Native,React Router,React Native Android,NPM版本-6.13.4 节点版本-v12.16.1 我正在尝试安装npm I react native router flux--save 和得到错误 npm ERR! code ENOENT npm ERR! syscall rename npm ERR! path G:\reactnative\Testing\node_modules\babel-plugin-react-transform npm ERR! dest G:\reactnative\Testing\node_modules

NPM版本-6.13.4

节点版本-v12.16.1

我正在尝试安装
npm I react native router flux--save

和得到错误

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path G:\reactnative\Testing\node_modules\babel-plugin-react-transform
npm ERR! dest G:\reactnative\Testing\node_modules\.babel-plugin-react-transform.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'G:\reactnative\Testing\node_modules\babel- 
plugin-react-transform' -> 'G:\reactnative\Testing\node_modules\.babel-plugin-react-transform.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Bhaman\AppData\Roaming\npm-cache\_logs\2020-03-29T08_40_57_081Z-debug.log
我该如何解决这个错误?有什么想法可以告诉我吗

我正在检查这个答案,但没有找到解决方案

谢谢

错误已解决

使用此命令

react-native start --reset-cache --verbose

这个问题与此相关吗@keikai未找到此文件\node\u modules\.babm.DELETE'尝试以下操作: