sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

Error when running the @sentry/wizard script

Open ruanblima opened this issue 3 years ago • 8 comments

I am trying to set up sentry in my react native project. But when I try to execute the script "npx @sentry/wizard -i reactNative -p ios android" this error occurs

Environment

Node v16.13.0

React native "react-native": "0.63.4",

Sentry "@sentry/react-native": "^3.4.2",

Steps to Reproduce

  1. Execute the command

Actual Result

image

image

ruanblima avatar May 26 '22 02:05 ruanblima

@ruanblima Can you give the full stacktrace of the error, please? It's hard to say why it's not finding a module without knowing what module it is and what code is trying to load that module.

lobsterkatie avatar Jun 13 '22 16:06 lobsterkatie

image

ruanblima avatar Jul 02 '22 13:07 ruanblima

imagem @lobsterkatie

ruanblima avatar Jul 02 '22 13:07 ruanblima

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Jul 24 '22 00:07 github-actions[bot]

@marandaneto - Do you have theories here? Is escalade something we use?

lobsterkatie avatar Jul 26 '22 00:07 lobsterkatie

@lobsterkatie no idea, but apparently escalade is a dependency of yargs. @ruanblima have you tried using a more recent version of node? have you tried to clean the node_modules and install it again? it does not seem related to Sentry itself.

marandaneto avatar Jul 26 '22 05:07 marandaneto

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Aug 17 '22 00:08 github-actions[bot]

@ruanblima any news here?

marandaneto avatar Aug 17 '22 08:08 marandaneto

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!

marandaneto avatar Oct 26 '22 08:10 marandaneto

I have a mono repo project for React Native. When I run wizard, I shown error:

Sentry Wizard failed with:
Command failed: yarn add @sentry/react-native
error Running this command will add the dependency to the workspace root rather than 
the workspace itself, which might not be what you want - if you really meant it, 
make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).


Protip: Add --debug to see whats going on
OR use --help to see your options

I tried again with a few commands to ignore the workspace

npx @sentry/wizard -s -i reactNative -W
npx @sentry/wizard -s -i reactNative -- -W

But it's not work How can I do that?

Thanks

ngvcanh avatar Jul 12 '23 02:07 ngvcanh