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

ReferenceError: document is not defined #91

Open
piotrblasiak opened this issue Feb 21, 2018 · 1 comment
Open

ReferenceError: document is not defined #91

piotrblasiak opened this issue Feb 21, 2018 · 1 comment

Comments

@piotrblasiak
Copy link

When running on the server, 3.0.0-rc.3 fails with:

node_modules/react-measure/lib/utils.js:15
var body = document.body;
^
ReferenceError: document is not defined

@Ruffeng
Copy link

Ruffeng commented Mar 1, 2018

Same problem here

EDIT: Just saw that you're rewriting the package and we should install version 2, not 3.

@jeetiss jeetiss mentioned this issue Jun 19, 2018
souporserious added a commit that referenced this issue Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants