expo / expo-cli

Tools for creating, running, and deploying universal Expo and React Native apps

Home Page:https://docs.expo.io/workflow/expo-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still not able to get CLI to work....

jdcrunchman opened this issue · comments

Summary

WARNING: expo-cli has not yet been tested against Node.js v18.15.0.
If you encounter any issues, please report them to https://github.com/expo/expo-cli/issues

When I run npm install -g expo-cli as per instructions, I'm sad to report that this expo-cli is 4.7.3. It is NOT the latest. I've not gotten
ANY version to work.

Environment

Need to install the following packages:
expo-env-info@1.0.5
Ok to proceed? (y) y

expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.1
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.15.0 - ~/miniforge3/envs/react/bin/node
Yarn: 1.22.19 - ~/miniforge3/envs/react/bin/yarn
npm: 9.5.0 - ~/miniforge3/envs/react/bin/npm
Watchman: 2023.06.26.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmGlobalPackages:
expo-cli: 4.7.3
Expo Workflow: bare

Please specify your device/emulator/simulator platform, model and version

My device is iPhone 13. ios 16.5.1, VSCode editor

Error output

I don't understand "Your command here", were you referring to "npx expo start". I'm not sure this is what you are looking for.

Reproducible demo or steps to reproduce from a blank project

I installed expo-cli as follows: npm install --global expo-cli@6.3.9
(react) johndraper@Johns-MacBook-Pro native-project % npx expo start
WARNING: The legacy expo-cli does not support Node +17. Migrate to the new local Expo CLI: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421.
┌───────────────────────────────────────────────────────────────────────────┐
│ │
│ This version of expo-cli is not supported anymore.

Unable to find expo in this project - have you run yarn / npm install yet?
SEE ABOVE!!, YES I DID.. │
│ It's highly recommended to update to the newest version.

I did.... \

Hi @jdcrunchman! I'm not sure where we document that you have to install the expo-cli, this CLI has been deprecated for some time now. If it's documented on docs.expo.dev, please open a new issue on github.com/expo/expo with the links to those pages.

You don't need the expo-cli anymore, we've migrated to the CLI included within the expo package itself: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421

Hope this helps!