React-native: 'RCTPackagerClient.h' file not found

Created on 31 Jan 2018  路  3Comments  路  Source: facebook/react-native

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.6.0
Yarn: 0.27.5
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2

Steps to Reproduce

(Write your steps here:)

  1. Upgrade react from 16.0.0-alpha.12 to 16.2.0
  2. Upgrade react-native from 0.47.2 to 0.52.2
  3. Reinstall all node_modules and Pods

Expected Behavior

Xcode Build with no Errors

Actual Behavior

Got following error:

../node_modules/react-native/React/Modules/RCTDevSettings.mm:23:9:
'RCTPackagerClient.h' file not found

image

I did not find any Issues with the same bug. But I also have no clue why I get this bug. Maybe someone can help me?

Locked

Most helpful comment

Adding 'DevSupport' to podfile fixed the issue.

pod 'React', :path => '../node_modules/react-native', :subspecs => [
'DevSupport',

All 3 comments

Adding 'DevSupport' to podfile fixed the issue.

pod 'React', :path => '../node_modules/react-native', :subspecs => [
'DevSupport',

I am still getting this error despite having 'DevSupport', in pod file. Can I expect any help here ?
Thanks

+1
the same problem!

Was this page helpful?
0 / 5 - 0 ratings