OS:
Platform:
SDK:
@sentry/react-nativereact-native-sentrySDK version: 0.0.0
react-native version: 0.0.0
Are you using Expo?
Description goes here ...
Steps to reproduce:
Actual result:
error: bundling failed: Error: Unable to resolve module `domain` from `node_modules/@sentry/hub/dist/hub.js`: domain could not be found within the project.
Expected result:
Have the same issue with:
"@sentry/react-native": "^1.3.4",
Message:
Error: Unable to resolve moduledomainfromnode_modules/@sentry/hub/dist/hub.js: domain could not be found within the project.
My command to reproduce this:
react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'
We are on it
FYI this PR broke it
https://github.com/getsentry/sentry-javascript/pull/2515
Potential fix, we need to validate it with webpack but it works for react-native
https://github.com/getsentry/sentry-javascript/pull/2521
Sorry about this issue https://github.com/getsentry/sentry-javascript/pull/2515#issuecomment-604314979
JS tooling is hard
thanks for this quick work!
it looks like we can't downgrade out of the problem... I've been doing fresh installs etc and @sentry/[email protected] and 1.3.3 are both now resolving to @sentry/[email protected] with yarn, so I still can't build -- does that sound right?
For anyone needing a workaround, I did a fork and locked the version.
The branch fix131 has the temporary solution.
https://github.com/PasseiDireto/sentry-react-native/tree/fix131
Thanks
Sounds about right, we will do a new release today for sure
New version of @sentry/* is released, a clean install should install 5.15.2 with the fix
I will release a new @sentry/react-native version as well with the bump.
Again, sorry for the inconvenience.
1.3.5 has been released
Hi guys,
I still have the same issue, even with 1.3.5 version.
Could you please check again?
@aknyazyan Please clean your node modules and lock file and make sure you get the @sentry/* dependencies above 5.15.2
Removed node_modules, package-json.lock, installed 1.3.5 version. @sentry/* dependencies version is 5.15.2. Error exists (
Most helpful comment
We are on it