• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

에러가 도저히 해결이 안돼서 도움 부탁드립니다.

21.07.24 16:03 작성 조회수 267

0

구글링 해보면서 node 다시깔고 환경변수 설정도 해봤는데 여전히 몇일째 해결을 못하고 있습니다. 이전에 보일러플레이트 강의 들었을때 했던것도 같은 오류로 실행이 안되네요 어떻게 해결해야 할까요..?

> react-boiler-plate@1.0.0 dev C:\Users\lnr99\Documents\boilerplate-mern-stack-master
> concurrently "npm run backend" "npm run start --prefix client"

[0] Error occurred when executing command: npm run backend
[0] Error: spawn cmd.exe ENOENT
[0]     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
[0]     at onErrorNT (internal/child_process.js:467:16)
[0]     at processTicksAndRejections (internal/process/task_queues.js:82:21)
[1] Error occurred when executing command: npm run start --prefix client
[1] Error: spawn cmd.exe ENOENT
[1]     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
[1]     at onErrorNT (internal/child_process.js:467:16)
[1]     at processTicksAndRejections (internal/process/task_queues.js:82:21)
[1] npm run start --prefix client exited with code -4058
[0] npm run backend exited with code -4058
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-boiler-plate@1.0.0 dev: `concurrently "npm run backend" "npm run start --prefix client"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boiler-plate@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

답변 2

·

답변을 작성해보세요.

0

beginagain님의 프로필

beginagain

2021.07.26

네 package.json에는 잘 되어있는데 오류메세지로는 저렇게 나오네요ㅠㅠ

0

arthursung98님의 프로필

arthursung98

2021.07.25

혹시 backslash를 쓰셨나요?

concurrently \"npm run backend\" \"npm run start --prefix client\"

이렇게요.