• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

저만 4-1 실행시에 에러나나요?

21.04.22 14:46 작성 조회수 148

1

npm 으로 인스톨 하고 실행시

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! 4-2-react-before-apollo@0.1.0 start: `react-scripts start`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the 4-2-react-before-apollo@0.1.0 start 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:

npm ERR!     /home/hdh1987/.npm/_logs/2021-04-22T05_46_01_246Z-debug.log

이런 내용으로 에러가 발생하면서 안되네요..

답변 2

·

답변을 작성해보세요.

1

takyhsoul님의 프로필

takyhsoul

2021.07.25

npm install -g react-scripts 하고도 안되면 npm update 하고 npm start 하는거 추천

0

답변이 너무 늦어 죄송합니다 ㅠㅠ  제 컴퓨터에서는 다시 받아 실행해보아도 같은 오류가 뜨지 않네요.

적어주신 오류 내용만으로는 파악이 안 되고, 그중에 나온 것처럼 /home/hdh1987/.npm/_logs/2021-04-22T05_46_01_246Z-debug.log 파일의 내용을 알려주시면 해결해볼 수 있을 것 같습니다.

혹은 npm install -g react-scripts 로 리액트 모듈을 설치함으로써 해결이 되는지 확인주시면 감사하겠습니다.