question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected `One or more pages contain dead links` for `localhost` links

See original GitHub issue

Describe the bug

<!-- docs/guide/getting-started.md -->
This will start a local server and open the <http://localhost:3000> page in the browser.
(!) Found dead link http://localhost:3000 in file docs/guide/getting-started.md

Reproduction

N/A

Expected behavior

No error

System Info

System:
    OS: macOS 13.0
    CPU: (10) arm64 Apple M1 Max
    Memory: 24.57 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/node
    Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/yarn
    npm: 8.12.1 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/npm
  Browsers:
    Chrome: 102.0.5005.115
    Firefox: 101.0.1
    Safari: 16.0
  npmPackages:
    vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
brc-ddcommented, Jun 20, 2022

It’s getting autolinked IG. Pass it as a prop instead, or disable autolinking:

export default {
  markdown: {
    linkify: false
  }
}
1reaction
JounQincommented, Jun 20, 2022

Additionally, the 1:1 workaround would be <a href="http://localhost:3000" target="_blank" rel="noreferrer noopener">http://localhost:3000</a>.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Find Broken Links (404 Not Found) Within Your ...
Find and fix broken links by following tools before it affects your website SEO ranking. Broken links hurt SEO, and one should consider...
Read more >
How to Find and Fix Broken Links in WordPress (Step by Step)
A broken link, also known as a dead link, is a link that no longer works. Broken links can happen for many reasons,...
Read more >
Broken links after migrating files to a live server from localhost
The home page appears but all links to other pages are broken saying "The requested URL /node/2 was not found on this server....
Read more >
Easily Find Broken Links With Broken Link Checker
Stream-parses local and remote HTML pages; Concurrently checks multiple links; Supports various HTML elements/attributes, not just <a href> ...
Read more >
What are Broken Links? And How Do You Find and Fix Them?
A broken link is a web-page that can't be found or accessed by a user, for various reasons. Web servers will often return...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found