npx storybook init 安装失败
来源:8-2 安装 Storybook

Lucky雷
2024-09-25
安装课程中的依赖 按理来说应该安装当前版本里面的依赖 现在看好像是装了其他版本的
node 版本 16.20.2
node18 安装最新
storybook.log 文件中的日志 找不到 @storybook/addon-links@8.3.3.
npm ERR! notarget No matching version found for @storybook/addon-links@8.3.3.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn’t exist.
npm ERR! A complete log of this run can be found in: C:\Users\fllni\AppData\Local\npm-cache_logs\2024-09-24T17_26_12_513Z-debug-0.log
这边也尝试了各个版本也基本都尝试了 还是不行 张老师帮忙看下
2回答
-
Lucky雷
提问者
2024-09-25
老师 已解决
00 -
Lucky雷
提问者
2024-09-25
=> Failed to build the preview
Error: Cannot find module '.\node_modules\@babel\helper-compilation-targets\lib\index.js'
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
安装 npx storybook@7.6 init 到最后找不到某个包
00
相似问题