-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unpin [email protected]
#296
Comments
I can't reproduce any issue running the following commands:
It installs and runs storybook 8.4.2 just fine for me |
Here's the stack trace: ➜ npx storybook@latest init --skip-install --no-dev
/home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/create-storybook/bin/index.cjs:23
throw error;
^
Error: Cannot find module '@storybook/core/common'
Require stack:
- /home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/storybook/core/common/index.cjs
- /home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/create-storybook/dist/bin/index.cjs
- /home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/create-storybook/bin/index.cjs
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/storybook/core/common/index.cjs:1:18)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/storybook/core/common/index.cjs',
'/home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/create-storybook/dist/bin/index.cjs',
'/home/koala/.npm/_npx/6b1ed7b66a76da7f/node_modules/create-storybook/bin/index.cjs'
]
}
Node.js v20.18.0 not sure how it's working for you though 🤔 |
I just followed the exact set of commands you posted @benmccann, I am getting the error below. Is something with my environment messed up?
|
I can reproduce @hansihe's error when using Node 23. Downgrading to Node 22 or removing Filed in storybookjs/addon-svelte-csf#229 |
Aha, thanks! |
I also can't reproduce the original error with @AdrianGonz97 could you try clearing your Do you know if you have run a previous version of Storybook on your computer before, even in another project? Clear the cache with:
|
@manuel3108 if you want to, you should be able to pin to 8.4.0 instead, as the offending PR that broke 8.3.7 for you was also introduced in 8.4.1 (and 8.2.10) |
thanks, clearing it with
Yes, though I'm not sure which version it was as we run it quite often here. Presumably it was |
Thanks @AdrianGonz97, that's very valuable info! I've yet to be able to reproduce the exact state that causes this though. |
Done, see #298. Though tests don't appear to be passing right now, but this seems to be a docker hub issue right now. Will try again later and report |
|
This has already been done in #181 and we forgot to link that issue. Closing. |
In #275 we found out that the latest
[email protected]
appear to be broken. Same goes for[email protected]
. Once they are working again, we should unpin this.The text was updated successfully, but these errors were encountered: