Just couple of weeks ago, out of nowhere, my project pipelines started failing on deploy stage. This week project is sometimes failing locally (gatsby develop).
The error that I get is this:
error "gatsby-source-prismic" threw an error while running the createSchemaCustomization lifecycle:
An invalid API response was returned
package:
-
List item "gatsby": "^4.21.1",
-
List item "gatsby-source-prismic": "5.2.7-alpha.0",
-
List item "gatsby-plugin-prismic-previews": "^5.2.5"
This is a related topic that I checked - Gatsby-source-plugin threw an error while running the createSchemaCustomization lifecycle - #5 by thejuniperstudio
Seems like the problem was updating gatsby-source-prismic to V.5 which I already have.