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 error ; can't find variable document; can't find variable location #7

Open
metgold opened this issue Jul 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@metgold
Copy link

metgold commented Jul 26, 2022

No description provided.

@frankieali
Copy link
Contributor

frankieali commented Jul 26, 2022

Hey @metgold I heard this might be a problem with Next.js as well. This issue is actually related to 3d-dice/dice-box. I implemented code using document.location with asset paths for the purposes of toggling between dev mode and production mode. I'll see if I can find a better solution for this so browser variables are not a dependency.

@frankieali frankieali added the bug Something isn't working label Jul 26, 2022
@frankieali frankieali self-assigned this Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants