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

React-Native: "Can't find variable: document" #8050

Closed
erez-guesty opened this issue Sep 11, 2019 · 2 comments
Closed

React-Native: "Can't find variable: document" #8050

erez-guesty opened this issue Sep 11, 2019 · 2 comments

Comments

@erez-guesty
Copy link

Describe the bug
On run Storybook theres an error: React-Native: "Can't find variable: document"

image

To Reproduce
Steps to reproduce the behavior:

  1. Follow Storybook setup docs
  2. yarn run storybook
  3. react-native run-ios
  4. See error

Expected behavior
Should run without error.

Screenshots
If applicable, add screenshots to help explain your problem.

Code snippets
If applicable, add code samples to help explain your problem.

System:

Environment Info:

  System:
    OS: macOS 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v8.11.1/bin/npm
  Browsers:
    Chrome: 76.0.3809.132
    Safari: 12.1.1
  npmPackages:
    @storybook/addon-actions: ^5.1.11 => 5.1.11
    @storybook/addon-links: ^5.1.11 => 5.1.11
    @storybook/addons: ^5.1.11 => 5.1.11
    @storybook/react-native: ^5.1.11 => 5.1.11
    @storybook/react-native-server: ^5.1.11 => 5.1.11
    @storybook/theming: ^5.1.11 => 5.1.11
  npmGlobalPackages:
    @storybook/cli: 3.4.3

Additional context
Returning bug
#6910
#6489

Already ran adb reverse tcp:7007 tcp:7007 - not helping.

@stale
Copy link

stale bot commented Oct 2, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Oct 2, 2019
@stale
Copy link

stale bot commented Nov 1, 2019

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

@stale stale bot closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants