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

TypeError: Cannot read property 'injection' of undefined #363

Closed
rodrigooler opened this issue Sep 25, 2018 · 2 comments
Closed

TypeError: Cannot read property 'injection' of undefined #363

rodrigooler opened this issue Sep 25, 2018 · 2 comments
Labels
bug Something isn't working react-native

Comments

@rodrigooler
Copy link

Error occurs when you try to view Button from example https://github.com/pedronauck/docz-plugin-react-native/tree/master/example that was posted in README.md

captura de tela 2018-09-24 as 21 38 59

{
  "name": "rndocz",
  "version": "0.0.1",
  "dependencies": {
    "react": "16.5.0",
    "react-native": "0.57.1",
    "styled-components": "^3.4.9"
  },
  "devDependencies": {
    "babel-jest": "23.6.0",
    "docz": "^0.11.2",
    "docz-plugin-react-native": "^0.11.2",
    "docz-theme-default": "^0.11.2",
    "jest": "23.6.0",
    "metro-react-native-babel-preset": "0.46.0",
    "react-test-renderer": "16.5.0"
  },
  "jest": {
    "preset": "react-native"
  },
  "private": true,
  "scripts": {
    "docz:build": "docz build",
    "docz:dev": "docz dev",
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  }
}
@nicholasess
Copy link
Contributor

nicholasess commented Sep 28, 2018

@rodrigooler Is there someone package that need to use react native link? Our feature has limitation with that.

@rodrigooler
Copy link
Author

@nicholasess as the package.json above I created the project from scratch exactly to test the compatibility of docz with react-native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react-native
Projects
None yet
Development

No branches or pull requests

4 participants