-
Notifications
You must be signed in to change notification settings - Fork 511
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
Xcode is having trouble finding node #475
Comments
Having same issue. I tried updating RN to make use of their |
@joeyfigaro Was able to run the project by installing another node version using brew i.e. |
duplicate of #486 (please reopen if I'm getting this wrong) |
For |
You can run Example: $ echo "$(realpath $(which node))"
/Users/<username>/.fnm/node-versions/v14.15.4/installation/bin/node |
Thanks @Schniz this looks good. And about I tried to add |
I thought about having an
This does not work due to the space in However, a symlink
To work just fine. |
I've also got this issue with react-native. For instance, the
and my
so everytime I reboot my computer, it does not work anymore. What I usually do is to remove the I would like to understand the difference between
What's the best? Thanks. |
I've tried that in my
Let me know if it's the best option. |
I added this to the # No node? Try to load via fnm
if ! command -v node &> /dev/null; then
output=$(zsh -l -c 'source ~/.profile; source ~/.zshrc; eval "$(fnm env --shell=zsh)" && fnm env')
eval "$output"
# if no node is found throw an error
if ! command -v node &> /dev/null; then
echo "Node could not be found: $SHELL $USER $HOME"
exit 1
fi
fi
export NODE_BINARY="$(realpath $(which node))" |
When I try to build react-native project on xcode, I get
On shell(zsh), I don't have any trouble with node and
which node
print outs/var/folders/nz/hh7gg42x1tjf443r4fq3xylm0000gn/T/fnm_multishells/33995_1623643112968/bin/node
.Is there anything I'm missing during installation process?
The text was updated successfully, but these errors were encountered: