Skip to content

Commit

Permalink
docs: --yarn option
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Mar 21, 2019
1 parent 6b850e6 commit 86763a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ rn-nodeify <options>
--install install node core shims (default: install all), fix the "browser"
and "react-native" fields in the package.json's of dependencies
--hack hack individual packages that are known to make the React Native packager choke
--yarn use yarn instead of npm
```

### Examples
Expand Down Expand Up @@ -108,7 +109,6 @@ copied from [react-native-crypto](https://github.com/tradle/react-native-crypto)
- when installing a package from git, the postinstall hook isn't triggered, run it manually instead (`npm run postinstall`)
- restart the react-native packager after installing a module!
- removing the packager cache helps as well sometimes (`rm -fr $TMPDIR/react-*`)
- rn-nodeify currently uses `npm` to install shims. PRs are welcome to make it compatible with `yarn`
- use `npm@3`. `npm@5` has some issues that cause `node_modules` to disappear. See:
- https://github.com/tradle/rn-nodeify/issues/42
- https://github.com/infinitered/ignite/issues/1101
Expand Down

0 comments on commit 86763a2

Please sign in to comment.