question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't find 'node' binary to build React Native bundle

See original GitHub issue

Environment

Environment: OS: macOS 10.14.1 Node: 8.11.2 Yarn: Not Found npm: 5.6.0 Watchman: 4.9.0 react-native: 0.55.4, Xcode: Xcode 10.1 Build version 10B61 Android Studio: 3.2 AI-181.5540.7.32.5056338

Packages: (wanted => installed) react: 16.3.1 => 16.3.1

Description

I cant build my app on iOS anymore,


❌  error: Can't find 'node' binary to build React Native bundle```

Can you help? I have tried everything I could find on the previous issues

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

56reactions
tristankenneycommented, Jan 21, 2019

I was able to workaround the issue using this answer from StackOverflow

ln -s $(which node) /usr/local/bin/node
6reactions
MaffooBristolcommented, Sep 27, 2019

I would recommend against symbolically linking your node binary; it can cause issues elsewhere. Instead set the binary within XCode as it suggests in the error:

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native ios build : Can't find node - Stack Overflow
During the build, the node binary cannot be found, even though Xcode builds are working with regular (non-Expo) React Native projects.- Both ...
Read more >
Can't find 'node' binary to build React Native bundle - Notion
ln -s $(which node) /usr/local/bin/node.
Read more >
[Resolve]-React Native ios build : Can't find node
error: Can't find 'node' binary to build React Native bundle If you have non-standard nodejs installation, select your project in Xcode, find 'Build...
Read more >
Error with xcode-archive step - can't find node binary
The xcode-archive step started failing (after previous successful builds) with the error: Can't find the '/usr/local/opt/node/bin/node' ...
Read more >
Ios – React Native ios build : Can't find node - iTecNote
error: Can't find 'node' binary to build React Native bundle If you have non-standard nodejs installation, select your project in Xcode, find 'Build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found