8 글 보임 - 1 에서 8 까지 (총 8 중에서)
-
글쓴이글
-
2023년 7월 28일 23:13 #92684
최하림참가자애플선생님말대로 모듈빼고 .next 폴더포함해서 압축한후에 올리면
이런 오류가 떠요 추출자체가 안된다는데 어떻게 해야할까요.??? 안에 out 폴더도 생성된것도아니구 .next 폴더만 압축해서 올리면 추출오류말고 Instance deployment failed to generate a 'Procfile' for Node.js. Provide one of these files: 'package.json', 'server.js', or 'app.js'. The deployment failed. 이오류가 먼저 떠요.. 어떻게 해야할지 감이안와요ㅠㅠ 일단 이쪽은 어느정도 해결된거같고 댓글이 문제같습니다..
2023년 7월 29일 00:26 #92689
최하림참가자지우고 다시 했는데 배드 게이트웨이라고 오류문구가뜨는데 어떻게 해야할까요,... 인스턴트 배포 2개중에 1개는 실패했다고 계속 그러네여 ㅠㅠ
2023년 7월 29일 09:46 #92708
codingapple키 마스터브라우저 콘솔창 확인해보고 aws사이트에 로그 출력할 수 있는 메뉴가 있는데 거기서 에러메세지같은거 뒤져봅시다
2023년 7월 30일 05:00 #92768
최하림참가자답변 감사합니다 하지만 ㅠㅠ 환경변수 비밀번호가 포함된 파일이 포함안되서 그런건가 해서 .env 파일을 빌드한 폴더에 넣어서 다시 올려봤지만 같은증상입니다. 에러내역이 저거같은데 무슨문제일까요..?
2023년 7월 30일 05:19 #92773
최하림참가자a `secret` in production. Jul 29 20:03:44 ip-172-31-5-216 web: at assertConfig #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7766:16#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: at AuthHandler #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7308:54#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: at async getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10524:21#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m { Jul 29 20:03:44 ip-172-31-5-216 web: code: #033[32m'NO_SECRET'#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: } Jul 29 20:03:44 ip-172-31-5-216 web: Error: There is a problem with the server configuration. Check the server logs for more information. Jul 29 20:03:44 ip-172-31-5-216 web: at getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10541:15#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: Error: There is a problem with the server configuration. Check the server logs for more information. Jul 29 20:03:44 ip-172-31-5-216 web: at getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10541:15#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: [Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { Jul 29 20:03:44 ip-172-31-5-216 web: digest: #033[32m'1441325798'#033[39m Jul 29 20:03:44 ip-172-31-5-216 web: } Jul 29 20:14:01 ip-172-31-5-216 web: [next-auth][error][NO_SECRET] Jul 29 20:14:01 ip-172-31-5-216 web: https://next-auth.js.org/errors#no_secret Please define a `secret` in production. MissingSecret [MissingSecretError]: Please define a `secret` in production. Jul 29 20:14:01 ip-172-31-5-216 web: at assertConfig #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7766:16#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at AuthHandler #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7308:54#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10524:21#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m { Jul 29 20:14:01 ip-172-31-5-216 web: code: #033[32m'NO_SECRET'#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: } Jul 29 20:14:01 ip-172-31-5-216 web: [next-auth][error][NO_SECRET] Jul 29 20:14:01 ip-172-31-5-216 web: https://next-auth.js.org/errors#no_secret Please define a `secret` in production. MissingSecret [MissingSecretError]: Please define a `secret` in production. Jul 29 20:14:01 ip-172-31-5-216 web: at assertConfig #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7766:16#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at AuthHandler #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:7308:54#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10524:21#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m { Jul 29 20:14:01 ip-172-31-5-216 web: code: #033[32m'NO_SECRET'#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: } Jul 29 20:14:01 ip-172-31-5-216 web: Error: There is a problem with the server configuration. Check the server logs for more information. Jul 29 20:14:01 ip-172-31-5-216 web: at getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10541:15#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: Error: There is a problem with the server configuration. Check the server logs for more information. Jul 29 20:14:01 ip-172-31-5-216 web: at getServerSession #033[90m(/var/app/current/#033[39m.next/server/chunks/41.js:10541:15#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: at async RootLayout #033[90m(/var/app/current/#033[39m.next/server/chunks/134.js:181:19#033[90m)#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: [Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { Jul 29 20:14:01 ip-172-31-5-216 web: digest: #033[32m'1441325798'#033[39m Jul 29 20:14:01 ip-172-31-5-216 web: }
이게 자꾸 반복적으로 뜨는것같습니다..
2023년 7월 30일 09:36 #92781
codingapple키 마스터nextauth설정파일에 secret: 이 없다는소리같습니다 아니면 .env에 NEXTAUTH_SECRET = ?? 이 없어서 그럴수도요
-
글쓴이글
8 글 보임 - 1 에서 8 까지 (총 8 중에서)
- 답변은 로그인 후 가능합니다.