apollo-link-sentry icon indicating copy to clipboard operation
apollo-link-sentry copied to clipboard

Add the "@sentry/browser" package to the dependencies section in your package.json file, not in devDependencies

Open flynncodeit opened this issue 2 years ago • 3 comments

Because apollo-link-sentry depend on "@sentry/browser" package at runtime.

flynncodeit avatar Oct 30 '23 08:10 flynncodeit

Not necessarily, Sentry and Apollo could be used with React Native. In those contexts, i think this package should still work without that dependency.

spawnia avatar Oct 30 '23 14:10 spawnia

It is not working without sentry/browser. I have sentry/react-native. but still asking add sentry/browser. even added sentry/browser i could not find event on sentry console. it is going to conflict with sentry/react-native?

venumeshbhaibaldani avatar Apr 24 '24 01:04 venumeshbhaibaldani

What specifically is not working without @sentry/browser? Can you provide an error message? Alternatively, you may look at the source code and see where the dependency on @sentry/browser is used, perhaps we can change that to not require it.

spawnia avatar May 01 '24 11:05 spawnia

Closing due to lack of feedback.

spawnia avatar Sep 06 '24 08:09 spawnia