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

How to use with Yarn Workspaces #95

Open
annie-elequin opened this issue Aug 18, 2020 · 3 comments
Open

How to use with Yarn Workspaces #95

annie-elequin opened this issue Aug 18, 2020 · 3 comments

Comments

@annie-elequin
Copy link

Seems that my project can't find "process" when attempting to run the postinstall script.

Do I need to nohoist the url, process, stream, events, etc things that I choose to install with rn-nodeify?

If so, do I use those names, or do I need to use the names of the packages that are actually installed (because aren't they named something different and they map to the real packages?)

@adeyahya
Copy link

@annie-elequin have you solve this?

@adeyahya
Copy link

@annie-elequin my case solved by duplicating keys react-native and browser into root package.json and doing postinstall in root of the monorepo instead.

@annie-elequin
Copy link
Author

ooo I think I switched to using a different library (node-libs-react-native I think) but thank you!! I have been thinking of switching back to rn-nodeify so I will be sure to reference this if I have problems

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