'why always throw this response "You need to enable JavaScript to run this app" when have api call

I create a react app and deploy to netlify/AWS Amplify, when api request for the backend api, it becomes blank page and the developer tool shows the response: "You need to enable JavaScript to run this app". I have no idea to fix this problem. But everything is fine when running on my local host.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source