Unable to built Next.js since upgrading to v2
See original GitHub issueHey @kripod
As you probably have seen I’ve been contributing to Stitches recently to help test it and make sure things are working as users would expect.
@christianalfoni has been working on improving the types and as part of the latest Stitches release, he upgraded to react-polymorphic-box v2.0.3
Since this upgrade, I’m unable to get my Next.js project to build correctly. Things were working fine before that. We suspect it’s something to do with the new build strategy used in v2.
I’ve abstracted a reproducible branch in this repo which you’re free to clone and test it out.
Do you think this could be related to the latest release?
Let me know if there’s any way I can help.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Upgrade Guide - Next.js
If you do not have target in next.config.js you can skip this section. The target option has been deprecated in favor of built-in...
Read more >next build fails with webpack error #25276 - GitHub
This problem can be solved by adding future: { webpack5: true } to next.config.js and enabling webpack5. Probably a compatibility issue between ...
Read more >Error when building next.js app: Can't resolve 'next/head'
js app, after it's been working fine with just next (or npm run dev ). The error: $ next build The module 'react-dom'...
Read more >I Tried To Upgrade Next.js Without Crashing Production
Upgrading major versions of frameworks is always exciting. In this video I take you along with me when I upgraded my own website's...
Read more >Build a Next.js Application with TypeScript - Okta Developer
To do this, open the console and run the following commands. npm i typescript@4.4.4 @types/node@16.11.2 @types/react@17.0.31.
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
Thanks @kripod will test it and get back to you! 😃
This should be resolved by v2.0.4. Thank you for reporting and please reach out if you encounter any further issues.
Christian and you are doing awesome work with Stitches. I hope it will get big, especially with the recently added support for object syntax.