Compiling error on latest 0.3.1 & React 17
See original GitHub issueSyntaxError: /Users/benoror/code/baseql-docs/pages/index.md: pragma and pragmaFrag cannot be set when runtime is automatic

Dependencies versions:
{
"next": "^10.0.3",
"nextra": "^0.3.1",
"nextra-theme-docs": "^0.3.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Could not resolve dependency error peer react@"^16.8.0
Due to this error, my build is getting failed in netlify. error: $ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable...
Read more >React v17.0 – React Blog
The React 17 release is unusual because it doesn't add any new developer-facing features. Instead, this release is primarily focused on ...
Read more >Changelog - Cypress Documentation
Cypress dropped support for Node.js 12, 15 and 17. ... Compile errors are now surfaced in the command log during tests for Angular...
Read more >Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >ChangeLog-0.3.17 - ReactOS Wiki
CORE-8288 - Typos, "licence" should be "license" for en-US strings. CORE-8290 - New error in shell-experiments compilation (rev. 63537). CORE- ...
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 Free
Top 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
You can add this
.babelrc
configuration to your project root:Tested and it would solve the problem for now. 👍
This might help @shuding https://github.com/system-ui/theme-ui/issues/1160