Skip to main content

All Questions

1 vote
1 answer
237 views

Some JavaScript files do not start correctly with node/nodemon in src/

Well, the problem is simple to explain and although I have investigated I have not found a solution When I start the project in src/ with either nodemon src/ --ignore src/public/*(with the npm start ...
Zac Feng's user avatar
1 vote
1 answer
521 views

Nodemon won't run in the command prompt

On my windows device am trying to run nodemon but this is all what i get on the command prompt
user avatar
0 votes
0 answers
285 views

Nodemon -L not working using npm script from package.json on Docker

I am trying to set up a development environment on docker. I am running code that I made from this project. I have seem several answers on stack-overflow but none of them solves my issue. My package....
YulePale's user avatar
  • 7,796
3 votes
0 answers
9k views

Node "command not found"

Hey all– I'm on macOS Catalina. I've changed my NPM root and $PATH while trying to get things to work, and I think I broke something, though I'm not exactly sure what. My issue is very specifically ...
zeo's user avatar
  • 31
3 votes
4 answers
3k views

Nodemon not working using npm script from package.json on Docker

I'm working with NodeJS and Nodemon on Docker. When I try to run my NodeJS app using nodemon command directly in docker compose file, it runs. Like this (working): [docker-compose] command: nodemon ...
ammar26's user avatar
  • 1,612
0 votes
1 answer
1k views

nodemon in npm script triggered multiple times

My npm scripts: "build": "tsc -w -p ./src/server", "run": "nodemon --watch ./dist/server ./dist/server/app.js", "start": "concurrently --kill-others \"npm:build\" \"npm:run\"" From VSCode's terminal ...
lonix's user avatar
  • 21.5k
10 votes
2 answers
6k views

Can I run two ongoing npm commands in 1 terminal

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 save a ...
TheGreyBearded's user avatar
2 votes
1 answer
1k views

Nodemon for development environment

I wanted to know how to use nodemon, and push it to a git repo, and have other developers on the project be able to use nodemon without having to run the command npm install -g nodemon. Ideally, I ...
ddeamaral's user avatar
  • 1,443
7 votes
4 answers
10k views

npm packages not available when installed locally

I am working with npm on a web app and I found an issue when using some packages that requires terminal commands to run such like nodemon and concurrently I installed it via sudo npm install --...
Peter Wilson's user avatar
  • 4,317
1 vote
3 answers
6k views

How to restart multiple server files on npm script using nodemon when changing the files

When I am changing the file on the folder I want to restart the two server files using nodemon in npm script Here my npm script "scripts": { "test": "echo \"Error: no test specified\" && ...
Sivabalan's user avatar
  • 1,141

X