Skip to content
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

iOS Build Failure: Node Command Not Found #87

Open
Pakile opened this issue Dec 18, 2024 · 1 comment
Open

iOS Build Failure: Node Command Not Found #87

Pakile opened this issue Dec 18, 2024 · 1 comment

Comments

@Pakile
Copy link

Pakile commented Dec 18, 2024

During iOS build process, encountered a critical error:
line 13: node: command not found Command PhaseScriptExecution failed with a nonzero exit code

Steps to Reproduce

    1. yarn add nodejs-mobile-react-native
    1. cd ios && pod install
    1. Open Xcode and attempt to build project

Troubleshooting Steps Attempted

Reviewed Issue: #74

react-native info

System:
OS: macOS 15.1.1
CPU: (11) arm64 Apple M3 Pro
Memory: 100.84 MB / 18.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.16.0
path: ~/.nvm/versions/node/v20.16.0/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.8.1
path: ~/.nvm/versions/node/v20.16.0/bin/npm
Watchman:
version: 2024.11.18.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.19072.14.2412.12360217
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 3.2.2
path: /Users/phuongnguyen/.rvm/rubies/ruby-3.2.2/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

@valavanisleonidas
Copy link

valavanisleonidas commented Dec 19, 2024

+1 same issue. in xcode logs i see

Showing Recent Messages

/Library/Developer/Xcode/DerivedData/app/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/app.build/Script-EE3139C441E2E9F078063B42.sh: line 13: node: command not found


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants