Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve module domain from node_modules/@sentry/hub/dist/hub.js on upgrade to 1.3.4 #808

Closed
6 of 11 tasks
wmarsey opened this issue Mar 26, 2020 · 1 comment
Closed
6 of 11 tasks

Comments

@wmarsey
Copy link

wmarsey commented Mar 26, 2020

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

SDK version: @sentry/[email protected]
react-native version: 0.61.5

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

Configuration:

Sentry.init({
  dsn: 'https://[email protected]/...'
});

I have following issue:

Can't build in dev or prod, get the error:
Unable to resolve module domain from node_modules/@sentry/hub/dist/hub.js: domain could not be found within the project.

have tried

  • npx react-native-clean-project
  • using the sentry-wizard to uninstall and install again
  • downgrading 1.3.3

Looks like this was once an issue in sentry-javascript, and i see that theres a dependency version bump of @sentry/browser in 1.3.4.

I thought going back to 1.3.3 would work but the error persists. I notice that when installing 1.3.3 yarn resolves to @sentry/[email protected], @sentry/[email protected] etc, even though this commit makes it look like the dependencies only went up after 1.3.3 release? I am confusion

Steps to reproduce:

  • yarn add @sentry/[email protected]
  • npx react-native run-ios (or run-android, or yarn start, or cd android ./gradlew clean && ./gradlew installBundle etc)
@wmarsey
Copy link
Author

wmarsey commented Mar 26, 2020

ah didn't press submit until after lunch... duplicate of #807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant