You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @nuxtjs/storybook with Nuxt typechecks enabled, the following error appears in the console during npm run dev:
ERROR Pre-transform error: Failed to resolve import "/_nuxt/@vite-plugin-checker-runtime" from "virtual:@vite-plugin-checker-runtime-entry". Does the file exist?
Plugin: vite:import-analysis
File: virtual:@vite-plugin-checker-runtime-entry:2:25
1 |
2 | import { inject } from "/_nuxt/@vite-plugin-checker-runtime";| ^
3 | inject({
4 | overlayConfig: {},
Tested Node versions:
18.20.5
20.18.1
22.12.0 (LTS)
Additional context
Custom Reproduction
Since the StackBlitz console output differs from local environments, please either download the StackBlitz Code or follow these steps to set up a fresh Nuxt app:
Environment
Reproduction
https://stackblitz.com/edit/github-sp3j7mjs
Describe the bug
When using
@nuxtjs/storybook
with Nuxt typechecks enabled, the following error appears in the console duringnpm run dev
:Tested Node versions:
Additional context
Custom Reproduction
Since the StackBlitz console output differs from local environments, please either download the StackBlitz Code or follow these steps to set up a fresh Nuxt app:
npx nuxi@latest init nuxt-app
cd nuxt-app/
npx storybook@next init
npm install --save-dev vue-tsc typescript
npm run dev
The text was updated successfully, but these errors were encountered: