React Project not getting deployed on vercel but works on local host

  Kiến thức lập trình

When I am trying to deploy my react chat project which is not based on backend and doesnt go into complications of web sockets and simply uses dummy data from another js file, the code of the app.js file is visible on the web page and the project doesnt get deployed properly. However, their is no complication shown by vercel. The only suspicious thing is my deployment link, it appears unusual, as I have deployed one more basic react project on vercel in past. Also, vercel doesnt automatically detect my project as a react project while trying to deploy it And never deploys when I choose create react app as my framework preset.Images:- The difference in the appearance of my project on vercelThis is how the project looks after deployment

I tried to deploy the app directly by just choosing my github repository of the project in vercel. But it didnt deploy my project properly even though it didnt show any error….

New contributor

CodingUltron is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT