ReferenceError: Can't find variable: Window

I’m still quite new to app development/react native, so this could just be me being an idiot, but recently I keep having problems with building the app.
I’ve been trying to do some small customizations on the app and was able to successfully build it before, but suddenly it just keeps crashing. I’ve tried reinstalling everything, running the unedited project again, which also failed, and I even tried doing the same on another machine, but it always crashes with the same “ReferenceError: Can’t find variable: Window” message.
At this point I don’t really know what else to try. Does anyone have en idea, what the cause for this could be?

  • I have the same problem, does anyone know how to fix it ???

the casing seems to be wrong. try to search for Window and replace it by windowin the project.

I solved my problem by downgrading “@webcomponents/url”: “0.7.5” down to “@webcomponents/url”: “0.7.1”, in package.json