+ 2
How can I fix nodemon crashed error in node
Please help me to fix this problem. This server is running on port 3000 .I Am always getting error when I execute nodemon index.js
4 Respuestas
+ 3
Can you please post the content in index.js and all directly associated files
+ 3
Const Express=require("express");
Const request =require ("request ");
Const bodyparser=require("body-parser");
Const app=express();
App. use(bodyparser.urlencoded({extracted:true});
App. get("/",function(req,res){
Res.sendFile(__dirname+"/index. js");
});
App. Listen ("/",function(req,res){
Console. Log(""server is running on port 3000);});
+ 2
Yeah sure
+ 1
Please help me to fix it