Error: Route did not complete loading: /projects
See original GitHub issueWhat version of Next.js are you using?
10.0.5
What version of Node.js are you using?
14.15.0
What browser are you using?
Chrome
What operating system are you using?
Windows 10
How are you deploying your application?
Vercel
Describe the Bug
I am trying to build a simple route for my portfolio. The route is ‘/projects’. I’ve added a projects.js file in the pages directory with the logical code and when I use next/link for client side transition, I get an error: Route did not complete loading: “projects”. When I use regular anchor tag for routing, there is no issue.
Expected Behavior
It should change the route to the destined page without any error.
To Reproduce
import styles from '../styles/Home.module.css'
import Link from 'next/link'
export default function Footer() {
return (
<>
<div className={styles.link}>
<a href="https://github.com/devdaksh" target="__blank">github</a>
<a href="https://twitter.com/dawksh" target="__blank">twitter</a>
<a href="https://devdaksh.hashnode.dev" target="__blank">blogs</a>
<a href="mailto:akshd@outlook.com">email</a>
<Link href="/projects" >
<a>projects</a>
</Link>
</div>
</>
)
}

This is a screenshot of the error
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Error: Route did not complete loading on Next.js
I am trying to build a simple route for my personal blog but the chrome developer tools raise an error saying that Error:...
Read more >Error: Route Did Not Complete Loading On Next.Js - ADocLib
I've added a projects. js file in the pages directory with the logical code and when I use next/link for client side transition,...
Read more >Using Angular routes in a single-page application
This tutorial describes how to build a single-page application, SPA that uses multiple Angular routes. In a Single Page Application (SPA), all of...
Read more >What's New in Next.js 13 - AppSignal Blog
Then when the data fetching is complete, new info will be streamed to the page in place of the previously shown loading state....
Read more >Understanding Next.js routeChangeStart and router events
When a route changes completely; When the browser history is about to change; When a route encounters an error while changing. Let's explore ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seeing the same on macOS with:
<Link>tag<Link>tag.Same
10.0.5version of Next.js running on Node 14.15.4.I also tested previous minor versions and found that
10.0.1is the last version that does not throw this error.10.0.0is fine also.I’m also seeing this error on next@10.2