Next JS - AWS Amplify Build Cache

0

I have a Next JS project hosted on AWS Amplify. I am having a strange problem with my following pages /Salesforce and /SageIntacct. I am trying to simply make them lowercase however when they are in a live environment the pages for /salesforce and /sageintacct go blank when i navigate to them.

Dylan
preguntada hace 7 meses481 visualizaciones
2 Respuestas
0
Respuesta aceptada

Hello. Ensure that the file names and folder names in your Next.js project match the URLs you are trying to access exactly in terms of case. For example, if you have a page at /Salesforce.js, make sure the file name is exactly Salesforce.js, with the correct capitalization.

Sometimes, issues like this can be related to caching. Clear the cache of your browser and try accessing the pages again to see if the issue persists

Best regards, Andrii

profile picture
EXPERTO
respondido hace 7 meses
profile pictureAWS
EXPERTO
revisado hace 7 meses
0

Hi thanks for coming back to me soo quick. I've tried both of those methods but to no avail. When I have it deployed with the changes and navigate to say /Salesforce it will still work but the new updated /salesforce doesn't work.

Dylan
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas