Skip to content

🐛 Bug Report: Expo: Unable to resolve "@novu/js/internal" from "node_modules/@novu/react/dist/cjs/hooks/NovuProvider.cjs" #8886

@jackall3n

Description

@jackall3n

📜 Description

Hey,

I'm trying to integrate Novu into an Expo application, but receiving this error:

Unable to resolve "@novu/js/internal" from "node_modules/@novu/react/dist/cjs/hooks/NovuProvider.cjs"

Versions:

"@novu/js": "^3.7.0"
"@novu/react": "^3.7.0"
"@novu/react-native": "^3.7.0"

👟 Reproduction steps

Steps to reproduce:

  • Checkout novuhq/novu-expo
  • npm install @novu/react-native@latest @novu/react@latest @novu/js@latest
  • npm run ios --clear
  • See error

Note: this repo works correctly with the existing ^2.3.1 versions. Also, upgrading the expo SDK to latest shows the same error

👍 Expected behavior

  • Load the application successfully

👎 Actual Behavior with Screenshots

Image

Novu version

3.7.0

npm version

10.8.2

node version

20.18.2

📃 Provide any additional context for the Bug.

Edit/Further investigation ⚠️ : This issue occurs in all packages after 3.3.1. Downgrading to @novu/*@3.3.1 fixes this issue

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions