• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

npm run dev 후 에러가 뜹니다ㅜㅜ

21.01.25 16:55 작성 조회수 201

0

$ npm run dev

> react-chat-app@1.0.0 dev

> 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 (node:internal/child_process:277:19)

[0]     at onErrorNT (node:internal/child_process:477:16)

[0]     at processTicksAndRejections (node:internal/process/task_queues:81:21)

[1] Error occurred when executing command: npm run start --prefix client

[1] Error: spawn cmd.exe ENOENT

[1]     at Process.ChildProcess._handle.onexit (node:internal/child_process:277:19)       

[1]     at onErrorNT (node:internal/child_process:477:16)

[1]     at processTicksAndRejections (node:internal/process/task_queues:81:21)

[1] npm run start --prefix client exited with code -4058

[0] npm run backend exited with code -4058

npm ERR! code 1

npm ERR! path C:\Users\jeong\react\react-youtube-clone-master

npm ERR! command failed

npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c concurrently "npm run backend" "npm 

run start --prefix client"

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

npm ERR!     C:\Users\jeong\AppData\Local\npm-cache\_logs\2021-01-25T07_55_17_844Z-debug.log

답변 2

·

답변을 작성해보세요.

1

이서영님의 프로필

이서영

2021.01.26

server 부분에서 npm run backend 하고 client에서 npm run start 해보세요

0

정민창님의 프로필

정민창

질문자

2021.01.26

서영님 께서 알려주신 대로 해도 오류가 납니다ㅜㅜ