Sentry-react-native: error: bundling failed: Error: Unable to resolve module `./tracing`

Created on 8 Jan 2020  路  1Comment  路  Source: getsentry/sentry-react-native

OS:

  • [x] Windows
  • [ ] MacOS
  • [ ] Linux

_Platform:_

  • [ ] iOS
  • [x] Android

SDK:

  • [x] @sentry/react-native
  • [ ] react-native-sentry

react-native version: 0.61.4
"@sentry/react-native": "^1.2.1",

Init Code:

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

I have following issue:

Loading dependency graph, done.
error: bundling failed: Error: Unable to resolve module ./tracing from node_modules\@sentry\integrations\dist\index.js:

None of these files exist:

  • node_modules\@sentryintegrations\dist\tracing(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  • node_modules\@sentryintegrations\dist\tracingindex(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)

Steps to reproduce:
sentry-wizard -i reactNative -p ios android --skip-connect

  • npm run android

weird thing is, if I go to node_modules\@sentryintegrations\distindex.js`
it does nowhere require tracing, i am coming from sentry-expo and rn < 0.60 can this be cached somewhere?

Actual result:

  • does not build

Expected result:

  • does build

Most helpful comment

ok react-native start "--reset-cache"
did the trick -.-

>All comments

ok react-native start "--reset-cache"
did the trick -.-

Was this page helpful?
0 / 5 - 0 ratings