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:
ln -s $ (which node)/usr/local/bin/node
Post
Replies
Boosts
Views
Activity
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:
ln -s $ (which node) / usr / local / bin / node