-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Npx/Node detection is needed #628
Comments
Found the failing pre-action. It seems you are running an npx command without locating it first. I'm using mise which doesn't add npm/node/npx to the path, so it fails to find the |
I have worked around this by modifying the pre-action script:
Unfortunately I cannot find a better way to make tools like In order to make the node scripts work I also have to do stuff like:
Which works because the RN scripts use this env file to locate node before running the node commands. Probably you want to also use something similar or even the same .xcode.env.local file to detect the correct paths. |
We would love to support such tools definitely. Do you think there is a better way that's not specific to this tool that we can use to detect node? If we want to go this route where we have commands for each specific tool, it will |
I don't think there is a generic way to detect this kind of tools. I had some issues with ASDF in the past (the predecessor to mise) and I remember seeing a bunch of ifs on the react-native scripts to detect nvm, asdf, etc |
Going to close this. This is not an issue with builder-bob itself, but rather with how Xcode detects installed tools and environments. |
Description
Just tried creating a new library using:
When I try to run the example app on Xcode the codegen step fails:
Packages
Selected options
C++ Turbo Module with new arch, NO backward compatibility, with Vanilla test app.
Link to repro
A new library, no change
Environment
The text was updated successfully, but these errors were encountered: