'I ma getting the white screen after deploying the react app in the azure

[I am receiving the all files in console but showing in the frontend and automatically refresh showing the whitescreen][1]

Package.json fileQ5XvT.png



Solution 1:[1]

To resolve white/blank screen deployment of react app in Azure, try either of the following ways:

  1. In package.json add "homepage": "."

  2. Make sure to publish from build folder instead of public folder

  3. In your index.html, make sure to check to specify correct JavaScript bundle.

References: How to fix the Blank screen After a Static Deployment with create-react-app and I have deployed a azure-webapp and the page displays blank

Sources

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

Source: Stack Overflow

Solution Source
Solution 1