''NPM start' running on a strange URL after vscode crashed
My react app ran normally on the URL "http://localhost:3000" before vscode crashed (something about 'memory heap out'). After reopening vscode,
npm start
runs on the URL "http://localhost:3000/bryansomto/appName" and displays nothing. I tried editing the URL back to the previous working URL (that is, without /bryansomto/appName) from within the browser but the page still displays nothing.
Ps, no error is shown on the terminal from which I run npm start.
This is what my start script in package.json looked like before and after the issue.
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"server": "node-env-run server --exec nodemon | pino-colada",
"dev": "run-p server start" },
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
