I am just getting started with Expo and trying to create my first project. I installed Node.js (v14.0.0) via Homebrew, and installed installed expo-cli
using npm
by running the following command as mentioned in the Expo quick start guide:
# Install the command line tools
npm install --global expo-cli
# Create a new project
expo init my-project
However, I received an error when running the expo init my-project
command which looks like this:
ERROR: Node.js version 14.0.0 is no longer supported.
expo-cli supports following Node.js versions:
>=10.13.0 <11.0.0 (Active LTS)
>=12.0.0 <13.0.0 (Active LTS)
>=13.0.0 <14.0.0 (Current Release)
I tried running expo
, expo-cli
, expo diagnostics
, and I keep getting the same error message every time. I am practically unable to run expo
command.
I checked Node.js release notes, and turns out Node.js has recently been bumped to version 14.x.
Can someone familiar with Expo development and release timelines help with what should be the recommend approach here out of the following two?
Downgrade to an older stable and Expo supported version of Node.js.
Wait for an update to Expo (only if an update to Expo is in pipeline to be released soon).
I am using a Mac running the current latest public release of macOS Catalina version 10.15.4 (19E287).
Same problem today, I'm using nvm and selected node version is v13.7.0. The solution was to upgrade expo-cli to latest version ([email protected]).
Working @ May 2020
$ brew uninstall node --ignore-dependencies node
$ brew install node@12
$ brew link --force --overwrite node@12
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With