storybookjs/storybook

[Bug]: CSF Parsing error: Expected 'ObjectExpression' but found 'undefined' instead in 'Identifier'.

Open

#31 104 ouverte le 12 avr. 2025

Voir sur GitHub
 (1 commentaire) (4 réactions) (0 assignés)TypeScript (89 909 stars) (10 058 forks)batch import
bugcsfhelp wanted

Description

Describe the bug

Image

Reproduction link

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

Reproduction steps

clone, install and run dev, then see error in console.

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
    pnpm: 10.8.0 - /home/linuxbrew/.linuxbrew/bin/pnpm
  npmPackages:
    @storybook/addon-a11y: ^8.6.11 => 8.6.11
    @storybook/addon-coverage: ^1.0.5 => 1.0.5
    @storybook/addon-essentials: ^8.6.11 => 8.6.11
    @storybook/addon-interactions: ^8.6.11 => 8.6.11
    @storybook/addon-links: ^8.6.11 => 8.6.11
    @storybook/blocks: ^8.6.11 => 8.6.11
    storybook: ^8.6.11 => 8.6.11
    storybook-addon-rslib: ^1.0.1 => 1.0.1
    storybook-react-rsbuild: ^1.0.1 => 1.0.1

Additional context

No response

Guide contributeur