Questions tagged [nodemon]

nodemon is an automated process that monitors the directory for a given node application. When files change in this directory, nodemon automatically restarts the node application.

nodemon is an automated process that monitors the directory for a given node application. When files change in this directory, nodemon automatically restarts the node application.

Basic usage

nodemon [your node app]
nodemon ./server.js localhost 8080
1355 questions
-1
votes
1 answer

ReferenceError: transporter is not defined

i am new in react js am getting an error when i am trying to run my node js server the error is mentioned in my title box please try to fix it as soon as possible. index.js this is my index.js file where i wrote my all backend code let express =…
-1
votes
1 answer

How to import ES Module in a server.js

I don't know how to resolve this error when I'm running nodemon server.js I've tried adding --experimental-modules and also "type": "module" but none of it is working for me, should I have import esm from 'esm' somwhere? package.json { "name":…
draco
  • 1
  • 1
-1
votes
1 answer

I want to restart nodemon server programmatically every 20 minutes

I want to restart nodemon server app.js programmatically every 20 minutes with restart.js. I'm starting with nodemon -r esm app.js . and server.js should relaunch it somehow. I tried with pm2 and forever various combinations I don't even remember…
Mikheil misha
  • 51
  • 1
  • 6
-1
votes
1 answer

Nodemon is Not Working : [nodemon] Not Working

nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + nodemon…
-1
votes
2 answers

MongoDB // nodemon crash when i POST in postman

When i run nodemon file.js it show this (cmd) : (node:23816) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to…
Android Dev
  • 35
  • 1
  • 7
-1
votes
1 answer

nodemon doesnt start the server file after restarting due to changes

It is said that pictures speak louder than words so... As you can see nodemon works just fine by itself as expected: then when i get express to the project nodemon just keeps restarting due to changes tried pretty much every solution i can find on…
omerb
  • 39
  • 1
  • 8
-1
votes
1 answer

Get 404 error when trying to install the nodemon package

I get a 404 error when trying to install the nodemon package. PS C:\Users\Fo0ola\Desktop\SERVER-SIDE> npm install -g nomdemon npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/nomdemon - Not found npm ERR! 404 npm ERR! 404 …
-1
votes
1 answer

nodemon command not recognized by terminal

I am trying to automate the server reload using the nodemon. I have it installed locally and have the start set to nodemon app.js using the code: "scripts": { "start": "nodemon app.js" } It ran fine for the first time, but after shutting down…
Aniruddha
  • 774
  • 1
  • 7
  • 18
-1
votes
2 answers

Nodemon not starting local server?

I am trying to run my Express project but it won't execute.Following is my package.json file I am writing following command in terminal but noting happens. FYI, I am in the right directory Here is my index.js…
Chup bae
  • 69
  • 1
  • 7
-1
votes
1 answer

App crashed when enter command: npm run dev

Full image of error I'm new in learning React, today, I have trouble as below and I can't fix it, please help me. Below is the error
shyoski
  • 1
  • 1
-1
votes
1 answer

The term 'nodemon' is not recognized

nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. just trying to install…
Vicky grk
  • 1
  • 1
  • 1
-1
votes
2 answers

what monitoring tools are needed to deploy a node.js/express server on a Linux machine?

First time I am deploying a node.js/express server in production. I am planning to deploy nodemon. Log a number of metrics through node middleware, such as timing, number of requests, what endpoints? Anything anyone uses for my use case?
reza
  • 5,972
  • 15
  • 84
  • 126
-1
votes
2 answers

What is GET/ error in node.js application?

I am trying to run my node.js application with npm start The output I am getting is: $ npm start > alaka@1.0.0 start C:\Users\Alaka\Downloads\A4\API assignment 4 > nodemon app.js [nodemon] 1.19.1 [nodemon] to restart at any time, enter…
Alku
  • 1
  • 2
-1
votes
1 answer

Unable to start the server

I am trying to use nodemon for auto-starting the server whenever a change is made in the local file, but I get the following error. (Click image to enlarge) package.json { "name": "myapp", "version": "0.0.0", "private": true, …
-1
votes
1 answer

Run nodejs result in browser

I am new in nodejs,In server (using ssh) i installed node (expressjs) and npm on server successfully, In app.js i put following code var express = require('express'); var app = express(); app.get('/', function (req, res) { …