Skip to content

Error when starting storybook after fresh install #529

Open
@Art4k

Description

@Art4k

Just following Getting Started guide. Nextjs runs fine but storybook throws Cannot find package error.

node 20.17.0
pnpm 9.10.0
Windows 10

ERROR:

Failed to build the preview
Error: Cannot find package '.\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_react-do_5rcybpfaelderrqrngvo7kbxhq\node_modules\@storybook\react-docgen-typescript-plugin\dist\index.js' imported from .\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_react-do_5rcybpfaelderrqrngvo7kbxhq\node_modules\@storybook\preset-react-webpack\dist\framework-preset-react-docs.js
Did you mean to import "@storybook/react-docgen-typescript-plugin/dist/index.js"?

image

Reproduce:

  • - pnpm create start-ui --web my-app
  • - cd my-app
  • - cp .env.example .env (change DATABASE_URL)
  • - pnpm install
  • - pnpm db:init
  • - pnpm storybook

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions