-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
ERROR Cannot start nuxt: Cannot find module 'vue-tsc/out/index' #3969
Comments
Cross referencing here since it seems to influence also I think we need an upgrade path for libraries consuming |
@danielroe does this require an issue tracking in the nuxt repo? |
Nuxt doesn't directly consume vue-tsc and I think vite-plugin-checker (which we use) is already aware. |
Thanks 🤗 |
I have the same issue: Stack: Require stack:
|
Downgrade |
this error also occurs with storybook build.
|
Looks like the latest version |
Not exactly. I've just upgraded nuxt and vue-tsc to latest versions (same as you said) and the error persists:
|
I can confirm. Still am issue on my end |
I can confirm too: problem persists even with a simple |
Confirmed, problem remains in |
thanks it worked for me |
Issue is still there. |
* vue-tsc は以下の問題により v1 系を使用 ``` You may experience issues with the latest vue-tsc and vite-plugin-checker, used internally when type checking. For now, you may need to stay on v1 of vue-tsc, and follow these upstream issues for updates: fi3ework/vite-plugin-checker#306 and vuejs/language-tools#3969. ``` https://nuxt.com/docs/guide/concepts/typescript#type-checking
Still here with vue-tsc version 2.0.19.
|
The issue is still there. Appears when upgrading "nuxt": "^3.11.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2", |
It appears that all Nuxt repositories configured with typescript: { typeCheck: true } and using vue-tsc version 1.8.27 or later are experiencing the same error: vue-tsc/out/index. |
is this related? I have issue with 3.11.2 and global components like i18T not being recognized by tsc. it occurs only from vue-tsc 1.8.24 here is a reproduction: https://stackblitz.com/edit/github-m5xc5v-gi1rab?file=package.json abort npm run dev, and run:
you'll get error:
now change vue-tsc": "1.8.27" to vue-tsc": "1.8.22" and npm install, now it will work |
Same issue still happening with Nuxt3 + vue-tsc 2.0.21 |
Any updates? Still occurring with |
Same issue still happening with Nuxt v3.12.2 and vue-tsc 2.0.21. Any updates? |
There is no If you are using |
export default defineNuxtConfig({
typescript: {
strict: true,
typeCheck: false
}
} Disable type checking at build time and run it from the console or as script in package.json npx nuxi typecheck |
A fix is on its way, if somebody can help I'm sure it'll be appreciated: fi3ework/vite-plugin-checker#327 |
Closing, as fi3ework/vite-plugin-checker#327 had been merged. |
The issue still occurs, it seems the require stack is still using the old vite-plugin-checker release:
|
Yes, if you are using nuxt then you will have to wait for them to upgrade their dependencies |
Ok, I hope they'll update soon. For now I'm using an override in my package.json for my nuxt project, which makes it work in the meantime:
|
You'll get it soon, in next Nuxt patch - follow nuxt/nuxt#27648. |
Looks like it is finally fixed |
Thank you! 👍🏻 |
Had the same error when building my Nuxt |
ERROR Cannot start nuxt: Cannot find module 'vue-tsc/out/index'
after upgrading to v2I'm using Nuxt 3 latest with a monorepo config (nuxt layers)
The only solution currently is to downgrade as suggested by @davinma
Downgrade "vue-tsc": "^2.0.4" to "vue-tsc": "^1.8.22"
The text was updated successfully, but these errors were encountered: