작성자 없음
작성자 정보가 삭제된 글입니다.
작성
·
380
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
0
혹시 backslash를 쓰셨나요?
concurrently \"npm run backend\" \"npm run start --prefix client\"
이렇게요.