packager.sh seems to not find node binary when using NODE_BINARY variable #22868
Closed
3 tasks done
Labels
Bug
Good first issue
Interested in collaborating? Take a stab at fixing one of these issues.
Platform: Linux
Building on Linux.
Priority: Low
Resolution: Locked
This issue was locked by the bot.
Tech: Bundler 📦
This issue is related to the bundler (Metro, Haul, etc) used.
Environment
Description
In
https://github.com/facebook/react-native/blob/master/scripts/packager.sh
node is called directly, without using the one defined byNODE_BINARY
variableSo, when using other alternatives than nvm or nodenv (I use nodeenv, but in a pipenv python virtualenv, to be fully isolated from the system), XCode fail, telling node is not found
Reproducible Demo
To setup a virtualenv as I did :
Install python pipenv tool at user level:
Then setup a virtualenv and activate node
Setup the react-native stack
Retrieve the virtualenv path
Configure xcode shell script for react native building with NODE_BINARY using the virtualenv path (+ bin/ subdirectory) then try to build => Error
The text was updated successfully, but these errors were encountered: