N
Nuxt4mo ago
Jonas

Couldn't resolve component "default" at "/"

------------------------------ - Operating System: Windows_NT - Node Version: v18.19.0 - Nuxt Version: 3.13.2 - CLI Version: 3.14.0 - Nitro Version: 2.9.7 - Package Manager: [email protected] - Builder: - - User Config: - - Runtime Modules: - - Build Modules: - ------------------------------ This is my project: https://github.com/neptun-software/neptun.web. It worked fine, before I updated some packages using renovate. Shiki worked fine in 3.13.0. My whole app worked. I had many problems with vue-tsc and had to do this in the end:
"pnpm": {
"overrides": {
"vue-tsc": "2.0.29",
}
}
"pnpm": {
"overrides": {
"vue-tsc": "2.0.29",
}
}
I had to set componentInspector: false, but I would like to use it. I had to exlude shiki from rollup, but that somehow killed other parts of my app:
vite: {
logLevel: 'warn', // 'info' | 'warn' | 'error' | 'silent'
plugins: [
wasm(),
topLevelAwait(),
removeConsole()
],
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler'
}
}
},
build: {
rollupOptions: {
external: ['env', 'wasi_snapshot_preview1'],
// external: [/.*shiki.*/],
},
},
optimizeDeps: {
exclude: ['shiki'],
},
assetsInclude: ['**/*.wasm'],
}
vite: {
logLevel: 'warn', // 'info' | 'warn' | 'error' | 'silent'
plugins: [
wasm(),
topLevelAwait(),
removeConsole()
],
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler'
}
}
},
build: {
rollupOptions: {
external: ['env', 'wasi_snapshot_preview1'],
// external: [/.*shiki.*/],
},
},
optimizeDeps: {
exclude: ['shiki'],
},
assetsInclude: ['**/*.wasm'],
}
How do I fix this nightmare of problems? I am currently struggling to get it working again. I wanted to update to v 3.13.2, because people said vite-plugin-checker works in that version... The weird thing is, that everything worked for 2 months.
No description
14 Replies
Jonas
JonasOP4mo ago
... How does this happen?
Jonas
JonasOP4mo ago
No description
Jonas
JonasOP4mo ago
This only happens, if one site is loaded by reloading the site, not if you navigate to the site
Jonas
JonasOP4mo ago
vue-tsc 2.1.6 causes
No description
Jonas
JonasOP4mo ago
2.0.29 is the last one that doesn't
Jonas
JonasOP4mo ago
also
No description
Jonas
JonasOP4mo ago
you know what?
No description
Jonas
JonasOP4mo ago
everything works now. vite-plugin-checker is broken af I use all recommended vscode extensions for vue
Jonas
JonasOP4mo ago
that is the only warning left
No description
Jonas
JonasOP4mo ago
Diffchecker - Compare text online to find the difference between tw...
Diffchecker will compare text to find the difference between two text files. Just paste your files and click Find Difference!
Jonas
JonasOP4mo ago
I have no clue why, but it works now. i installed every package new and disabled typescript in the nuxt config. ...
Mike
Mike3mo ago
Got some occurrences of this error in Sentry, seems to happen after upgrading to Nuxt 3.13.2 from 3.11. Mostly happens for bots but has also impacted some real users
Mads
Mads3w ago
I am getting same error. Not impacting a lot, but here is the stack trace if anyone needs it:
No description

Did you find this page helpful?