© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Gijo Varghese
A WordPress speed enthusiast
I think the js file your browser downloaded contains html code instead of JS. Try opening the url in browser.
Also nodemon is intended to use while developing, not in production!
Sonu Sasankan
Creative coder
Hi Gijo,
Thanks for your support.
I got to know that my server is not working on react build. Now I think this is not a problem with heroku. But I couldn't figure out why did server not working on build. Is that any path related issue?
Can you share the URL?
This URL is returning an HTML code instead of JSON: kkanya.herokuapp.com/api/companies-list
Ohh, Why did this happening? can you please give me solution to fix this if you got ? It will be a great help
I'm not much familiar with Heroku. But have you set up any sorts of redirections for React App? Looks like all routes are redirected to index.html