-
Notifications
You must be signed in to change notification settings - Fork 106
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
Resolve failed after update @storybook related dependencies #119
Comments
Have you tried adding |
@IanVS I got the same problem, and the problem still exists after I configure optimizeDeps.includes.
|
I can try taking a look at it if someone can provide a reproduction. |
Same issue here. I've added
despite adding that last one it complains that Will continue to try to resolve. |
I see that the OP is using pnpm. Are all of you? Also, are you being sure to spread in the existing config? The |
I'm not using I was not spreading the existing
The conditional |
@brettdewoody I've had to do the same. I'm using storybook |
A PR to add these to the base set of optimizeDeps would be appreciated. |
I've released v0.1.3 which should fix this issue. Feel free to upgrade and remove |
FYI I encountered the same with |
Thanks @neilchaudhuri. Do you know if this is something that's being brought in by a storybook dependency, or one of your other dependencies? We only really want to add dependencies to our list that we know is storybook-related. Everything else will need to be handled the way you have done, in the user's |
It appears to be a dependency of Coincidentally, I have an open issue in Storybook proper for the same addon |
After updating outdated @storybook packages, chrome console report:
I trace the generated file that:
http://localhost:6006/@fs/Users/zheeeng/Workspace/foo/node_modules/.pnpm/[email protected]/node_modules/react-element-to-jsx-string/dist/esm/index.js?v=a3d44ef9:
http://localhost:6006/@fs/Users/zheeeng/Workspace/foo/node_modules/.pnpm/[email protected]/node_modules/react-is/index.js?v=a3d44ef9:
react-element-to-jsx-string
uses ESM module format,react-is
uses CJS module format.Outdated screenshot:
The text was updated successfully, but these errors were encountered: