Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: React Build and Deploy

mark-steven-au premium asked 4 years ago


Expected behavior React project. npm start web page loads all fine, navigate through web site to page 2 and 3 all looking good.

NPM run build Copy folder contents of "build" to AWS bucket. URL to bucket via browser web home page loads all fine. click on link to page 2 then page 3 etc Actual behavior click on page 2 nothing there page 3 nothing there only home page. Resources (screenshots, code snippets etc.) Wondering what I missed in the build to be missing pages? Are the Urls or something missing or need to be absolute to work? Any clues?


mark-steven-au premium commented 4 years ago

worked it out for any out there that hit this issue. It is an AWS thing. Make sure you have S3 bucket index.html marked which you would need for it to show up anyway. But also add index.html to the error.html window as well. Don't point that to an error.html document which is what AWS documentation suggest.


Piotr Glejzer staff commented 4 years ago

So did you resolve your problem? We don't provide any connection with AWS. Is that a problem?


mark-steven-au premium commented 4 years ago

yes all good now - Was AWS end



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: MAC
  • Browser: chrome
  • OS: IOS
  • Provided sample code: No
  • Provided link: No