Issue: Next js build failure (Can't import named export `Provider`)
See original GitHub issueAttempting to build urql with next js,i receive the following errors depending on how the app is set up:
Can't import the named export 'concat' from non EcmaScript module (only default export is available)
Can't import the named export 'Provider' from non EcmaScript module (only default export is available)
urql version 1.10.3
** nextjs version ** 9.3.0
Steps to reproduce https://github.com/skene/nextjs-with-urql
Expected behavior
build successfully.
Actual behavior fails on build.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Issue: Next js build failure (Can't import named export Provider ...
Attempting to build urql with next js,i receive the following errors depending on how the app is set up: Can't import the named...
Read more >module-not-found - Next.js
A module not found error can occur for many different reasons: The module you're trying to import is not installed in your dependencies;...
Read more >React-hook-form build problem when upgrading nextjs to ...
SyntaxError : Named export 'set' not found. The requested module react-hook-form is a CommonJS module, which may not support all module.exports ...
Read more >How to Bypass ES Modules Errors in Next.js with Dynamic ...
In this article, I'll walk you through an error you may get when you are building JavaScript apps with Next.js, and how to...
Read more >Error: Should not import the named export... in editor-core
Hi, I'm trying to use @atlaskit/editor-core for the first time. I installed it with npm i @atlaskit/editor-core, my npm version is 8.3.0 and ......
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
Awesome, thanks a lot for being so fast and communicative!
Alright, I will try my best to reproduce this on a small scale tomorrow then and post in Discussions if I am able to do it. After a few hours of battling webpack and other tooling I was just desperately hoping I didn’t mess up once more. Thanks for the fast response, I really appreciate it!