Next.js v12 compatibility
See original GitHub issueš Bug Report
As this PR shows, next-page-tester has issues with Next.js v12. At a first sight I found:
- some types issues
- an unexpected
segmentation faulterror while running tests
I canāt predict when Iāll be able to work on it. As usual contributions are very welcome š
Reproduction
Issue Analytics
- State:
- Created 2 years ago
- Reactions:13
- Comments:19
Top Results From Across the Web
Blog - Next.js 12
The new Rust compiler is backwards compatible. If you have an existing Babel configuration, you will automatically be opted out.
Read more >Upgrade Guide - Next.js
Next. js provides full backwards compatibility with applications that have custom Babel configuration.
Read more >Upgrading: Version 12 - Next.js beta docs
Next.js provides full backward compatibility with applications that have custom Babel configuration. All transformations that Next.js handles by defaultĀ ...
Read more >Blog - Next.js 12.2
You can now opt into this behavior in a backward-compatible way. We've added experimental support for shipping only modern JavaScript byĀ ...
Read more >Blog - Next.js 12.3
Next.js 12.3 introduces TypeScript Auto-Install, improved Fast Refresh, stable new Image Component, and more!
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

I donāt know if it is the exact issue you mentioned here or not, I get this
Segmentation fault (core dumped)when Iām trying to test my pages after upgrading to next@12.0.2This is my test:
This information could be useful:
Maybe it has to do with https://github.com/nodejs/node/issues/40602. Debugging into await loadConfig where it tries to load the
next.config.jsfile by calling await import is leading to the segfault.āedit Probably more adequate issue because https://github.com/nodejs/node/issues/35889 is mentioning jest as well.