Questions tagged [concurrently]
53 questions
0
votes
0 answers
NodeJS, using concurrently to run scripts to start pm2 ecosystem + monit and jsreport
I'm using npm version 8.5.2, pm2 version 5.2.2 and concurrently version 7.4.0.
I'm trying to create a script to start my server through pm2 ecosystem.config.js and using pm2 monit while opening a new cmd.exe to run jsreport
These are my…

alesssz
- 384
- 4
- 18
0
votes
0 answers
Why is my app doing a request on a different port?
I am building a nodejs, reactjs app and i am having issues for making requests from my reactjs part of the app to my API. I am using concurrently, so i made a proxy:
"proxy":"http://localhost:5000/"
Port 5000 is where my API is running and Port…

tukitooo1998
- 337
- 10
0
votes
1 answer
How do i use concurrently in the following folder structure
I am trying to use concurrently to run backend and frontend at the same time and i tried but it is giving me error for not using its script correctly.
I am using concurrently in the backend package.json
>backend
all the backend files and…

Shiv Shankar Prasad
- 145
- 2
- 15
0
votes
1 answer
Error when using concurrently to run frontend and backend in the same project
It is giving me this error when I am using concurrently to run the frontend and backend folder with concurrently. I do not know what I am doing wrong. Can you please help me. Thanks in advance.

Wayne Celestin
- 149
- 1
- 6
0
votes
1 answer
How to pass an argument to 2nd command when using `concurrently` with npm?
I have 2 npm scripts: tsc -w and jest --watch that I want to execute concurrently. I know there is a tool called concurrently that could be used for this.
"test:watch": "concurrently -P --kill-others \"npm run watch\" \"jest --watchAll -- {@}…

Ilya Kushlianski
- 780
- 9
- 15
0
votes
0 answers
Unable to run react server and node backend at the same time using concurrently
This is my node backend package json file
"scripts": {
"start": "node server",
"server":"nodemon server",
"client":"npm start --perfix client",
"dev":"concurrently "npm run server" "npm run client""
},
This is my react package.json file
},
…
0
votes
0 answers
How to run react and activate python virtualenv with concurrently npm package or with one command
I am trying to create a npm run script that can start react app and then activate python virtual env to run flask server.
scripts in package.json:
{
"scripts": {
"start": "react-scripts start",
"both": "concurrently \"react-scripts start\"…

Anurag Parmar
- 252
- 2
- 12
0
votes
0 answers
React app hot-loader (auto-refresh) only works when starting the frontend/backend servers separately not using concurrently?
I'm building a react app where I seed data to a mongoDB database and again fetch that data from that database and render the data to the UI. In this case in the Paintings.js component. However when changes are made to this component the hot-load is…

Noud
- 145
- 9
0
votes
2 answers
Run npm script on termination from console "CTRL+C"
I want to run yarn dev to start pm2 and webpack in watch mode for development. Problem is that I need to kill pm2 instance (run yarn pm2:del) when I terminate manually pressing "CTRL+C". How can it be done?
package.json:
"scripts": {
"dev":…

ZiiMakc
- 31,187
- 24
- 65
- 105
0
votes
1 answer
node:events:304 Error: listen EADDRINUSE: address already in use :::5000
I tried to use concurrently to run sever and client at the same time, then I got this error, even though I have tried lots of solutions online, checked that no 5000 ports running, deleted modules, yarn.lock, cleaned up cache, restarted my PC, etc.,…

Luke Lyu
- 11
- 3
0
votes
1 answer
Getting an error when using concurrently to run front and backend
When I run npm run dev, I am getting this error:
[1] npm ERR! code ENOENT
[1] npm ERR! syscall open
[1] npm ERR! path C:\Users\reaga\Desktop\Projects\weather-app-v3\api\client/package.json
[1] npm ERR! errno -4058
[1] npm ERR! enoent ENOENT: no…

supernova
- 127
- 1
- 1
- 12
0
votes
0 answers
Can items in Ansible loop or with_items be processed concurrently?
- block:
- name: ensure backup directory exists
win_file:
path: "{{ BACKUP }}"
state: directory
recurse: yes
- include_tasks: increment_backup.yml
with_items: "{{ filelist.stdout_lines }}"
when:…

WenJ
- 21
- 5
0
votes
2 answers
trying to run react and node.js concurrently
package.json
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "cd profile-app-server && nodemon server.js",
"client": "cd client/profile-front-end && npm start",
"start": "concurrently…

Seb
- 133
- 1
- 12
0
votes
2 answers
Run Node & React Concurrently in separate folders
My app did work but I want to re-organise it so it is easier to manage. I want to move the server files from the root to their own directory.
Currently I use concurrently to load my server and client so they can run simultaneously.
When I run npm…

Benny
- 103
- 2
- 12
0
votes
1 answer
How do i run this npm script in the package.json? (concurrently) while my clien and server folders have their own directories
While trying to do the MERN tutorial(Travers Media), i've also been asking a few questions to my friends who do code. And it irritates my friend that i don't separate client folder and server folder. but since my plan is to run both backend and…

Im not Xavier
- 1
- 2