Search code examples
javascriptreactjsreduxdeploymentnetlify

Why won’t my react site deploy to netlify?


I recently finished working on a site. However every time I use Netlify for deployment I get a 404 error. I tried dragging the file, installing and uninstalling yarn.lock, and even reuploading to Codesandbox. This is the link https://codesandbox.io/s/clever-bhaskara-m4br8?file=/src/App.js


Solution

  • If it is correctly deployed , make a _redirects file and put /* /index.html 200

    In it