Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove expo-cli in favor of @expo/cli dependency for @nrwl/expo #121

Open
devcauldron opened this issue Sep 28, 2022 · 2 comments
Open

Remove expo-cli in favor of @expo/cli dependency for @nrwl/expo #121

devcauldron opened this issue Sep 28, 2022 · 2 comments

Comments

@devcauldron
Copy link

One of the updates in Expo 46 was to make @expo/cli package a locally installed bin package and remove the need to globally install expo-cli per this blog announcement. Here is the warning provided by expo-cli anytime it is run:

This command is being executed with the global Expo CLI. Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421
To use the local CLI instead (recommended in SDK 46 and higher), run:
› npx expo start

@expo/cli is a dependency of the [email protected] package so it will always be installed and available.

Even better, it is tied to the version of the Expo SDK that you are running unlike expo-cli which maintains a compatible version with all previous versions of the Expo SDK (further bloating it).

Unfortunately, when I attempt to remove expo-cli from my project, none of the executors will run as they cannot find the expo-cli package.

Please change the dependencies in the @nrwl/expo package to use the new @expo/cli to get ahead of the deprecation of the global expo-cli package in the upcoming versions of the Expo SDK.

@impleri
Copy link

impleri commented Oct 12, 2022

Duplicate of nrwl/nx#12154

@devcauldron
Copy link
Author

thanks for linking @impleri - I didn't realize it was being managed in the other repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants