Troubleshooting Nuxt Link Checker
Debugging
Link Detection Issues
If scans don't detect links:
- Ensure
runOnBuildis not set tofalsein your config - Check that the page is prerendered. The build scan reads only prerendered pages
- Verify links use standard
<a>or<NuxtLink>elements
False Positives on Valid Links
Some links may be incorrectly flagged:
- Rate limiting: External services may block rapid requests during scans
- Auth-protected pages: Links requiring authentication will fail validation
- Dynamic routes: Routes with parameters need proper prerendering
To exclude specific links, see the Exclude Links guide.
Build Failing Due to Broken Links
If your CI is failing:
- Review the generated report to identify actual broken links
- Use
failOnError: falsetemporarily while fixing issues - Consider using
skipInspectionsfor rules causing false positives
nuxt.config.ts
export default defineNuxtConfig({
linkChecker: {
failOnError: false, // Temporarily disable to unblock builds
},
})DevTools Integration Not Working
If live inspections aren't appearing:
- Enable Nuxt DevTools in your config
- Enable
showLiveInspectionsin your config (it isfalseby default) - Restart your dev server after config changes
Submitting an Issue
When submitting an issue, it's important to provide as much information as possible.
The easiest way to do this is to create a minimal reproduction using the StackBlitz playgrounds:
Debugging Tools
- Meta Tag Checker - Verify page metadata after fixing broken links
- XML Sitemap Validator - Cross-reference broken links with your sitemap
Was this page helpful?