Heroku 빌드팩 설정 관련 질문입니다 ㅜㅜ
612
投稿した質問数 2
안녕하세요 멘토님. 그대로 따라하다가 히로쿠에서 deploy 클릭시 다음과 같은 빌드에러가 발생합니다.
-----> Building on the Heroku-22 stack
-----> Using buildpack: heroku/nodejs
-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz
! ERROR: Application not supported by 'heroku/nodejs' buildpack
!
! The 'heroku/nodejs' buildpack is set on this application, but was
! unable to detect a Node.js codebase.
!
! A Node.js app on Heroku requires a 'package.json' at the root of
! the directory structure.
!
! If you are trying to deploy a Node.js application, ensure that this
! file is present at the top level directory. This directory has the
! following files:
!
! README.md
! shopping-mall/
! yarn.lock
!
! If you are trying to deploy an application written in another
! language, you need to change the list of buildpacks set on your
! Heroku app using the 'heroku buildpacks' command.
!
! For more information, refer to the following documentation:
! https://devcenter.heroku.com/articles/buildpacks
! https://devcenter.heroku.com/articles/nodejs-support#activation
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed참고하라는 곳을 봐도 쇼핑몰프로젝트에 어떤 빌드팩을 써야하는지 모르겠어서요 ㅜㅜ
참고: https://devcenter.heroku.com/articles/buildpacks#setting-a-buildpack-on-an-application
보아하니 Setting에서 빌드팩 추가하는 부분이 있길래 이부분에서 뭔가를 해줘야하는거 같은데, 안되네요ㅜㅜ (참고로 저는 heroku/nodejs라고 설정했었습니다.)
도와주세요 ㅜㅜ
回答 1
0
shopping-mall/ 안쪽이 deploy되야하는거 아닌가요? 그 겉의 디렉토리에서 deploy하려고해서 package.json이 없다고 에러나는거 같은데요
장바구니 담기 버튼 누르면 404에러가 뜹니다
0
253
1
[useRoutes, React-Query 오류 해결방법] No QueryClient set, use QueryClientProvider to set one 에러 나시는 분 보세요 !!!
4
1210
2
깃허브에서 선생님께서 올리신 파일 받아,, 실행시켜보려했으나 안됩니다
0
343
1
상품목록페이지만들기에서 ... 막힙니다..
0
407
1
강의 시점과 지금시점이 꽤 달라진게 있는거 같아요
0
500
1
상품목록 불러오기, 장바구니 삭제 에러 질문 드립니다
0
411
1
graphqlFetcher 관련 에러와 , data 객체 정의 되지 않는 오류 질문 드립니다
0
572
2
productdetail 데이터 안불러와지고 있습니다.
1
445
1
query 에러 발생했습니다.
1
538
1
react typescript vite 설치시 오류 질문드립니다.
0
1794
2
섹션1의 1강 routes.tsx에서 에러가 발생합니다
0
813
2
routes.tsx에서 질문이 있습니다!
1
576
1
vite-plugin-next-react-router
0
1475
3
grahpqlFetcher 설명가능할까요
1
501
1
msw mocking enabled
1
789
2
[기술 질문아님]
0
551
2
products 라우팅은 되는데 cart 라우팅은 안되네요 ㅠ
0
584
2
caught Error: No QueryClient set, use ueryClientProvider 에러
13
1970
3
Heroku build관련 오류가 발생해 글 남깁니다 ㅠㅠ
0
705
1
firebase filterling 관련 질문
0
568
3
body가 json 형태가 아닌 ReadableStream 형태로 찍힙니다.
0
785
1
graphqlFetcher 관련 에러가 해결이 안됩니다. ㅠㅠ
1
673
3
MSW graphqlFetcher 에러 관련
0
477
1
graphql-tag, graphql-request 패키지를 사용하는 이유가 궁금합니다.
0
790
1

