inflearn logo
강의

講義

知識共有

フォローして学習するノード、リアクトシリーズ - YouTubeサイトを作成

全体的な枠組みを作成し、Mongo DB接続

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

481

작성자 없음

投稿した質問数 0

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:

mongodb nodejs react redux

回答 2

0

beginagain

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

0

arthursung98

혹시 backslash를 쓰셨나요?

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

이렇게요.

npm i하면 바로, 라이브러리 오류없이 받아지고, 구동되는 소스는 없나요?

0

52

1

ERROR in ./node_modules/antd/es/version/index.js 2:15-22

0

223

1

자료 없음

0

325

1

이미지 깨짐

0

338

1

npm run dev 동작 에러

0

306

1

npm run dev 동작 에러

0

298

1

npm run dev 동작에러납니다...

0

663

1

npm run dev 실행 오류

0

654

1

비디오 업로드, 로그인, 회원가입 504 error

0

1058

1

시작부터 오류생기시는 분들 해결법입니다.

1

470

1

오류 해결 공유

0

461

1

npm install 에러 질문드립니다.

0

1128

2

아예 몽고DB에 연결한다고만 하고 연결이 안되고 있습니다.

0

553

1

해당 오류 해결 방법 좀 알려주세요 ㅠㅠ

0

519

1

로컬스토리지에 대한 질문입니다!!

0

516

0

video가 안 나타나는 문제

0

894

1

ffmpeg 설치 후 cannot read property 'format' of undefined 500 에러 해결

0

473

0

typeError or 콘솔 500 뜨는분..

0

339

0

npm run dev 관련 오류

0

579

1

답글이 달리지않고 디비에도 저장되지않으며 새로고침이 됩니다.

0

248

0

useState 자동 생성

0

349

1

TypeError: Cannot read properties of undefined (reading 'format')

0

1248

2

userData undefined / state에 user.userData가 없습니다.

0

249

0

antd Input background color 변경

0

245

0