07-21-2023, 04:07 PM
If you are developing a React Native based solution and you are using NVM for local Node versioning, the error may be due to this.
**XCode cannot find the Node version**, of course XCode `fetches the Node in the / usr / local / bin / node directory` and NVM stores the Node in another directory like `Users / $ {my-user} /. Nvm / versions /node/v14.16.0/bin/node`
To work it is enough to create an alias for XCode to find the Node in its default search:
sudo ln -s $(which node) /usr/local/bin/node
**XCode cannot find the Node version**, of course XCode `fetches the Node in the / usr / local / bin / node directory` and NVM stores the Node in another directory like `Users / $ {my-user} /. Nvm / versions /node/v14.16.0/bin/node`
To work it is enough to create an alias for XCode to find the Node in its default search:
sudo ln -s $(which node) /usr/local/bin/node