404 error at first loading next.js web application #44990
              Unanswered
            
        
              
                tsremarkable
              
              
                asked this question in
              Help
            
          Replies: 0 suggested answers
  
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
-
Hi, sorry for taking your time.
I was working on a next.js project.
And there's a really strange 404 error at the first run of website.
It's something like this.
Failed to load resource: the server responded with a status of 404 (Not Found)I've checked other questions and other things on discussion, also through stackoverflow and did some several things but still it's not working.
<Link key={index} className={"" + router.pathname==item.link ? "text-activeText font-sans text-4xl mr-12" : "" + " duration-300 text-primaryText hover:text-activeText active:text-activeText font-sans text-4xl mr-12"} href={/?uri=${item.link}} as={item.link} >{item.title}</Link>But it still says error and I'm not sure why is this happening.
I'm now looking forward to your reply.
Beta Was this translation helpful? Give feedback.