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
posta 7 mesi fa481 visualizzazioni
2 Risposte
0
Risposta accettata

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
ESPERTO
con risposta 7 mesi fa
profile pictureAWS
ESPERTO
verificato 7 mesi fa
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
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande