Skip to content
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

[Bug]: modern.js 开启 storybook 能力之后启动storybook报错 #5967

Open
millionbug opened this issue Jul 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@millionbug
Copy link

Version

npx envinfo --system --browsers --npmPackages '@modern-js/*'
'envinfo' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Details

PS C:\Users\admin\code_dir\my-react> pnpm run storybook

my-react@0.1.0 storybook C:\Users\admin\code_dir\my-react
storybook dev -p 6006

@storybook/cli v7.6.20

SB_CORE-COMMON_0003 (CouldNotEvaluateFrameworkError): Could not evaluate the '@modern-js/storybook' package from the 'framework' field of Storybook config.

Are you sure it's a valid package and is installed?
at validateFrameworkName (.\node_modules.pnpm@storybook+core-common@7.6.20\node_modules@storybook\core-common\dist\index.js:21:4479)
at buildDevStandalone (.\node_modules.pnpm@storybook+core-server@7.6.20\node_modules@storybook\core-server\dist\index.js:119:1432)
at async withTelemetry (.\node_modules.pnpm@storybook+core-server@7.6.20\node_modules@storybook\core-server\dist\index.js:65:3948)
at async dev (.\node_modules.pnpm@storybook+cli@7.6.20\node_modules@storybook\cli\dist\generate.js:514:401)
at async Command. (.\node_modules.pnpm@storybook+cli@7.6.20\node_modules@storybook\cli\dist\generate.js:529:225)

Reproduce link

modern.js module 构建问题,没有合适的线上链接

Reproduce Steps

pnpm run storybook

@millionbug millionbug added the bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant