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
run command like sentry-cli --auth-token token react-native appcenter DEPLOYMENT android ./build/CodePush --deployment Staging --dist 7 -org org --project app Notice the single -org that should be --org
see this error
> Fetching latest AppCenter deployment info
> Processing react-native AppCenter sourcemaps
error: No such file or directory (os error 2)
be really confused because other issue mentioning this error are about java args or metro workers
pull this repo and change react-native/appcenter.rs line 136 and compile
for path in matches.values_of("paths").unwrap(){println!("WTF is this >>>>>>>>>>>>> :{}", path);for entry in(fs::read_dir(path)?).flatten(){
run same command and see
> Fetching latest AppCenter deployment info
> Processing react-native AppCenter sourcemaps
WTF is this >>>>>>>>>>>>> :./build/CodePush
WTF is this >>>>>>>>>>>>> :org
error: No such file or directory (os error 2)
Realise -org issue in command
feel dumb and cry.
Expected Result
Would be nice if it gave you the same error as when it finds args it doesn't recognise
error: Found argument '--anything' which wasn't expected, or isn't valid in this context
or maybe output the path it errored on would have been super helpful
Actual Result
Gives a file system error because it some how parses the unknown arg as a path
> Fetching latest AppCenter deployment info
> Processing react-native AppCenter sourcemaps
error: No such file or directory (os error 2)
The text was updated successfully, but these errors were encountered:
Hey, thanks for the detailed report. Unfortunately we cannot make it as nice as
error: Found argument '--anything' which wasn't expected, or isn't valid in this context
as this is coming directly from args parsing library. We need to allow values like -dir to be handled, as this is valid directory name in most systems.
And because paths are multi-value and position-independent arguments, they are not easily distinguishable.
I updated the error message here, which should let people find the problem way faster - #1287
Environment
Any I think
Steps to Reproduce
sentry-cli --auth-token token react-native appcenter DEPLOYMENT android ./build/CodePush --deployment Staging --dist 7 -org org --project app
Notice the single-org
that should be--org
react-native/appcenter.rs
line 136 and compile-org
issue in commandExpected Result
Would be nice if it gave you the same error as when it finds args it doesn't recognise
or maybe output the path it errored on would have been super helpful
Actual Result
Gives a file system error because it some how parses the unknown arg as a path
The text was updated successfully, but these errors were encountered: