maxs15 / maxs15/react-native-modalbox
TypeError: Cannot read property 'create' of undefined
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
`var styles = StyleSheet.create({` -> `var styles = {` or `var styles = Object.create({`
```
"react-native": "0.44.0",
"react-native-modalbox": "1.3.9",
```
```
TypeError: Cannot read property 'create' of undefined
at Object. (node_modules/react-native-modalbox/index.js:18:22)
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with node_modules/react-native-modalbox/index.js at line 18 and compare the reported react-native 0.44.0 and react-native-modalbox 1.3.9 versions. Reproduce the TypeError, then verify the modal component initializes without the error and that the existing usage remains compatible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100