강의

멘토링

커뮤니티

Inflearn Community Q&A

wjdalsckd7776256's profile image
wjdalsckd7776256

asked

Node and React series that you can learn by following - Creating a YouTube site

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

Written on

·

337

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

reactnodejsmongodbredux

Answer 2

1

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

0

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

wjdalsckd7776256's profile image
wjdalsckd7776256

asked

Ask a question