Closed thescientist13 closed 6 years ago
actually it comes from here https://github.com/gatsbyjs/gatsby/blob/v2/packages/gatsby/src/cache-dir/develop-static-entry.js#L76
good find @nihgwu !
Happy to make a PR. What do you think the best course of action would be; remove that line? Make it conditional?
@thescientist13 Hah, you might be too late :) @nihgwu already opened PR to fix this - https://github.com/gatsbyjs/gatsby/pull/5837
closed via #5837
doh! There goes my chance for some swag! 😆
Nice work @nihgwu !
Description
I was working my way through the upgrade process to v2 for my website and wanted to report a network request error observed when using
gatsby develop
.gatsby build
does not show this error.Steps to reproduce
gatsby develop
and opened the browserExpected result
Actual result
Environment
File contents (if changed)
gatsby-config.js
:package.json
: N/Agatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/AThoughts
It seems the issue is likely coming from [webpack.config.js]()
Everything works fine for my setup fwiw. Let me know how to help, hopefully this would be a simple fi and I could help out!
Thanks for everything and let me know if you need more info! The upgrade was straightforward for me and everything else is working as expected. 👍