You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running my Express app using nodemon, the console logs (e.g., console.log()) do not appear in the terminal. Additionally, nodemon opens a browser window unexpectedly, which is not desired behavior.
package.json
{
"name": "backend",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.3. Please try upgrading to the latest version and checking whether this issue remains.
Type: Bug
When running my Express app using nodemon, the console logs (e.g., console.log()) do not appear in the terminal. Additionally, nodemon opens a browser window unexpectedly, which is not desired behavior.
package.json
{
"name": "backend",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "Deepika Goyal",
"license": "ISC",
"description": "",
"dependencies": {
"express": "^4.21.0",
"mongoose": "^5.13.19",
"mongoose-delete": "^1.0.2",
"nodemon": "^3.1.7"
}
}
index.js
const express = require('express');
const app = express();
const port = 5000;
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(port, () => {
console.log(
Example app listening on port ${port}
);});
IT WAS WORKING SMOOTHLY FEW WEEKS BACK, BUT NOT NOW
VS Code version: Code 1.95.2 (e865366, 2024-11-07T11:07:22.054Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (33)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: