#error routes rendered in some route undeer dev mode

1 messages · Page 1 of 1 (latest)

north pulsarBOT
#

Hi @random bloom. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the knowledge sources, it seems like you're experiencing an issue with routing in Astro during development mode.

Astro uses standard HTML <a> elements to navigate between pages (also called routes), with traditional page refreshes. This is mentioned in the Astro tutorial (https://docs.astro.build/en/tutorial/2-pages/1#add-navigation-links).

However, the knowledge sources do not provide a direct solution to the issue you're experiencing. It's possible that there might be a bug or a misconfiguration in your project causing this issue.

You might want to check the following:

  1. Ensure that your HeaderLink component is correctly rendering the <a> tags with the correct href attributes.
  2. Check if there are any errors or warnings in the console when you run your development server.
  3. Make sure that the routes you're trying to navigate to exist in your project.

If the issue persists, you might want to consider opening an issue on the Astro GitHub repository (https://github.com/withastro/astro/issues) to get help from the Astro community.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: