When I build an expo-ejected project with XCode, it fails with the following message.
ERROR: Node.js version 11.1.0 is no longer supported. expo-cli supports following Node.js versions: * >=8.9.0 <9.0.0 (Maintenance LTS) * >=10.13.0 <11.0.0 (Active LTS) * >=12.0.0 (Current Release) Command /bin/sh failed with exit code 1
I have indeed used Nodejs v11. * And so I installed the latest version 12.6.0 and uninstalled all previous versions, but I still get this message. Why did this happen?
Nodejs has everything installed via Nodebrew and my environment and what I have done is the following.
- MacOS: 10.14.6
- Xcode: 10.3
- Expo: 3.0.4
- Thread: 1.15.2
$ node --version v12.6.0 $ nodebrew ls v12.6.0 current: v12.6.0 $ expo init xcode-node-issue $ cd xcode-node-issue $ yarn eject $ cd ios $ pod install $ open xcode-issue-repro.xcworkspace Xcode launches, set Team in General -> Signing and ▶️ button to build but results build failure