I've created a webpage that opens when user types npm start. The localhost was fine the whole day. For the pas few hrs it refuses to connect. I've tried restarting pc, clearing cache, and turning off firewall and nothing is working.
here is my scripts
"start": "npm run open",
"open": "start http://localhost:1234"
It was working the whole day and now it's just broken. I've also tried removing all the json packages and reinstalling and running and nothing is working. Is there a different way to do this? I want the html file to run and open automatically.