Repository navigation
Conversation
|
before this fix the error was like this one A problem occurred evaluating script.
> React Native CLI failed to determine Android project configuration. This is likely due to misconfiguration. Config output:
[root:/app/packages/app/android, reactNativePath:/app/node_modules/react-native, dependencies:[:], commands:[], assets:[], platforms:[:], haste:[providesModuleNodeModules:[], platforms:[]], project:[:]] |
thymikee
left a comment
There was a problem hiding this comment.
We can't do that. Not every project uses yarn. We may try having some kind of feature detection, but we wanted to avoid that. That's why we use globally available npx, but it seems to have issues in some environments. We would like to first understand why npx fails
|
can we use |
|
No, we can't. "start" usually (and likely not always, as projects differ) runs metro and won't work with extra "config" argument. Can you share a repro where the problem happens so we can investigate? |
|
like this https://github.com/entria/entria-fullstack but we need to remove nohoist on that |
|
worked well here https://github.com/entria/entria-fullstack with npx gonna need more time to figure it out why our internal repo is failing I'm gonna reopen if I figure it out |
Summary:
run local react-native cli version, so it does not have some kind of mismatch of react-native version
Test Plan:
Run against a monorepo using yarn workspaces without nohoist option