Skip to content
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

Validating Rendering Engine fails with gatsby-source-contentful #37640

Closed
2 tasks done
tdelgio opened this issue Feb 10, 2023 · 4 comments
Closed
2 tasks done

Validating Rendering Engine fails with gatsby-source-contentful #37640

tdelgio opened this issue Feb 10, 2023 · 4 comments
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@tdelgio
Copy link

tdelgio commented Feb 10, 2023

Preliminary Checks

Description

I'm getting this error on gatsby build

success Building Rendering Engines - 10.090s
success Building HTML renderer - 2.834s
success Execute page configs - 0.167s
failed Validating Rendering Engines - 5.440s

 ERROR #98001  ENGINE.VALIDATION

Built Rendering Engines failed validation failed validation.

Please open an issue with a reproduction at https://gatsby.dev/new-issue for more help.



  Error: Worker exited before finishing task
  
  - index.js:205 ChildProcess.<anonymous>
    [guillot]/[gatsby-worker]/dist/index.js:205:41
  

not finished Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 26.233s

In development mode works perfect.
Does anybody knows what's going on?

Reproduction Link

https://github.com/tdelgio/guillot

Steps to Reproduce

  1. run gatsby build

Expected Result

Build my website

Actual Result

ERROR #98001 ENGINE.VALIDATION

Environment

{
  "name": "gatsby-starter-default",
  "private": true,
  "description": "A simple starter to get up and developing quickly with Gatsby",
  "version": "0.1.0",
  "author": "Kyle Mathews <mathews.kyle@gmail.com>",
  "dependencies": {
    "gatsby": "^5.6.0",
    "gatsby-plugin-gatsby-cloud": "^5.6.0",
    "gatsby-plugin-image": "^3.6.0",
    "gatsby-plugin-manifest": "^5.6.0",
    "gatsby-plugin-offline": "^6.6.0",
    "gatsby-plugin-react-helmet": "^6.6.0",
    "gatsby-plugin-sharp": "^5.6.0",
    "gatsby-source-contentful": "^8.6.0",
    "gatsby-source-filesystem": "^5.6.0",
    "gatsby-transformer-sharp": "^5.6.0",
    "prop-types": "^15.7.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-helmet": "^6.1.0"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.0",
    "gatsby-plugin-postcss": "^6.6.0",
    "postcss": "^8.4.4",
    "prettier": "^2.4.1",
    "tailwindcss": "^3.2.6"
  },
  "keywords": [
    "gatsby"
  ],
  "license": "0BSD",
  "scripts": {
    "build": "gatsby build",
    "develop": "gatsby develop",
    "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
    "start": "gatsby develop",
    "serve": "gatsby serve",
    "clean": "gatsby clean",
    "test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/gatsbyjs/gatsby-starter-default"
  },
  "bugs": {
    "url": "https://github.com/gatsbyjs/gatsby/issues"
  }
}

Config Flags

No response

@tdelgio tdelgio added the type: bug An issue or pull request relating to a bug in Gatsby label Feb 10, 2023
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 10, 2023
@tdelgio
Copy link
Author

tdelgio commented Feb 11, 2023

I finally discovered that is a problem of Contentful

@tdelgio tdelgio closed this as completed Feb 11, 2023
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 13, 2023
@feedm3
Copy link
Contributor

feedm3 commented Feb 13, 2023

@tdelgio Can you please tell what the problem was exaclty with Contentful? Was there some problem with your data or did you have to update some code? Also facing this issue.

@tdelgio
Copy link
Author

tdelgio commented Feb 13, 2023

@feedm3 thanks for your feedback.
The issue is caused by the gatsby-source-contentful.

First I downgrade the version of Gatsby and Contentful but the issue persist.
I also create a clean project with the gatsby-starter and I installed the gatsby-source-contentful. Until there the build was running good but when I add the contentful credentials on gatsby-config.js the error appears again.
Also I tried with a different contentful space credentials and still the same.

@tdelgio tdelgio reopened this Feb 13, 2023
@tdelgio tdelgio changed the title Validating Rendering Engine Validating Rendering Engine fails with gatsby-source-contentful Feb 14, 2023
@LekoArts
Copy link
Contributor

Duplicate of #37632 - please comment there

@LekoArts LekoArts closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants