Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native 0.40 #import <React/RCTBundleURLProvider.h> doesn't find the file for build configuration other than Debug

Let's say that I create a new Build Configuration "Debug Copy" that is actually a copy from "Debug" configuration. If I select "Debug" configuration all is working fine(project compiles), but if I select "Debug Copy" project doesn't compile with error 'React/RCTBundleURLProvider.h' file not found. I need multiple build configuration and in the version 0.39 all was working fine.

Link to Github Issue

Error Image

like image 526
Adrian Zghibarta Avatar asked Nov 08 '22 02:11

Adrian Zghibarta


1 Answers

I had the same problem with a 0.41 RN new project and i deleted node_modules and did a fresh npm install, and it started working again.

like image 191
Nuno MSB Avatar answered Nov 14 '22 21:11

Nuno MSB