Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import is not supported resolving ES modules #34439
Unanswered
perevezencev
asked this question in
Help
Replies: 4 comments 1 reply
-
|
Please someone help. I have the same issue |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
was this resolved? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I'm facing the same issue and this seems to be related to webpack. Does anyone know of a way to workaround this ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I have the same issue. Anyone? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a nextjs app and my own UI library. I had a problem while writing the library. When I run "next build" I get this error:
Error
package.json
Because of
{"type": "module"}field inpackage.json, I am trying to runNODE_OPTIONS="--experimental-specifier-resolution=node" yarn buildbut in this case I get this error:Can I solve this problem myself, or is it a bug on the
nextjsside?Beta Was this translation helpful? Give feedback.
All reactions