-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v2][gatsby-link] Page prefetching error #10050
Comments
and as for |
@pieh Thanks for helping out! Here's our live site: https://www.hutsoninc.com. It's running v1. Here's the latest v2 branch deploy: https://5bf44800f6d5ea5bd44d8a01--hutson.netlify.com/. Logging When I pause on exception it shows that it's trying to fetch the |
Something weird is going on with webpack bundles there - it bundles everything in single js bundle (app-.js) - and it's over 2MB there so all components and page metadata is put there. Do you either modify webpack config or use any plugin that does? |
I have no custom webpack config, and I'm not modifying it in any of my local plugins or my On the live v2 branch that I sent you, it's using these plugins: On my local environment I've tried different configurations with swapping out Here's the current local const plugins = [
{
resolve: `gatsby-plugin-styled-jsx`,
options: {
jsxPlugins: ['styled-jsx-plugin-postcss'],
optimizeForSpeed: false,
sourceMaps: true
},
},
// ... and for the Netlify branch deploy: const plugins = [
'gatsby-plugin-postcss',
'gatsby-plugin-styled-jsx-postcss',
// ... In my local setup, |
I removed |
I'm also having the same error occur any time a Any ideas on how I could begin to debug and fix this? Site available at www.titanvest.com |
We have the same problem (single bundle and above error), with |
For some reason it's just creating a single app-[hash] bundle. I also walked through every plugin (and disabling them and build again, but no plugin seem to cause this). |
I am too getting this error when certain links scroll into view. This starts happening when I upload a new version of my site (hosted on Netlify) and didn't do a hard refresh. |
Would be great for someone known with the Gatsby core to take a look at this as it looks like something is going wrong in the Gatsby internals. Reproducible with with |
Is everyone here using babel-preset-expo? Or any other plugins? |
Yes |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Description
We just converted our site over to v2 and we're getting this console error:
Here's the line it's referring to in
loader.js
:It appears to be related to
gatsby-link
. WheneverLink
s scroll into view, the errors add up. I noticed that source maps weren't being produced the same way as they were for our v1 site. They're not producing separate files:path---xyz.js.map
and so on. I am able to see source maps for components and for the page I'm currently viewing in devtools.Not sure if the source maps are related, but it seems to be.
I haven't had any luck debugging this issue. It may be something with our site instead of Gatsby, but I didn't know where I needed to start in figuring that out.
Steps to reproduce
Our site's repo is private, but it's only throwing these errors whenever I use the build. Development seems to work fine.
Environment
No custom
webpack.config.js
file.Chrome version is 70.0.3538.102 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: