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

Cannot restart nuxt: Cannot find module 'vue-tsc/out/index' #26096

Closed
ebrahim9275 opened this issue Mar 6, 2024 · 3 comments
Closed

Cannot restart nuxt: Cannot find module 'vue-tsc/out/index' #26096

ebrahim9275 opened this issue Mar 6, 2024 · 3 comments

Comments

@ebrahim9275
Copy link

ebrahim9275 commented Mar 6, 2024

Environment

Operating System: Linux

  • Node Version: v20.11.1
  • Nuxt Version: 3.10.3
  • CLI Version: 3.10.1
  • Nitro Version: 2.9.1
  • Package Manager: pnpm@8.15.4

Reproduction

Create new Nuxt project using pnpm dlx nuxi@latest init <project-name>
Follow instructions to use TypeScript according to https://nuxt.com/docs/guide/concepts/typescript#typescript: pnpm add -D vue-tsc typescript
Modify nuxt.config.ts to set typescript.typeCheck to true.
Run pnpm run dev and see that it results in the following error: Cannot restart nuxt: Cannot find module 'vue-tsc/out/index'

Describe the bug

After installing vue-tsc@2.0.4 and typescript@5.3.3 and setting typescript.typeCheck to true, starting Nuxt results in the following error:
Cannot restart nuxt: Cannot find module 'vue-tsc/out/index'

Additional context

No response

Logs

No response

@ibockowsky
Copy link

Just initialized new project and having same issue :/

@daniluk4000
Copy link
Contributor

Duplicate of some another issue.

Upstream: fi3ework/vite-plugin-checker#306

@danielroe
Copy link
Member

We added some docs here: https://nuxt.com/docs/guide/concepts/typescript.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants