-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
After updating my Next.js application to use version 0.8.0, I started to see the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module /var/task/src/project/node_modules/@lit/react/node/index.js from /var/task/src/project/node_modules/@stencil/react-output-target/dist/react.cjs not supported.
Instead change the require of index.js in /var/task/src/project/node_modules/@stencil/react-output-target/dist/react.cjs to a dynamic import() which is available in all CommonJS modules.
I believe this is because 0.8.0 introduces a new dependency on @stencil/react-output-target@0.8.2.
I am wondering if this issue could be resolved by updating @stencil/react-output-target to the latest version: @stencil/react-output-target@1.2.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels