-
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
Build fails when I have an SSR page and gatsby-source-contentful working together #37632
Comments
Hi! Your issue seems to be similar to #37640 - @tdelgio can you share what caused this in Contentful? @fedehub93 we won't be able to help you with this reproduction at it seems specific to your Contentful instance. You'd need to create a space which credentials you could share freely. |
Hi, thank you for the quick response @LekoArts . I created a new environment with a new space on contentful to be able to give you some test credentials to reproduce the error. I have updated my repo in the reproduction link with these new credentials. The error is also returned to me after creating a very simple content model on contentful with only one field which is a Rich Text Field in my case. No records added. |
Are there any new information about this issue? |
I downgrade Gatsby and plug-ins versions and it works.
|
We updated For now, use |
Sorry for this question, but what about testing before deployment. And why this took 6 days to find the issue? |
A fix for this was published in |
Preliminary Checks
Description
When I run the build with
gatsby build
I receive the ERROR #98001 and Error: Worker exited before finishing task.I've noticed this problem using the gatsby-source-contentful-plugin with an SSR page.
As I remove the SSR page everything works fine.
Similarly disabling gatsby-source-contentful and leaving the SSR page everything works fine.
I also tested this with gatsby@next.
Reproduction Link
https://github.com/fedehub93/gatsby-contentful-ssr-page
Steps to Reproduce
npm init gatsby
, I choose typescript configurationyarn add gatsby-source-contentful gatsby-plugin-image gatsby-plugin-sharp gatsby-transformer-sharp
gatsby-config.ts
with plugins and put your spaceId and accessToken ingatsby-source-contentful
options:src/pages/search.tsx
with following code:gatsby build
Expected Result
The build runs successfully.
Actual Result
I have this error:
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: