You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has given me a few headaches now. I've been trying to build my e-commerce site with Gatsby and I keep getting errors I didn't have in development. I keep getting the common error 'ReferenceError: window is not defined' but I get no line number or code.
A quick project search proves my code doesn't reference the window object, so it must be in a dependency. How can I know which one?
Question
How can I get Gatsby to output more robust information about the build failure? Looking at other people's issues shows that most have exactly that: A page and line number to where the error is being thrown. Is this a configuration?
I didn't think the gatsby API files were necessary to this question but I will gladly add them if you need me to.
The text was updated successfully, but these errors were encountered:
This has given me a few headaches now. I've been trying to build my e-commerce site with Gatsby and I keep getting errors I didn't have in development. I keep getting the common error
'ReferenceError: window is not defined'
but I get no line number or code.A quick project search proves my code doesn't reference the window object, so it must be in a dependency. How can I know which one?
Question
How can I get Gatsby to output more robust information about the build failure? Looking at other people's issues shows that most have exactly that: A page and line number to where the error is being thrown. Is this a configuration?
I didn't think the gatsby API files were necessary to this question but I will gladly add them if you need me to.
The text was updated successfully, but these errors were encountered: