-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Android - Build issue with hermesCommand #37713
Comments
Can you please share your |
@cortinico of course 👍
|
Please comment out this line: - hermesCommand = "../../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc"
+ // hermesCommand = "../../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc" You're specifying the default value and you don't need to do so (as most likely your project setup is different). |
@cortinico I already tried this solution but when it comes to build I got this error :
|
The logic to detect where Lines 124 to 161 in ea4724b
The problem is that it seems like
Also this is really suspicious:
from your |
@cortinico could it comes from nvm like iOS ? Where we need to specify nvm with brew to fix build phase issue ? I think he don't find the react-native module because I'm in a mono-repo and the react native folder is at a parent node_modules folder from the project :
|
Yup that's the issue. Then you need to specify the path to
|
@cortinico we came back to the beginning of the issue then XD because it was what I make earlier MyApp is in the Project folder that why I put the command like this Also event in the Project folder when I test i also got this message
And the react native folder in node module exist when I put this in my terminal into the android/app folder I got :
|
But that's not what you shared above in the previous comment:
Can you clarify what's your folder structure? |
@cortinico sorry yes :
|
Ok so the path you should specify is relative to your root folder (which is
|
@cortinico thank you for your patience and your help, this was effectively a path relative to my root folder thank you |
I'm glad I was helpful @yalakkademy |
@cortinico I am also facing same issue. |
@cortinico I am facing the same issue in . 72 version |
New Version
71.3
Old Version
69.4
Build Target(s)
debug, release, stagging
Output of
react-native info
Issue and Reproduction Steps
Hi, this issue is a duplicate of #35927
But in my case I don't have any issue with the path to hermesc.
Does someone got a tips on how I can manage to fix this issue ?
Reproduction: Upgrade RN 69.4 to 71.3 and try to build an assembleRelease :
The text was updated successfully, but these errors were encountered: