-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhosphorIcon 2.0.9 - require() of ES modules is not supported #60
Comments
Can confirm this. Rolled back to 2.0.8. |
Interesting. 2.0.9 is my last working version, with 2.0.10 throwing that error.
|
I have just started seeing this error on |
Just adding our voice that we rolled back to |
Hey all, I am assuming this is Node >= 18 (think) strategy for Determining modules system, and will be pushing an update where artifacts are emitted with |
OK all, added the |
Live in stable |
In our Design System we have an icon package that uses PhosphorIcon. This package is built both in cjs and esm.
With the 2.0.9 version, presumably after the insertion of
type: “module”
in thepackage.json
file, we encountered this error when trying to build a Next.js app with our DS icon package.Reverting to 2.0.8 solved the problem but we are concerned about the impossibility to use the latest version of your library if we can't find a solution.
We are using:
yarn 1.22.19
react 17.0.2
typescript 4.3.2
lerna 4.0.0
The text was updated successfully, but these errors were encountered: