描述bug
pnpm create vite example-repo --template react-ts
cd example-repo
pnpm i
storybook init
# ---
storybook init - the simplest way to add a Storybook to your project.
• Detecting project type. ✓
• Preparing to install dependencies. ✓
...
Running Storybook
> storybook-hmr-hook-issue@0.0.0 storybook /home/homa/code/cyberuni/storybook-hmr-hook-issue
> storybook dev -p 6006 "--initial-path=/onboarding" "--quiet"
@storybook/cli v7.2.3
info => Starting manager.. # <-- hang here
重现步骤
系统信息
Environment Info:
System:
OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
Binaries:
Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
Yarn: 1.22.19 - /mnt/c/Program Files/nodejs/yarn
npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
Browsers:
Chrome: 115.0.5790.170
npmPackages:
@storybook/addon-essentials: ^7.2.3 => 7.2.3
@storybook/addon-interactions: ^7.2.3 => 7.2.3
@storybook/addon-links: ^7.2.3 => 7.2.3
@storybook/addon-onboarding: ^1.0.8 => 1.0.8
@storybook/blocks: ^7.2.3 => 7.2.3
@storybook/react: ^7.2.3 => 7.2.3
@storybook/react-vite: ^7.2.3 => 7.2.3
@storybook/testing-library: ^0.2.0 => 0.2.0
其他相关信息
1条答案
按热度按时间crcmnpdw1#
在
7.3.0
上,react-webpack5
也遇到了这个问题。它只是在"Starting manager..."处挂起。