Unknown option: .reactRuntime
See original GitHub issueDescription
Running gatsby develop
results in 2 errors stating: “Unknown option: .reactRuntime”
It might be something to do with images, as I noticed the errors crop up just after the console statement: “Generating image thumbnails”…
success createPages - 16.044s
success Checking for changed pages - 0.002s
success createPagesStatefully - 0.102s
success update schema - 0.116s
success write out redirect data - 0.002s
success Build manifest and related icons - 0.117s
success onPostBootstrap - 0.127s
info bootstrap finished - 77.267s
success onPreExtractQueries - 0.003s
success extract queries from components - 0.406s
success write out requires - 0.046s
success run static queries - 0.212s - 1/1 4.72/s
success run page queries - 1.786s - 1679/1679 940.12/s
success Generating image thumbnails - 4.130s - 6/6 1.45/s
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unknown option: .reactRuntime. 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: .reactRuntime. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
File: .cache/app.js
failed Building development bundle - 0.747s
Steps to reproduce
Install the dependencies as shown and the same errors should occur.
Expected result
Project should build successfully.
Actual result
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unknown option: .reactRuntime. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
File: .cache/app.js
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unknown option: .reactRuntime. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
File: .cache/polyfill-entry.js
Environment
System:
OS: macOS 10.15.5
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.18.3 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.14.6 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 84.0.4147.135
Firefox: 78.0.2
Safari: 13.1.1
npmPackages:
gatsby: ^2.24.53 => 2.24.53
gatsby-image: ^2.4.16 => 2.4.16
gatsby-plugin-manifest: ^2.4.27 => 2.4.27
gatsby-plugin-offline: ^3.2.26 => 3.2.26
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-plugin-sharp: ^2.6.31 => 2.6.31
gatsby-plugin-styled-components: ^3.3.10 => 3.3.10
gatsby-source-fetch: ^1.0.3 => 1.0.3
gatsby-source-filesystem: ^2.3.27 => 2.3.27
gatsby-source-graphql-universal: 3.3.0 => 3.3.0
gatsby-source-prismic-graphql: ^3.6.2 => 3.6.2
gatsby-transformer-csv: ^2.3.10 => 2.3.10
gatsby-transformer-sharp: ^2.5.14 => 2.5.14
npmGlobalPackages:
gatsby-cli: 2.12.88
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:26 (7 by maintainers)
Top Results From Across the Web
Unknown Option error from Babel in React-Native app
Turns out that the issue was related to react-native-dotenv settings. Changed babel.config.js to :
Read more >Gatsby fails to build with new @prismicio ... - Prismic People
Unknown option : .reactRuntime. Check out @babel/core · Babel for more information about options. File: .cache/app.js.
Read more >Discussion of Gatsby Develop ERROR #98123 WEBPACK ...
Hi, I'm new to using gatsby and am attempting to follow the tutorial on gatsbyjs.org. I have been successful in downloading and setting...
Read more >Gatsby + Prismic website builds successfully in the local ...
... bundles failed 12:05:14 AM: Unknown option: .reactRuntime. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
Read more >Troubleshooting Common Errors - Gatsby
If the data you are requesting in a GraphQL query differs from what has been sourced in the GraphQL schema you might encounter...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately this isn’t working for me. Current versions:
It builds up to here and then hangs…
Having this issue as well. This might be related to
gatsby-source-prismic-graphql
messing with the babel file to get their preview working.