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

feat: remove hacky check for faulty global react-native installation #198

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Mar 3, 2019

Summary:

This check was always hacky, got a lot of false-positives and it seems to cause more bad than good. We never encourage people to install react-native globally (just react-native-cli, but that will change soon), and CLI binary shouldn't be blocked by the fact that somebody run it in a different way – e.g. through npx.

This unblocks npx react-native init App command, that @Esemesek is working on.

Fixes #197

Test Plan:

Running CLI locally works regardless of where and how it's called.
cc @grabbou this should also make it easier to work in RNTester.

Copy link
Member

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

@cpojer cpojer merged commit 45ade50 into master Mar 4, 2019
@thymikee thymikee deleted the feat/remove-global-check branch March 12, 2019 13:03
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

Successfully merging this pull request may close these issues.

2 participants