07-21-2023, 05:03 PM
I've seen good responses and they seem to fix.
I had the same problem and I hope my answer helps someone like me, I had not realized the following:
Looking at the package.json file I clicked on the "Debug" link above
"scripts:" {
"dev": "nodemon src / app.js"
}
and the console was automatically opened in visual studio code and I did not remember that the server was already running from the operating system console.
That was my mistake.
I had the same problem and I hope my answer helps someone like me, I had not realized the following:
Looking at the package.json file I clicked on the "Debug" link above
"scripts:" {
"dev": "nodemon src / app.js"
}
and the console was automatically opened in visual studio code and I did not remember that the server was already running from the operating system console.
That was my mistake.