react-native-keys icon indicating copy to clipboard operation
react-native-keys copied to clipboard

Exited with status code 127 - Ios

Open abhishekpuresoftware opened this issue 7 months ago β€’ 7 comments

When trying to clear the build folder , Getting the error Exited with status code 127 - Ios

abhishekpuresoftware avatar Apr 21 '25 08:04 abhishekpuresoftware

πŸ‘‹ @abhishekpuresoftware Thanks for opening your issue here! If you find this package useful hit the star🌟!

github-actions[bot] avatar Apr 21 '25 08:04 github-actions[bot]

  • 1

ckotkar avatar Apr 28 '25 14:04 ckotkar

Is there any solution?

I think it's related to nvm but if I follow the instruction from the README.md file then I get exit code 127 (https://github.com/numandev1/react-native-keys#using-node-with-nvm-fnm-or-notion).

There was another proposed solution for this issue and with this solution I get exit code 1. (https://github.com/numandev1/react-native-keys/issues/53#issuecomment-2642439046)

ARobilynx avatar Jun 30 '25 10:06 ARobilynx

Is there any solution?

I think it's related to nvm but if I follow the instruction from the README.md file then I get exit code 127 (https://github.com/numandev1/react-native-keys#using-node-with-nvm-fnm-or-notion).

There was another proposed solution for this issue and with this solution I get exit code 1. (#53 (comment))

I had the same problem as you. Did you resolve this problem?

namdh03 avatar Jul 20 '25 16:07 namdh03

Is there any solution? I think it's related to nvm but if I follow the instruction from the README.md file then I get exit code 127 (https://github.com/numandev1/react-native-keys#using-node-with-nvm-fnm-or-notion). There was another proposed solution for this issue and with this solution I get exit code 1. (#53 (comment))

I had the same problem as you. Did you resolve this problem?

Yes I managed to solve this problem.

In this comment: https://github.com/numandev1/react-native-keys/issues/53#issuecomment-2642439046 At the top there are these exports:

export DEBUG_KEYSFILE=keys.debug.json
export RELEASE_KEYSFILE=keys.release.json

And make sure that the keys.debug.json and keys.release.json are existing. In my case they had a different name.

So if you are using nvm then you could use the above mentioned comment's command but make sure to use your file names in the exports.

Hope this helps πŸ˜„

ARobilynx avatar Jul 21 '25 04:07 ARobilynx

Is there any solution? I think it's related to nvm but if I follow the instruction from the README.md file then I get exit code 127 (https://github.com/numandev1/react-native-keys#using-node-with-nvm-fnm-or-notion). There was another proposed solution for this issue and with this solution I get exit code 1. (#53 (comment))

I had the same problem as you. Did you resolve this problem?

Yes I managed to solve this problem.

In this comment: #53 (comment) At the top there are these exports:

export DEBUG_KEYSFILE=keys.debug.json
export RELEASE_KEYSFILE=keys.release.json

And make sure that the keys.debug.json and keys.release.json are existing. In my case they had a different name.

So if you are using nvm then you could use the above mentioned comment's command but make sure to use your file names in the exports.

Hope this helps πŸ˜„

Thank you so much! However, during the build process, I encountered the following error:

/Users/xxx/Documents/x-App/node_modules/react-native-keys/ios/YeetJSIUtils.h:10:9 'jsi/jsi.h' file not found  
in file included from /Users/xxx/Documents/x-App/node_modules/react-native-keys/ios/YeetJSIUtils.mm:9:
Image

If you know how to fix this, I’d really appreciate your help.

namdh03 avatar Jul 27 '25 03:07 namdh03

Is there any solution? I think it's related to nvm but if I follow the instruction from the README.md file then I get exit code 127 (https://github.com/numandev1/react-native-keys#using-node-with-nvm-fnm-or-notion). There was another proposed solution for this issue and with this solution I get exit code 1. (#53 (comment))

I had the same problem as you. Did you resolve this problem?

Yes I managed to solve this problem. In this comment: #53 (comment) At the top there are these exports:

export DEBUG_KEYSFILE=keys.debug.json
export RELEASE_KEYSFILE=keys.release.json

And make sure that the keys.debug.json and keys.release.json are existing. In my case they had a different name. So if you are using nvm then you could use the above mentioned comment's command but make sure to use your file names in the exports. Hope this helps πŸ˜„

Thank you so much! However, during the build process, I encountered the following error:

/Users/xxx/Documents/x-App/node_modules/react-native-keys/ios/YeetJSIUtils.h:10:9 'jsi/jsi.h' file not found  
in file included from /Users/xxx/Documents/x-App/node_modules/react-native-keys/ios/YeetJSIUtils.mm:9:
Image If you know how to fix this, I’d really appreciate your help.

Did not encountered this issue, but I would try to just delete the node_modules and re install it and do the same with pods too.

rm -rf ./node_modules ./package-lock.json && npm install && cd ./ios && pod deintegrate && pod install && cd ..

ARobilynx avatar Jul 28 '25 08:07 ARobilynx