nodemon Questions

12

I'm doing API with the node and using Mongoose. When I give a yarn dev to start my Nodemon, there is an error in Mongo, I have no idea how to solve this. Would anyone have any ideas? (I'm using the...
Crucifix asked 13/2, 2021 at 13:34

2

Solved

Ever since updating from WSL 1 to WSL 2 with the Windows 10 April 2020 update (and thereafter updating Ubuntu 18 to Ubuntu 20), I have not been able to get nodemon to hot reload when there are file...

2

Is there a way to automatically restart the node debugger in VS Code when a source file changes like nodemon?
Idell asked 29/1, 2017 at 17:47

5

Solved

Nodemon does not reload after yaml files change. How can I configure nodemon to reload the server when a yaml file changes?
Incommunicative asked 16/1, 2020 at 20:12

4

Solved

I am new to web development and I have a hosting service on which I want to deploy my reactjs/node project. To deploy it previously, I had been simply uploading the build folder created from runnin...
Felske asked 24/2, 2019 at 17:33

1

Solved

I have a very basic Express server setup with NodeJS/Express + Nodemon. I'm using WebStorm as my IDE. When running the debug/inspect script, my application is throwing a compile-time error. Followi...
Priestcraft asked 4/1, 2021 at 1:6

1

Solved

I want to build an Electron app with ES6 import syntax so I can re-use modules between my Node.js and browser side JS without code duplication and found Electron is frustratingly behind the times o...
Ovotestis asked 20/12, 2020 at 14:11

2

Solved

I thinks what is happening is that for a callback to update a collection in mongoose I do a writeFile to all.json and I think that is causing my nodemon to restart. The cmd window: file saved [no...
Purposeless asked 13/7, 2016 at 22:13

4

Solved

I'm deploying my node app to Heroku and it's trying to invoke it with nodemon rather than the node app.js I have defined. My Procfile looks like this: web: npm start And when I push to heroku th...
Harridan asked 24/3, 2014 at 19:34

1

Solved

Hi Guys am new in node js , i am getting an error when am trying to append my file in node js don't know what's going on wrong please try to fix my error and also tell me what should i do? console....
Disclose asked 28/11, 2020 at 6:4

3

Whenever I try to run nodemon to auto-restart my local server (running on port 3000), I get this error message regarding a syntax error in the no /Users/SI23/.nvm/versions/node/v6.5.0/lib/node_mod...
Crt asked 16/12, 2019 at 19:34

6

Dev environment starts with this command: nodemon -w src --exec \"babel-node src --presets es2015,stage-0\" How do i create a global variable (or process.env variable) __DEV__ = true?
Kerguelen asked 5/7, 2017 at 4:55

3

Solved

A few days ago I re-installed Windows 10. I am developing full stack web app with express as backend and React.js as frontend. I am using nodemon to realod the server and webpack-dev-server for the...

5

I am having trouble with exiting past nodemon instance. COMMAND   PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME node    98355 user   14u  IPv6 0x51b8b9857a4e56a3      0t0  TCP *...
Surcingle asked 5/8, 2017 at 10:11

0

I am attempting to use the move method from the fs-extra npm module. It works for moving files and empty directories, but every time I try to move a non-empty directory while using nodemon, I get t...
Peevish asked 20/8, 2020 at 8:39

6

Solved

"scripts": { "build": "babel src -d lib", "start": "node --use_strict ./lib/index.js", "watch": "nodemon lib/index.js --exec npm run build" } Using the command npm run watch results in the fol...
Thorner asked 24/4, 2016 at 21:15

2

I'm following a VUE tutorial on a mac (shown in youtube). In my src/app.js I have only console.log('hi'); The start command for the Mac in package.json as shown on the youtube video is: "scrip...
Grieco asked 3/9, 2018 at 20:49

2

Solved

I have these 2 commands in my npm scripts "scripts": { "webpack": "webpack --config webpack.config.js --watch", "server": "nodemon server.js", } As you can see, one runs webpack every time I sa...
Fieldstone asked 13/10, 2017 at 9:58

1

Solved

Node project is built with Typescript and there are three script in package.json file but when I run it shows ... If i run this project in ubuntu it works fine but not in windows Image of output...
Upend asked 30/4, 2020 at 13:18

1

I am running Nodemon in an express app, and I've done no special configuration; in my package.json I have this: "scripts": { "start:dev": "nodemon app/app.js" } ... Everything goes fine until I...
Etherify asked 22/3, 2018 at 22:0

1

Solved

In my Express JS API server, I tried to use dotenv with a .env file for my environment setup. I prefer to use the .env file for both development and production environment. I am using nodemon fo...
Conclusive asked 22/4, 2020 at 6:49

5

I am trying to improve the DEV experience in my Node. To do that, I want to: a) restart my server when server-side code is changed b) refresh the browser when client-side code is changes. In an e...
Arjuna asked 3/3, 2016 at 12:13

8

Solved

I'm currently using node along with nodemon. Then I got to thinking it might be sometimes nice to use an inspector with node so have started using node-inspector However, is it possible to run bot...
Haematothermal asked 11/9, 2014 at 22:36

8

Solved

Is there any way to have both of this packages running together? So basically I want to have best from both worlds. Running server automatically (and restarting when there is an error) and also au...
Cannikin asked 3/5, 2013 at 23:33

6

Solved

In my package.json I have a start-script which I'm using for my dev enviroment. It looks like this: "scripts": { "dev": "NODE_PATH=src nodemon --watch src/ --exec babel-node src/app.js" } When ...
Apocryphal asked 7/10, 2016 at 12:29

© 2022 - 2024 — McMap. All rights reserved.