Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Yarn no good for the scripts #847

Open
billnbell opened this issue Mar 17, 2021 · 0 comments
Open

Yarn no good for the scripts #847

billnbell opened this issue Mar 17, 2021 · 0 comments

Comments

@billnbell
Copy link

billnbell commented Mar 17, 2021

To get my build to work:

npx react-native run-ios

Putting this command in package.json:
"ios": "npx react-native run-ios",

Then running "yarn ios" does not work. The script that runs will error in FBReactNativeSpec. So I tried:

npm run ios

And that solved it.

Posting this so someone can fix yarn, and update the docs. Some issue with bash forking in yarn and your script.

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

No branches or pull requests

1 participant