Comments (8)
Why is this closed? I am still getting this error when using npx storybook@latest init
:
Error: Unable to find versions of @storybook/cli using npm
at NPMProxy.runGetVersions (C:\Users\dummy\AppData\Local\npm-cache\_npx\bc7e1e37fcb46ffc\node_modules\@storybook\core-common\dist\index.js:37:639)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async doInitiate (C:\Users\dummy\AppData\Local\npm-cache\_npx\bc7e1e37fcb46ffc\node_modules\@storybook\cli\dist\generate.js:146:992)
at async withTelemetry (C:\Users\dummy\AppData\Local\npm-cache\_npx\bc7e1e37fcb46ffc\node_modules\@storybook\core-server\dist\index.js:28:3599)
at async initiate (C:\Users\dummy\AppData\Local\npm-cache\_npx\bc7e1e37fcb46ffc\node_modules\@storybook\cli\dist\generate.js:180:245)
from storybook.
@ChetSocio I think you have answered on the wrong issue
from storybook.
@ChetSocio I think you have answered on the wrong issue
I have not answered anything. I am stating that the issue still persists even on latest version. I was not getting this a momth ago but after downloading latest update of storybook, this error is happening. I want someone to tell me how to solve this problem
from storybook.
@ChetSocio Neither is this issue closed nor has it anything to do with your mentioned error message: I think you are referring to this issue: #26553
But even the linked issue is not closed. Can you please clarify, which issue is closed and how your error message relates to this inflight deprecation issue?
from storybook.
Yeah sorry! I was about to comment on the issue #26553 But there was a link to this issue and i clicked in it and forgot as both
Inflight has been depreciated
and
Error: Unable to find versions of @storybook/cli using npm
were appearing in my terminal when i did:
npx storybook@latest init
and even tried installing @storybook/cli
manually but no benefit.
The fact that I was not getting this error few months ago cannot be ignored. Everyone is getting this error after latest upgrade.
from storybook.
While #27366 fixed the dependency path originally described, there's another also depending on inflight
.
$ npm add storybook
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
added 638 packages in 19s
@storybook/cli
and @storybook/codemod
both depend on jscodeshift
0.15.2 → temp
0.8.4 → rimraf
2.6.3 → glob
7.2.3 → inflight
1.0.6.
from storybook.
Also @storybook/preset-react-webpack
→ @storybook/react-docgen-typescript-plugin
1.0.6--canary.9.0c3f3b7.0 → flat-cache
3.2.0 → rimraf
3.0.2 → glob
7.2.3 → inflight
1.0.6.
from storybook.
@anomiex Could you open an issue here to update flash-cache
to its latest version (which should remove the transitive inflight
dependency).
For the transitive dependency in jscodeshift
I don’t really see a fix. They would have to replace either temp
by another package or temp
needs an update to use the latest rimraf
version
from storybook.
Related Issues (20)
- [Bug]: I'll guide you through troubleshooting the issue with installing Storybook. HOT 8
- [Bug]: After pressing the "Reset" button, the object editor adds new object properties - ones that would give compilation errors when trying to change them using TS code
- [Documentation]: Unable to render markdown files converted to mdx files in Docs
- [Bug]: The storybook 7.6.* version depends on the highly vulnerable ip package HOT 3
- [Bug]: Connection lost Lost connection to the Storybook server. Try refreshing the page. HOT 4
- [Bug]: Setting theme for DocsContainer dynamically breaks styles
- [Bug]: when I use JSX in CSF,the show code is not work well
- Add beforeAll hook to Storybook
- [Bug]: fast refresh is very slow when using `react-docgen-typescript` since `v8.1.0` HOT 2
- [Bug]: Show missing `vite.config.js` file in migration notification while the `vite.config.ts` exists HOT 1
- [Bug]: Unable to Mock Modules in Storybook HOT 3
- [Bug]: a11y-addon - APCA Contrast check - Can't pass custom evaluate function to rule
- [Bug]: Package exports are not properly interpreted in a mono-repo setup
- [Bug]: Unable to add storybook to existing nextjs project HOT 1
- [Bug]: previewMainTemplate Option Ignored, Default Template Used Instead
- [Bug]: RollupError: "createRequire" is not exported by "__vite-browser-external" HOT 1
- [Bug]: Small visual bug in Controls UI loading state HOT 1
- [Bug]: tocbot dependency causing `ERR_REQUIRE_ESM` error on `next dev` and `next build` HOT 4
- [Documentation]: <Source> format prop incorrectly states it takes in BuiltInParserName
- [Bug]: theme not working in decorators HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.