Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@d4ng3r0u5 I use a lot of Docker as well, which is why it's even mind-boggling :p
The only thing that changes between staging and production is the passwords used for the database n such :^) -
klutch4274yI had this issue for a while while getting up to speed on Gatsby.
You can initialize and run code that accesses the window object at run time, but when you build for production the pages build via SSR so it throws errors if attempting to access said code without initialization in a render method.
Related Rants
Don't you just love it when something works in your development environment, your staging environment and then randomly breaks on production? :^)
rant
random errors
production
staging