You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumped both @sentry/capacitor and @sentry/react using npm i @sentry/capacitor@latest @sentry/react@latest
Received some error output indicating a peer dependency violation. @sentry/capacitor@latest requires a very specific, exact version of @sentry/[email protected]
Fine, I installed the exact version npm i @sentry/[email protected] --save-exact
My app appears to compile and run without issue, but there is still a large error output indicating some variable or export mismatch in sentry internals
Expected Result
When the correct sdk versions and peerDeps are installed, the app should run without errors
Hi and thank you for opening this issue!
Could you tell the versions inside the package @sentry/utils, @sentry/react and @sentry/capacitor?
you can find this information at node_modules/@sentry/utils/package.json, node_modules/@sentry/react/package.json, node_modules/@sentry/capacitor/package.json
I just ran npm upgrade @sentry/utils and it looks like I can now compile without errors. Seems that for some reason this upgrade was not made automatically when I made the other version migrations
Environment
What version are you running? Etc.
Steps to Reproduce
@sentry/capacitor
and@sentry/react
usingnpm i @sentry/capacitor@latest @sentry/react@latest
@sentry/capacitor@latest
requires a very specific, exact version of@sentry/[email protected]
npm i @sentry/[email protected] --save-exact
Expected Result
When the correct sdk versions and peerDeps are installed, the app should run without errors
Actual Result
The text was updated successfully, but these errors were encountered: