sentry-react-native: Error: Unable to resolve module `react-native/Libraries/promiseRejectionTrackingOptions`

react native:0.61.4 sentry:3.2.4

error: bundling failed: Error: Unable to resolve module react-native/Libraries/promiseRejectionTrackingOptions from node_modules/@sentry/react-native/dist/js/integrations/reactnativeerrorhandlers.js: react-native/Libraries/promiseRejectionTrackingOptions could not be found within the project.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (7 by maintainers)

Most upvoted comments

@marandaneto Yes, it is a runtime error.

I’ve added:

  "resolutions": {
   "promise": "^7.1.1"
 }

but it didnt work.

@jennmueng The error has been fixed,i am using version 3.2.5.