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

storybook: init new project with storybook, deno fails to run it #26404

Open
birkskyum opened this issue Oct 18, 2024 · 0 comments
Open

storybook: init new project with storybook, deno fails to run it #26404

birkskyum opened this issue Oct 18, 2024 · 0 comments
Labels
bug Something isn't working correctly node compat

Comments

@birkskyum
Copy link
Contributor

birkskyum commented Oct 18, 2024

deno 2.0.2

Repro:

  • deno run -A npm:storybook@latest init or npx storybook@latest init (select vue 3 + vite)
  • deno task storybook

Error:

➜ deno task storybook
Task storybook storybook dev -p 6006
@storybook/core v8.3.6

NotFound: No such file or directory (os error 2): readfile 'chromatic.config.json'
    at Object.readFileSync (ext:deno_fs/30_fs.js:733:10)
    at Object.readFileSync (ext:deno_node/_fs/_fs_readFile.ts:52:21)
    at Object.Ege (file://./node_modules/.deno/chromatic@11.12.6/node_modules/chromatic/dist/chunk-P6VYOOE6.js:827:1175)
    at Object.Uir [as experimental_serverChannel] (file://./node_modules/.deno/@chromatic-com+storybook@1.9.0/node_modules/@chromatic-com/storybook/dist/preset.js:595:402)
    at file://./node_modules/.deno/@storybook+core@8.3.6/node_modules/@storybook/core/dist/common/index.cjs:139480:18
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async storybookDevServer (file://./node_modules/.deno/@storybook+core@8.3.6/node_modules/@storybook/core/dist/core-server/index.cjs:47285:11)
    at async buildOrThrow (file://./node_modules/.deno/@storybook+core@8.3.6/node_modules/@storybook/core/dist/core-server/index.cjs:46581:12)
    at async buildDevStandalone (file://./node_modules/.deno/@storybook+core@8.3.6/node_modules/@storybook/core/dist/core-server/index.cjs:48518:78)
    at async withTelemetry (file://./node_modules/.deno/@storybook+core@8.3.6/node_modules/@storybook/core/dist/core-server/index.cjs:47080:12)


@birkskyum birkskyum changed the title storybook: init without existing folder storybook: init and run project, without existing folder Oct 18, 2024
@birkskyum birkskyum changed the title storybook: init and run project, without existing folder storybook: init and run, without existing project Oct 18, 2024
@birkskyum birkskyum changed the title storybook: init and run, without existing project storybook: init new project with storybook, deno fails to run it Oct 18, 2024
@littledivy littledivy added bug Something isn't working correctly node compat labels Oct 19, 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 correctly node compat
Projects
None yet
Development

No branches or pull requests

2 participants