인프런 커뮤니티 질문&답변
! [remote rejected] main -> main (pre-receive hook declined),error: failed to push some refs to 오류가 뜨네요...
작성
·
342
1
heroku 빌드로그 보면
-----> Build
Running build
> fiveserver@0.1.0 build /tmp/build_b99169be
> react-scripts build
Could not find a required file.
Name: index.html
Searched in: /tmp/build_b99169be/public
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fiveserver@0.1.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fiveserver@0.1.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! /tmp/npmcache.U7Rlz/_logs/2021-10-25T13_39_03_674Z-debug.log
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
Some possible problems:
- Node version not specified in package.json
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
Love,
Heroku
! Push rejected, failed to compile Node.js app.
! Push failed
이렇게 나와있어요 진짜 며칠 째 고생 중이네요 ㅠㅠ
퀴즈
클라우드 컴퓨팅이 기존 서버 관리 방식과 다른 가장 큰 특징은 무엇일까요?
서버 장비를 직접 구매하고 데이터센터에서 관리해요.
클라우드 제공업체로부터 필요한 만큼 서버를 임대해 사용해요.
어떤 소프트웨어도 서버에 설치할 수 없어요.
네트워크 설정이 훨씬 복잡해져요.





ㅎㅎ헤로쿠 삭제하고 다시 만들어서 해결했습니다!!