18

Don't you just love it when something works in your development environment, your staging environment and then randomly breaks on production? :^)

Comments
  • 4
    Yes. Only worse is, if it works for one client but not for another.
  • 1
    Gotta love that for sure.
  • 0
    @sbiewald I am solving this problem only on my VPS 😔
  • 0
    I have an old stuck feature with this even though we already use Docker
  • 0
    @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 :^)
  • 0
    I 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.
Add Comment