-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
"No dimensions set for key window" error after fresh 0.44.0 install #13758
Comments
+1 |
same issue on run-android |
same here The error does not show up when building "Release" on a device, only "Debug". |
+1 |
Sounds strange, but doesnt happen for me. |
Is it possible that any of you are using |
@rawrmaan This happens on a fresh install. |
@rawrmaan Not quite
|
Try closing terminal, deleting ios/build and run again. I had the same issue but now its working. |
try importing StaticContainer from react native |
For the case of android, try close terminal, run |
+1 Same issues. Fresh install. iOS |
I had the same error on a brand new project. Turned out I had an old Package Manager running from a different project. Once I closed that, the fresh app worked after running |
Same issue. Got it on Android |
Just close terminal, open a new one, run npm cache clean, and run your project again. Boom, done! |
Update 05/22/17: Turns out the underlying issue here for us was we were running 2 different versions of React Native... An included gradle dependancy was bumping our RN version up and our bundle was expecting a lower version.
|
We're seeing this on Android and our |
Got same issue with fresh install on android. I closed the old Package Manager running from a different project and it worked. |
After reading all the commentaries I and trying different solutions, I got this 5 points. Maybe they are helpful for someone else.
|
You can also try clearing cache:
or if you have yarn installed:
|
Also close all package manager terminal windows running from different projects. |
@rkbhochalya clearing cache resolves. thanks. |
Same issue at fresh project.Closing terminal and clearing cache didnt work.I am totally stuck.target sdk 22 |
I get the same error on Android 6 with React Native v0.44.0,I downgrade RN version to v0.43.0, it is work. |
@rkbhochalya clearing cache also resolves. thanks! |
|
@NickJorgensen Have you worked out any approach to solve the problem? Only when release can have this mistake |
@rkbhochalya Only when release can have this mistake Can you solve it |
+1 Same error |
I had the same problem but thanks to the comments I managed to solve it. I upgraded to: After that: That solved it. |
+1 |
+1 |
+1 Update: After running Here's some of the versions for my packages.
|
node v7.10.0 was working for me, but node v8.0.0+ was not. |
Just running |
I got this problem again, but this time
didn't help. After a while the project started again, but I have no idea of why! |
I run into this on iOS, when I switched react native versions. I think it happens due to stale react native binaries. Cleaning the project and running the build in Xcode solved it for me. |
Close all terminal |
For the case of android, try close terminal,then run react-native run-android, worked for me. |
if you got issue with Debug build, you can fix it as above. |
I'm getting this on 0.49.0 in iOS but only in the Release build. Appears to be a timing issue as it happens randomly. Any work-around on this? //edit Running |
Mine is solved after downgrading npm from @5 to @4.6.1 |
If none of the above solutions helped, it could be that you misspelt window with a capital W. It should in all lower case letters. |
Description
After a fresh install of react native the following error appears on screen:
Reproduction Steps and Sample Code
Additional Information
The text was updated successfully, but these errors were encountered: