I'm using Expo with React Native but when trying to create a new project I get the error:
ERROR: Node.js version 11.13.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)
$ node --version
v11.13.0
$ npm install npm@latest -g
...lib/node_modules/npm/bin/npx-cli.js
+ npm@6.10.3`
added 6 packages from 4 contributors, removed 11 packages and updated 36 packages in 9.92s
$ node --version
v11.13.0
$ expo init myApp
...throws same error above again.
EDIT:
$ which node
/Users/hasen/.nvm/versions/node/v11.13.0/bin/node
$ /usr/local/bin/node --version
v10.16.2