success run page queries - 0.021s - 6/6 291.58/s
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unknown option: .rootDir. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
File: .cache/polyfill-entry.js
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unknown option: .rootDir. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
File: .cache/app.js
failed Building development bundle - 0.947s
This error does not occur with "gatsby": "2.24.51". So setting the version fixed helps as a workaround, but this is of course no long term solution. I think this Gatsby issue is where I got the hint.
As mentioned in https://github.com/GrappleGQL/gatsby-source-wagtail/pull/25#issuecomment-704582511, using the latest Gatsby versions (I have used
^2.24.67
) breaks thegatsby build
andgatsby develop
commands.This is the error message I get:
This error does not occur with
"gatsby": "2.24.51"
. So setting the version fixed helps as a workaround, but this is of course no long term solution. I think this Gatsby issue is where I got the hint.Here is my system setup: