storybook icon indicating copy to clipboard operation
storybook copied to clipboard

dev serve will fail when enable `typecheck` in `nuxt.config`

Open baixiaoyu2997 opened this issue 1 year ago • 1 comments

i have a nuxt layrer call base repo , and i have a storybook repo, both in monorepo, when i extends:"../../packages/base" in storybook, and base enable typecheck, can not start dev server.

because, According to the .nuxt directory of the storybook, it can be found that tsconfig was not generated, but typecheck was executed. this causes code in node_modules to also be typechecked

"devDependencies": {
    "@nuxtjs/storybook": "^7.0.0",
    "@storybook-vue/nuxt": "0.2.1",
    "@storybook/addon-essentials": "^7.6.17",
    "@storybook/addon-interactions": "^7.6.17",
    "@storybook/addon-links": "^7.6.17",
    "@storybook/blocks": "^7.6.17",
    "@storybook/builder-vite": "^7.6.17",
    "@storybook/testing-library": "^0.2.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "storybook": "^7.6.17",
    "storybook-addon-vue-slots": "^0.9.29"
  }

baixiaoyu2997 avatar Feb 27 '24 03:02 baixiaoyu2997

Could you please provide a reproduction, preferable based on https://github.com/nuxt-modules/storybook/tree/main/examples/starter

tobiasdiez avatar May 02 '24 04:05 tobiasdiez

Closing this issue due to inactivity :zzz: Please reopen the issue with additional information if the problem persists.

tobiasdiez avatar Aug 11 '24 20:08 tobiasdiez