创建反应应用程序丢失的文件?

时间:2018-06-26 09:31:01

标签: node.js reactjs react-native npm

npm ERR! path C:\Users\Alex\AppData\Roaming\npm\node_modules\create-react-native-app\build\index.js
npm ERR! code ENOENT
npm ERR! errno -4058  
npm ERR! syscall chmod  
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users  \Alex\AppData\Roaming\npm\node_modules\create-react-native-app\build\index.js'  
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\Alex\AppData\Roaming\npm-cache\_logs  \2018-06-26T16_24_58_412Z-debug.log  

尝试学习React Native,但入门者无法正常工作。它在抱怨什么?

1 个答案:

答案 0 :(得分:0)

  1. 尝试npm cache clean --force
  2. 重新启动系统。
  3. 确保您的目录具有读写权限。

仍然没有修复更新节点和npm