storybookjs/storybook

[Bug]: --exact-port Not Working

Geschlossen

#30.187 geöffnet am 04.01.2025

 (2 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)TypeScript (10.058 Forks)batch import
bugclihelp wanted

Repository-Metriken

Stars
 (89.909 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7T 22h) (184 gemergte PRs in 30 T)

Beschreibung

Describe the bug

storybook dev --exact-port 6006 failed to run, while storybook dev --port 6006 works.

Reproduction link

https://github.com/ianzone/storybook-init

Reproduction steps

  1. clone and install deps
  2. run storybook dev --exact-port 6006

System

System:
    OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
    Shell: 5.9 - /home/linuxbrew/.linuxbrew/bin/zsh
  Binaries:
    Node: 22.14.0 - /home/linuxbrew/.linuxbrew/opt/node@22/bin/node
    Yarn: 1.22.22 - /home/linuxbrew/.linuxbrew/bin/yarn
    npm: 10.9.2 - /home/linuxbrew/.linuxbrew/opt/node@22/bin/npm <----- active
    pnpm: 10.4.1 - /home/linuxbrew/.linuxbrew/bin/pnpm
  npmPackages:
    @storybook/addon-a11y: ^8.5.8 => 8.5.8
    @storybook/addon-coverage: ^1.0.5 => 1.0.5
    @storybook/addon-essentials: ^8.5.8 => 8.5.8
    @storybook/addon-interactions: ^8.5.8 => 8.5.8
    @storybook/addon-links: ^8.5.8 => 8.5.8
    @storybook/blocks: ^8.5.8 => 8.5.8
    @storybook/react: ^8.5.8 => 8.5.8
    @storybook/react-vite: ^8.5.8 => 8.5.8
    storybook: ^8.5.8 => 8.5.8

Additional context

No response

Contributor Guide