question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to built Next.js since upgrading to v2

See original GitHub issue

Hey @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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peduartecommented, Jul 14, 2020

Thanks @kripod will test it and get back to you! 😃

1reaction
kripodcommented, Jul 12, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found