Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on nodemon restart #1873

Closed
ritviksakpal opened this issue Jun 29, 2021 · 1 comment
Closed

Issue on nodemon restart #1873

ritviksakpal opened this issue Jun 29, 2021 · 1 comment

Comments

@ritviksakpal
Copy link

  • nodemon -v: 2.0.8

  • node -v: v14.15.4

  • Operating system/terminal environment: Windows/hyper terminal

  • Command you ran: nodemon server.js

Expected behaviour:

Restart server upon saving the file

Actual behaviour

get below error:

image

image

Steps to reproduce

I've created demo code: -

const express = require('express');
const app = express();
app.get("/", function (req, res) {
    res.send("Hello");
})
app.get("/contact", function (req, res) {
    res.send("Contact");
})
app.get("/about", function (req, res) {
    res.send("About");
})
app.listen(80, function () {
    console.log("Server started at 80");
});

once saving the file and document is changed, I get the above pop up and error on the terminal

If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.

image
image

@remy
Copy link
Owner

remy commented Jun 30, 2021

Duplicate of active issue here: #1872

@remy remy closed this as completed Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants