Error when using concurrently to run frontend and backend in the same project

120 views Asked by At

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. code with error

1

There are 1 answers

0
Wayne Celestin On

I managed to fix the error. so I had to remove the app and index from the frontend folder and put it in src. and then I edited the script tag like this:

"start": "concurrently \"react-scripts start\"  \"cd src/backend && nodemon server\"",

So it was a structural error.