Open franklinjavier opened 6 years ago
react-native-web@^0.8
isn't compatible with react-native@^16.5
, but it's already fixed: necolas/react-native-web@506dba9
That fix was released on version 0.9.0 of react-native-web: https://github.com/necolas/react-native-web/releases/tag/0.9.0
While docz-plugin-react-native isn't updated, you can put this on your package.json and run yarn install
to force the correct version:
"resolutions": {
"docz-plugin-react-native/react-native-web": "^0.9.0"
}
I have the following error when I go to each components page.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `o`.
@pedronauck I'm experiencing the same issue as @yo7.
Steps taken:
example
folderyarn install
yarn dev
Alert
or Button
componentBtw, your generated docs are very well designed. Such a pleasure to look at it. I love the attention to detail!
Trying to run example folder, following the instructions from readme, but got this error