fix: support `generate`
dargmuesli opened this issue · comments
Jonas Thelemann commented
Describe the bug
I might very well be doing something wrong, but I observe unexpected behavior when running nuxt generate
on a nuxt-link-checker
enabled project: all links return a 404
. Even if I disable them.
Try running nuxt generate
in the linked reproduction. What am I doing wrong? :0
ℹ Running link inspections... nitro 1:49:55 AM
├─ / [1 error] nitro 1:49:56 AM
https://www.google.com/ nitro 1:49:56 AM
✖ Should not respond with 404 Not Found. (no-error-response) nitro 1:49:56 AM
ERROR Nuxt Link Checker found 1 errors, failing build.
Reproduction
https://stackblitz.com/edit/github-p2cxby?file=nuxt.config.ts,app.vue
System / Nuxt Info
------------------------------
- Operating System: Linux
- Node Version: v16.20.0
- Nuxt Version: 3.6.5
- Nitro Version: 2.5.2
- Package Manager: npm@9.4.2
- Builder: vite
- User Config: devtools, modules, linkChecker
- Runtime Modules: nuxt-link-checker@2.1.1
- Build Modules: -
------------------------------
Harlan Wilton commented
This should hopefully be working a bit better with 2.1.7 🤞
Jonas Thelemann commented
It does 🙏 Thank you!