- I deployed react application in netlify
- so I used npm run build command for building local scripts and manually deployed application in netlify for production mode
- Build scripts are creating in local machine and uploaded in netlify site
- It shows message as successful deployment
- on clicking on URL link, previously shows status to GET request for build scripts as 404
- After including redirects file in build folder, it changed for status to GET request for build scripts as 304 and showing error as
syntax error: uncaught error : unexpected token <
- For debugging, I commented files and run the code to find out the error
- But, unable to find the root error
- can you guys help me where I have done mistake with your suggestion
- netlify URL link: https://lucid-shaw-bb2b3f.netlify.com
- The application code is available in github and its link: https://github.com/aarivalagan/react-one
- attached application screenshots below
- providing code snippet below:
_redirects
/* /index.html 200!
packagae.json
"scripts" : {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
}
