React/RCTBundleURLProvider.h'

2018-11-01  本文已影响15人  夭Y夭

'React/RCTBundleURLProvider.h' file not found

新建RN项目时在iOS端用xcode跑时有时会遇到 'React/RCTBundleURLProvider.h' file not found 错误,遇到这种错误一般有一下几种情况:

1. 没有执行 npm install 命令,没有安装依赖,此时执行 npm install 安装依赖即可.

2. 依赖已经安装,但还是会报这个错,此时将项目下node_modules文件夹删除,再次执行 npm install 命令安装依赖即可.

---------------------

原文:https://blog.csdn.net/qq_33323251/article/details/79489179

上一篇下一篇

猜你喜欢

热点阅读