Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

RCTPushNotificationManager.h:8:9: fatal error: 'React/RCTEventEmitter.h' file not found #1144

@stevenleeg

Description

@stevenleeg

Hi there,

After manually linking react-native-push-notification as per the documentation I've found myself running into this issue on a freshly init'd React Native project:

In file included from [...]/node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.m:8:
[...]/node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.h:8:9: fatal error: 'React/RCTEventEmitter.h' file not found
#import <React/RCTEventEmitter.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Command Analyze failed with a nonzero exit code

Any ideas as to what might be causing this? I've seen the issue arise from a few other projects, along with a similar report from this project in this stack overflow question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions