Haul does not recognize react-native as a peerDependency
See original GitHub issueYour Environment
We work in a monorepo that hoists common dependencies up to the root folder with Lerna. This means that react-native itself is not installed in the project folder, but is two levels higher in the filesystem.
Current Behavior
haul init throws an error that it can’t find react-native
haul start --platform ios also cannot find react-native and exits
Expected Behavior
Haul should resolve up the file system tree as node/webpack does to find a version of react-native
Haul Configuration (webpack.haul.js)
Minimal config in a test application
| software | version |
|---|---|
| Haul | v0.6.0 |
| react-native | 44.0 |
| node | v6.9.1 |
| npm or yarn | npm 3.10.8 |
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Circle CI node 4 container is always failing when installing ...
On my branch feature/hmr node 4 container is always failing when installing ... package babel-preset-react-native@1.9.2 does not satisfy its .
Read more >Could not resolve react-native peer dependency
It seems like 2 packages have peer dependencies with the react-native package: react-native-async-storage/async-storage@1.17.5; react-native-svg ...
Read more >Develop React (Native) apps like a PRO - Medium
I've noticed that many programmers don't pay enough attention to things ... Now you should see peerDependencies versions listed within a JS ...
Read more >react-native - npm
A framework for building native apps using React. Latest version: 0.70.6, last published: a month ago. Start using react-native in your ...
Read more >Understanding Peer Dependencies in JavaScript
I'm sure you can see that if you also add 2 more plugins, ... In this case, you would declare React as a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This sounds good to me
Fixed in master in #165