Gatsby fails to build with new @prismicio/gatsby-source-prismic-graphql

Hello we are trying to connect with prismic repo @prismicio/gatsby-source-prismic-graphql with new gatsby starter. we are getting below error, this is an absolute fresh build, any suggestions woud be appreciated.

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Unknown option: .reactRuntime. Check out @babel/core · Babel for more information about options.

File: .cache/app.js

failed Building development bundle - 1.793s

gatsby config file : {
resolve: "@prismicio/gatsby-source-prismic-graphql",
options: {
repositoryName: "playy", // required
defaultLang: "en-us", // optional, but recommended
},
},

Have you seen this?

Hello,

That’s an issue with the most recent version of gatsby.

Use version 2.24.11 i’ve tested the plugin using that version and it works :slight_smile:

Thank you, will test it now.

Thanks Mac,

It works now, downgrading the version helped.

much appreciate the support

cheers

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.