강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của wjdalsckd7776256
wjdalsckd7776256

câu hỏi đã được viết

Chuỗi bài học về Node và React để học bằng cách theo dõi - Tạo một trang YouTube

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

Viết

·

325

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

Câu trả lời 2

1

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

0

wjdalsckd7776256님의 프로필 이미지
wjdalsckd7776256
Người đặt câu hỏi

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

Hình ảnh hồ sơ của wjdalsckd7776256
wjdalsckd7776256

câu hỏi đã được viết

Đặt câu hỏi