Unable to resolve module `react-native/Libraries/StyleSheet/StyleSheetPropType
See original GitHub issueEnvironment
Please provide the following information about your environment: ArchLinux kernel 4.19.23-1-lts Samsung Galaxy S9 Android 8.0.0
"react-native": "^0.58.5",
"react-viro": "2.13.0"
Description
Following the get started tutorial from on step 7 got the error that i show you on the image.
To reproduce you just have to follow the get started tutorial. It’s not working for me. Tried to solve the problem with the terminal output but didn’t work.
Thank you.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
0.62.1. error: Error: Unable to resolve module `react-native/ ...
Build completes but application fails to start with the error: error: Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty from ...
Read more >Unable to resolve module 'react-navigation'
This error means that either you haven't installed the react-navigation module or that you have installed the module but didn't re-built ...
Read more >MongoDB Atlas App Services & Realm
Fresh Setup: Realm React Native Error: Unable to resolve module `./subscription` from `node_modules/realm/lib/browser/index.js`.
Read more >React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >Running bundle using React Native and Javascript SDK ...
Running bundle using React Native and Javascript SDK causes an error. Bundling failed: Error: Unable to resolve module `util`.
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
Same issue for us
I temporary resolved this issue commenting the following code + each PropTypes declaration in the following components
var StyleSheetPropType = require('react-native/Libraries/StyleSheet/StyleSheetPropType')
var stylePropType = StyleSheetPropType(ViroPropTypes)
This is a workaround, consider downgrading react-native, 0.57.8 is fine
Hi @kaliatech, we are launching a new release shortly which will formally support React 0.59.