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
已提問 7 個月前檢視次數 479 次
2 個答案
0
已接受的答案

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
專家
已回答 7 個月前
profile pictureAWS
專家
已審閱 7 個月前
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
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南