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
Is migration guide exist? Now I tried to update to v3 and can't build app.
/Users/bardiamist/Library/Developer/Xcode/DerivedData/proj-gcfwctharjklzxamsqckslyxgkbd/Build/Intermediates.noindex/proj.build/Debug-iphonesimulator/proj.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 4: ../node_modules/@sentry/cli/bin/sentry-cli: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Reacted by Christophe Menager, Kesha, Nabyl and user512
@Bardiamist Try a full node_modules reinstall, that error looks to be a missing sentry cli. There shouldn't be changes needed for 3.0.0 apart from different event.origin values.
@Bardiamist Try a full node_modules reinstall, that error looks to be a missing sentry cli. There shouldn't be changes needed for 3.0.0 apart from different event.origin values.
I do have the same error @jennmueng.
It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
How could we fix this ?
Reacted by Bardiamist, Kesha, Ben London and Nabyl
I do have the same error @jennmueng.
It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
How could we fix this ?
While not the best long term solution, adding an explicit dependency on the CLI worked for me:
I do have the same error @jennmueng.
It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
How could we fix this ?
While not the best long term solution, adding an explicit dependency on the CLI worked for me:
The previous version had the wizard as a dependency, which in turn had the CLI as a dependency, that is why an explicit dependency of the CLI was not needed before.
@user512 We ended up not needing a full migration guide as we ended up making it fully backward compatible apart from the event.origin tag values which we are working on documenting soon.
Activity
bruno-garcia commentedon Aug 25, 2021
To recap:
initWith: feat: wrap method, profiler with App start and Stall tracking #1728Bardiamist commentedon Sep 1, 2021
Is migration guide exist? Now I tried to update to v3 and can't build app.
jennmueng commentedon Sep 1, 2021
@Bardiamist Try a full node_modules reinstall, that error looks to be a missing sentry cli. There shouldn't be changes needed for 3.0.0 apart from different
event.originvalues.Bardiamist commentedon Sep 1, 2021
Unfortunately not helped
christophemenager commentedon Sep 1, 2021
I do have the same error @jennmueng.
It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
How could we fix this ?
benlondon commentedon Sep 1, 2021
While not the best long term solution, adding an explicit dependency on the CLI worked for me:
numandev1 commentedon Sep 1, 2021
yes it is working
CesarLanderos commentedon Sep 1, 2021
can confirm that worked for me as well, the new version does not include the CLI as a dependency.
I don't know if versions 2.x.x had it or was part of the wizard to install it magically
CesarLanderos commentedon Sep 1, 2021
Yes, answered myself 😅
The previous version had the wizard as a dependency, which in turn had the CLI as a dependency, that is why an explicit dependency of the CLI was not needed before.
The new version has no wizard.
user512 commentedon Sep 1, 2021
Thank you for all the hard work!
I upgraded to 3.0 and was able to use the workaround from #1701 (comment) to make things work.
In #1701 (comment), it was mentioned there's a migration guide but I don't see it here: https://github.com/getsentry/sentry-react-native/blob/477f6fe42d1810501096ec1ecf5308ad5f0530d4/CHANGELOG.md, would you mind pointing me to the right direction?
jennmueng commentedon Sep 1, 2021
@user512 We ended up not needing a full migration guide as we ended up making it fully backward compatible apart from the
event.origintag values which we are working on documenting soon.jennmueng commentedon Sep 1, 2021
Closing this issue now. The
sentry-climissing dependency bug is now fixed in version 3.0.1.There is no migration guide as no changes will need to be made in your codebase when upgrading to 3.x from 2.x.