-
Notifications
You must be signed in to change notification settings - Fork 25
Unable to resolve module dimensions? #4
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
Comments
React Native 0.70+ introduced the need to use this instead require('react-native').Dimensions |
@jmstout This doesn't fix the issue for me, I still get this error on React-Native 0.14.2 |
This fixes the issue found here jmstout#4 (comment)
I also get the same error |
Me too. This should be fixed. (React v0.15) |
This fixes the issue found here jmstout#4 (comment)
This is fixed if you apply the patch in PR# #5 |
Hi, You can fix it by changing the following in viewport-unit.js: from: after that restart packager |
…ding it to .gitignore. NOTE: Needs patch from jmstout/react-native-viewport-units#4 to fix build error.
i am getting this error on the latest version of react native "Unable to resolve module Dimensions from" then viewport-units.j |
i am getting this error on the latest version of react native
"Unable to resolve module Dimensions from" then viewport-units.js
The text was updated successfully, but these errors were encountered: