강의 다 끝내고, 깃헙에 배포를 하려는데
368
작성한 질문수 1
안녕하세요. 강의 들으며 많이 배웠습니다.
코딩 하나하나 다 해보고, 깃헙에 배포도 해보고싶어서 빌드를 하려는데, 계속 안되서요...
아래 에러 내용 공유합니다.
감사합니다.
> react-boiler-plate@1.0.0 build D:\React\react-movieapp-main\react-movieapp-main
> react-scripts build
Could not find a required file.
Name: index.html
Searched in: D:\React\react-movieapp-main\react-movieapp-main\public
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-boiler-plate@1.0.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boiler-plate@1.0.0 build 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! C:\Users\soneu\AppData\Roaming\npm-cache\_logs\2021-10-21T08_21_30_419Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-boiler-plate@1.0.0 predeploy: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boiler-plate@1.0.0 predeploy 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! C:\Users\soneu\AppData\Roaming\npm-cache\_logs\2021-10-21T08_21_30_447Z-debug.log
PS D:\React\react-movieapp-main\react-movieapp-main>
답변 1
0
안녕하세요 !!!
로그에 보니깐 index.html 파일이 없다고 나오는데 public 폴더에 index.html 파일이 있나요?!
0
네 파일도 다있고, 실행 잘되는거 확인후에 빌드를 시도한건데 저렇게 나와서 더 헷갈리네요...
boilerplate를 가져다가 빌드하는법은 다른방법인걸까요? 나중에 강의를 또 만드시면 배포하는법까지 올려주시면 너무 좋을것같아요!
현재 개발자로 일하고 있지만, 많이 부족해서 강의를 통해서 정말 많이 배우고 있습니다.
무료 강의 모두 끝난후에, 유료 강의도 들을려고요! 많이 감사드려요.
에러서 요렇게만 해보세요
0
244
1
antd Menu 질문
0
282
1
movieTitle
0
228
1
npm run dev 연결이 안됩니다ㅜㅜ
0
424
1
npm run dev 오류
0
872
1
403 forbidden error
0
1082
2
npm run dev 오류
0
710
1
모듈이 없다는데요
0
1285
1
npm run dev 실행시 오류
0
5403
1
504 Gateway Timeout Error
0
1461
1
컴파일 에러 관련 문의
0
510
1
npm run dev 오류
0
766
1
이미지가 안떠요...
0
376
2
npm run dev 실행하고 인증이 안되는거 같아요
0
540
1
cd client에서 npm install 오류
0
1429
1
npm run dev시 localhost가 자꾸 3000으로 연결됩니다
0
985
1
Netlify + AWS Elastic Beanstalk 를 이용한 배포
1
1801
1
[nodemon] app crashed - waiting for file changes before starting... Error occurred while proxying request localhost:3000/api/hello to http://localhost:5000/ 해결법
0
465
0
지금 듣기엔 안되는 강의일까요?
0
726
1
사진이 2개 2개씩 다른줄에 나와요 ㅠㅠ
0
444
1
비동기 처리가 영상과 다르게 됩니다..
0
249
0
#2강 npm install
0
784
4
LandingPage.js 내 useState(null) 이용하는 이유
0
227
0
client 부분에 App.js 와 Config.js 위치가 다른데 상관없는 것인가요?
0
386
1





