3 글 보임 - 1 에서 3 까지 (총 3 중에서)
-
글쓴이글
-
2024년 3월 1일 15:42 #114800
공플참가자안녕하십니까 선생님 aws로 제가 만든 프로젝트를 배포하려고 하는데 1. 500에러 와 클라이언트 사이드 예외발생
2. next/dist\client\components\static-generation-async-storage.external.js 모듈찾기 에러 3. Nginx 에러 위의 세가지 에러가 뜹니다 어떻게 해결하면 좋겠습니까? 로컬 환경에서 빌드하고 run 했을 때는 401과 같은 제가 지정한 응답 에러만 떴는데 배포하니 500이라는 에러가 뜹니다. 세팅 :
next js - 14.0.1 node js - 18.17
마지막 100줄 로그
---------------------------------------- /var/log/eb-engine.log ---------------------------------------- 2024/03/01 04:24:28.105034 [INFO] Executing instruction: Track pids in healthd 2024/03/01 04:24:28.105038 [INFO] This is an enhanced health env... 2024/03/01 04:24:28.105052 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf aws-eb.target | cut -d= -f2 2024/03/01 04:24:28.140492 [INFO] cfn-hup.service nginx.service healthd.service
2024/03/01 04:24:28.140534 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf eb-app.target | cut -d= -f2 2024/03/01 04:24:28.155792 [INFO] web.service
2024/03/01 04:24:28.156264 [INFO] Executing instruction: RunAppDeployPostDeployHooks 2024/03/01 04:24:28.156349 [INFO] Executing platform hooks in .platform/hooks/postdeploy/ 2024/03/01 04:24:28.156368 [INFO] The dir .platform/hooks/postdeploy/ does not exist 2024/03/01 04:24:28.156371 [INFO] Finished running scripts in /var/app/current/.platform/hooks/postdeploy 2024/03/01 04:24:28.156378 [INFO] Executing cleanup logic 2024/03/01 04:24:28.156591 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1709267068156,"severity":"INFO"}]}]}
2024/03/01 04:24:28.156837 [INFO] Platform Engine finished execution on command: app-deploy
2024/03/01 04:29:27.874913 [INFO] Starting... 2024/03/01 04:29:27.874963 [INFO] Starting EBPlatform-PlatformEngine 2024/03/01 04:29:27.874984 [INFO] reading event message file 2024/03/01 04:29:27.875445 [INFO] Engine received EB command cfn-hup-exec
2024/03/01 04:29:27.985254 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBAutoScalingGroup --region ap-northeast-2 2024/03/01 04:29:28.371404 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBBeanstalkMetadata --region ap-northeast-2 2024/03/01 04:29:28.732268 [INFO] checking whether command tail-log is applicable to this instance... 2024/03/01 04:29:28.732285 [INFO] this command is applicable to the instance, thus instance should execute command 2024/03/01 04:29:28.732288 [INFO] Engine command: (tail-log)
2024/03/01 04:29:28.732356 [INFO] Executing instruction: GetTailLogs 2024/03/01 04:29:28.732360 [INFO] Tail Logs... 2024/03/01 04:29:28.732968 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-hooks.log 2024/03/01 04:29:28.735504 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log 2024/03/01 04:29:28.737621 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log 2024/03/01 04:29:28.739421 [INFO] Running command /bin/sh -c tail -n 100 /var/log/web.stdout.log 2024/03/01 04:29:28.741897 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log 2024/03/01 04:29:28.828420 [INFO] Executing cleanup logic 2024/03/01 04:29:28.828510 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1709267368828,"severity":"INFO"}]}]}
2024/03/01 04:29:28.828527 [INFO] Platform Engine finished execution on command: tail-log
2024/03/01 04:47:26.981613 [INFO] Starting... 2024/03/01 04:47:26.981655 [INFO] Starting EBPlatform-PlatformEngine 2024/03/01 04:47:26.981676 [INFO] reading event message file 2024/03/01 04:47:26.981842 [INFO] Engine received EB command cfn-hup-exec
2024/03/01 04:47:27.068019 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBAutoScalingGroup --region ap-northeast-2 2024/03/01 04:47:27.435621 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBBeanstalkMetadata --region ap-northeast-2 2024/03/01 04:47:27.789033 [INFO] checking whether command tail-log is applicable to this instance... 2024/03/01 04:47:27.789045 [INFO] this command is applicable to the instance, thus instance should execute command 2024/03/01 04:47:27.789048 [INFO] Engine command: (tail-log)
2024/03/01 04:47:27.789098 [INFO] Executing instruction: GetTailLogs 2024/03/01 04:47:27.789101 [INFO] Tail Logs... 2024/03/01 04:47:27.789669 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log 2024/03/01 04:47:27.792249 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-hooks.log 2024/03/01 04:47:27.794169 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log 2024/03/01 04:47:27.795963 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log 2024/03/01 04:47:27.798067 [INFO] Running command /bin/sh -c tail -n 100 /var/log/web.stdout.log 2024/03/01 04:47:27.892773 [INFO] Executing cleanup logic 2024/03/01 04:47:27.892884 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1709268447892,"severity":"INFO"}]}]}
2024/03/01 04:47:27.892952 [INFO] Platform Engine finished execution on command: tail-log
2024/03/01 04:49:28.127549 [INFO] Starting... 2024/03/01 04:49:28.127597 [INFO] Starting EBPlatform-PlatformEngine 2024/03/01 04:49:28.127620 [INFO] reading event message file 2024/03/01 04:49:28.127776 [INFO] Engine received EB command cfn-hup-exec
2024/03/01 04:49:28.204948 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBAutoScalingGroup --region ap-northeast-2 2024/03/01 04:49:28.623220 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBBeanstalkMetadata --region ap-northeast-2 2024/03/01 04:49:29.016866 [INFO] checking whether command tail-log is applicable to this instance... 2024/03/01 04:49:29.016881 [INFO] this command is applicable to the instance, thus instance should execute command 2024/03/01 04:49:29.016888 [INFO] Engine command: (tail-log)
2024/03/01 04:49:29.016935 [INFO] Executing instruction: GetTailLogs 2024/03/01 04:49:29.016939 [INFO] Tail Logs... 2024/03/01 04:49:29.017222 [INFO] Running command /bin/sh -c tail -n 100 /var/log/web.stdout.log 2024/03/01 04:49:29.019420 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log 2024/03/01 04:49:29.021344 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-hooks.log 2024/03/01 04:49:29.023021 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log 2024/03/01 04:49:29.024818 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log 2024/03/01 04:49:29.092082 [INFO] Executing cleanup logic 2024/03/01 04:49:29.092166 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1709268569092,"severity":"INFO"}]}]}
2024/03/01 04:49:29.092184 [INFO] Platform Engine finished execution on command: tail-log
2024/03/01 06:34:48.331523 [INFO] Starting... 2024/03/01 06:34:48.331567 [INFO] Starting EBPlatform-PlatformEngine 2024/03/01 06:34:48.331588 [INFO] reading event message file 2024/03/01 06:34:48.331949 [INFO] Engine received EB command cfn-hup-exec
2024/03/01 06:34:48.414576 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBAutoScalingGroup --region ap-northeast-2 2024/03/01 06:34:48.753523 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:533266986132:stack/awseb-e-c8pk2ufvyt-stack/4663fe70-d783-11ee-9f13-02282cae285c -r AWSEBBeanstalkMetadata --region ap-northeast-2 2024/03/01 06:34:49.096051 [INFO] checking whether command tail-log is applicable to this instance... 2024/03/01 06:34:49.096062 [INFO] this command is applicable to the instance, thus instance should execute command 2024/03/01 06:34:49.096065 [INFO] Engine command: (tail-log)
2024/03/01 06:34:49.096127 [INFO] Executing instruction: GetTailLogs 2024/03/01 06:34:49.096129 [INFO] Tail Logs... 2024/03/01 06:34:49.096657 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log
---------------------------------------- /var/log/eb-hooks.log ----------------------------------------
---------------------------------------- /var/log/nginx/access.log ---------------------------------------- 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/chunks/webpack-58b6df21fd651a05.js HTTP/1.1" 200 2239 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/chunks/pages/_error-b646007f40c4f0a8.js HTTP/1.1" 200 247 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/chunks/framework-8883d1e9be70c3da.js HTTP/1.1" 200 45535 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/chunks/pages/_app-1534f180665c857f.js HTTP/1.1" 200 325 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/hh_ujfMi-_E5BrmGXaQpO/_buildManifest.js HTTP/1.1" 200 224 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/chunks/main-fd56637ac57d64cb.js HTTP/1.1" 200 33216 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:09 +0000] "GET /_next/static/hh_ujfMi-_E5BrmGXaQpO/_ssgManifest.js HTTP/1.1" 200 80 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:25:10 +0000] "GET /favicon.ico HTTP/1.1" 200 25967 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:32:04 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:32:04 +0000] "GET /favicon.ico HTTP/1.1" 200 25967 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:32:12 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:32:12 +0000] "GET /favicon.ico HTTP/1.1" 200 25967 "http://project3-env.eba-vn7w7ncu.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/122.0.0.0" "-" 139.162.84.205 - - [01/Mar/2024:04:37:10 +0000] "GET / HTTP/1.0" 500 2105 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-" 39.113.15.137 - - [01/Mar/2024:04:48:02 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:04:49:20 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 146.19.24.28 - - [01/Mar/2024:04:49:43 +0000] "GET / HTTP/1.1" 500 2105 "-" "-" "-" 213.219.37.36 - - [01/Mar/2024:05:28:15 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0" "-" 213.219.37.36 - - [01/Mar/2024:05:28:15 +0000] "\x16\x03\x01\x00\xFC\x01\x00\x00\xF8\x03\x03Xe\xBD\x01\x1A\xB2H\xE4\xDC\xAEb0\xED\x18\xBE\xE2\x8B\x18\xF6N\xA7\x02\x1BGs\xCFD]\x13\x13\x088 \xB9\xD2\xDC\xC0[;w\xA5\x02\x84\xB6" 400 150 "-" "-" "-" 213.219.37.36 - - [01/Mar/2024:05:28:15 +0000] "\x16\x03\x01\x00\xFC\x01\x00\x00\xF8\x03\x03\x1AR\xF3:\xFEOV\xEC,\xF6\xE4D\x8AK1\x1B^4\xD0\x8B\xDA*\xF6\x01\x05\x1C\x1C\x04\x18sm\xE8 \xE8u\xA7\xCEv\xD4\xB0\x93\xF5E\xEA\xAD`}\xA3^K\x15\xAB\xF33\xB9\xCA\xEE9\xE7,\xA1KL\x97\xAD\x00$\x13\x02\x13\x03\x13\x01\xC0,\xC00\xC0+\xC0/\xCC\xA9\xCC\xA8\xC0$\xC0(\xC0#\xC0'\x00\x9F\x00\x9E\x00k\x00g\x00\xFF\x01\x00\x00\x8B\x00\x0B\x00\x04\x03\x00\x01\x02\x00" 400 150 "-" "-" "-" 213.219.37.36 - - [01/Mar/2024:05:28:16 +0000] "\x16\x03\x01\x00\xFC\x01\x00\x00\xF8\x03\x03\xBB\xD0\x1B\x87\xF0H\x8F:\xEC)\xE2\xC4\x1D\x96P\x1B\x14\xB4\x89\xA2\xA1J\x81:\x9F\xAC\x19\xD5\x11\x89\xCC\xBC " 400 150 "-" "-" "-" 186.85.13.130 - - [01/Mar/2024:05:30:55 +0000] "GET / HTTP/1.1" 500 2105 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "-" 78.158.213.76 - - [01/Mar/2024:05:55:13 +0000] "GET / HTTP/1.1" 500 2105 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "-" 14.103.19.135 - - [01/Mar/2024:06:12:31 +0000] "GET http://13.124.33.245:80/admin/scripts/setup.php HTTP/1.0" 500 21 "-" "-" "-" 39.113.15.137 - - [01/Mar/2024:06:33:49 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-" 39.113.15.137 - - [01/Mar/2024:06:34:33 +0000] "GET / HTTP/1.1" 500 984 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" "-"</pre> <pre> ---------------------------------------- /var/log/nginx/error.log ---------------------------------------- 2024/03/01 04:24:27 [warn] 2267#2267: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size 2024/03/01 04:24:28 [warn] 2309#2309: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size 2024/03/01 04:24:28 [warn] 2310#2310: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size 2024/03/01 05:28:15 [warn] 2314#2314: *49 using uninitialized "year" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øXe½²HäÜ®b0í¾â‹öN§GsÏD]8 ¹ÒÜÀ[;w¥„¶" 2024/03/01 05:28:15 [warn] 2314#2314: *49 using uninitialized "month" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øXe½²HäÜ®b0í¾â‹öN§GsÏD]8 ¹ÒÜÀ[;w¥„¶" 2024/03/01 05:28:15 [warn] 2314#2314: *49 using uninitialized "day" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øXe½²HäÜ®b0í¾â‹öN§GsÏD]8 ¹ÒÜÀ[;w¥„¶" 2024/03/01 05:28:15 [warn] 2314#2314: *49 using uninitialized "hour" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øXe½²HäÜ®b0í¾â‹öN§GsÏD]8 ¹ÒÜÀ[;w¥„¶" 2024/03/01 05:28:15 [warn] 2314#2314: *50 using uninitialized "year" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øRó:þOVì,öäDŠK1^4ЋÚ*ösmè èu§ÎvÔ°“õEê`}£^K«ó3¹Êî9ç,¡KL—�$À,À0À+À/̨̩À$À(À#À'�Ÿ�ž�k�g�ÿ��‹����" 2024/03/01 05:28:15 [warn] 2314#2314: *50 using uninitialized "month" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øRó:þOVì,öäDŠK1^4ЋÚ*ösmè èu§ÎvÔ°“õEê`}£^K«ó3¹Êî9ç,¡KL—�$À,À0À+À/̨̩À$À(À#À'�Ÿ�ž�k�g�ÿ��‹����" 2024/03/01 05:28:15 [warn] 2314#2314: *50 using uninitialized "day" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øRó:þOVì,öäDŠK1^4ЋÚ*ösmè èu§ÎvÔ°“õEê`}£^K«ó3¹Êî9ç,¡KL—�$À,À0À+À/̨̩À$À(À#À'�Ÿ�ž�k�g�ÿ��‹����" 2024/03/01 05:28:15 [warn] 2314#2314: *50 using uninitialized "hour" variable while logging request, client: 213.219.37.36, server: , request: "�ü��øRó:þOVì,öäDŠK1^4ЋÚ*ösmè èu§ÎvÔ°“õEê`}£^K«ó3¹Êî9ç,¡KL—�$À,À0À+À/̨̩À$À(À#À'�Ÿ�ž�k�g�ÿ��‹����" 2024/03/01 05:28:16 [warn] 2314#2314: *51 using uninitialized "year" variable while logging request, client: 213.219.37.36, server: , request: "�ü��ø»Ð‡ðH:ì)âÄ–P´‰¢¡J:Ÿ¬Õ‰Ì¼ " 2024/03/01 05:28:16 [warn] 2314#2314: *51 using uninitialized "month" variable while logging request, client: 213.219.37.36, server: , request: "�ü��ø»Ð‡ðH:ì)âÄ–P´‰¢¡J:Ÿ¬Õ‰Ì¼ " 2024/03/01 05:28:16 [warn] 2314#2314: *51 using uninitialized "day" variable while logging request, client: 213.219.37.36, server: , request: "�ü��ø»Ð‡ðH:ì)âÄ–P´‰¢¡J:Ÿ¬Õ‰Ì¼ " 2024/03/01 05:28:16 [warn] 2314#2314: *51 using uninitialized "hour" variable while logging request, client: 213.219.37.36, server: , request: "�ü��ø»Ð‡ðH:ì)âÄ–P´‰¢¡J:Ÿ¬Õ‰Ì¼ "
---------------------------------------- /var/log/web.stdout.log ---------------------------------------- Mar 1 05:55:13 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/lib/commands.js', Mar 1 05:55:13 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/bin/next' Mar 1 05:55:13 ip-172-31-11-94 web[2333]: ] Mar 1 05:55:13 ip-172-31-11-94 web[2333]: } Mar 1 06:12:31 ip-172-31-11-94 web[2333]: ⨯ Error: Cannot find module 'next/dist\client\components\static-generation-async-storage.external.js' Mar 1 06:12:31 ip-172-31-11-94 web[2333]: Require stack: Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/.next/server/app/_not-found.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/require.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next-server.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/lib/start-server.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/cli/next-start.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/lib/commands.js Mar 1 06:12:31 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/bin/next Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at /var/app/current/node_modules/next/dist/server/require-hook.js:54:36 Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at Module._load (node:internal/modules/cjs/loader:922:27) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at Module.require (node:internal/modules/cjs/loader:1143:19) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at mod.require (/var/app/current/node_modules/next/dist/server/require-hook.js:64:28) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at require (node:internal/modules/cjs/helpers:119:18) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at 25319 (/var/app/current/.next/server/app/_not-found.js:1:556) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at 32564 (/var/app/current/.next/server/chunks/6543.js:1:133009) Mar 1 06:12:31 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) { Mar 1 06:12:31 ip-172-31-11-94 web[2333]: code: 'MODULE_NOT_FOUND', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: requireStack: [ Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/.next/server/app/_not-found.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/require.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next-server.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/lib/start-server.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/cli/next-start.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/lib/commands.js', Mar 1 06:12:31 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/bin/next' Mar 1 06:12:31 ip-172-31-11-94 web[2333]: ] Mar 1 06:12:31 ip-172-31-11-94 web[2333]: } Mar 1 06:33:49 ip-172-31-11-94 web[2333]: ⨯ Error: Cannot find module 'next/dist\client\components\static-generation-async-storage.external.js' Mar 1 06:33:49 ip-172-31-11-94 web[2333]: Require stack: Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/.next/server/app/page.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/require.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next-server.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/lib/start-server.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/cli/next-start.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/lib/commands.js Mar 1 06:33:49 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/bin/next Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at /var/app/current/node_modules/next/dist/server/require-hook.js:54:36 Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at Module._load (node:internal/modules/cjs/loader:922:27) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at Module.require (node:internal/modules/cjs/loader:1143:19) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at mod.require (/var/app/current/node_modules/next/dist/server/require-hook.js:64:28) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at require (node:internal/modules/cjs/helpers:119:18) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at 25319 (/var/app/current/.next/server/app/page.js:1:621) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at 32564 (/var/app/current/.next/server/chunks/6543.js:1:133009) Mar 1 06:33:49 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) { Mar 1 06:33:49 ip-172-31-11-94 web[2333]: code: 'MODULE_NOT_FOUND', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: requireStack: [ Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/.next/server/app/page.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/require.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next-server.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/lib/start-server.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/cli/next-start.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/lib/commands.js', Mar 1 06:33:49 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/bin/next' Mar 1 06:33:49 ip-172-31-11-94 web[2333]: ] Mar 1 06:33:49 ip-172-31-11-94 web[2333]: } Mar 1 06:34:33 ip-172-31-11-94 web[2333]: ⨯ Error: Cannot find module 'next/dist\client\components\static-generation-async-storage.external.js' Mar 1 06:34:33 ip-172-31-11-94 web[2333]: Require stack: Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/.next/server/app/page.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/require.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next-server.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/next.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/server/lib/start-server.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/cli/next-start.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/lib/commands.js Mar 1 06:34:33 ip-172-31-11-94 web[2333]: - /var/app/current/node_modules/next/dist/bin/next Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at /var/app/current/node_modules/next/dist/server/require-hook.js:54:36 Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at Module._load (node:internal/modules/cjs/loader:922:27) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at Module.require (node:internal/modules/cjs/loader:1143:19) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at mod.require (/var/app/current/node_modules/next/dist/server/require-hook.js:64:28) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at require (node:internal/modules/cjs/helpers:119:18) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at 25319 (/var/app/current/.next/server/app/page.js:1:621) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at 32564 (/var/app/current/.next/server/chunks/6543.js:1:133009) Mar 1 06:34:33 ip-172-31-11-94 web[2333]: at __webpack_require__ (/var/app/current/.next/server/webpack-runtime.js:1:161) { Mar 1 06:34:33 ip-172-31-11-94 web[2333]: code: 'MODULE_NOT_FOUND', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: requireStack: [ Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/.next/server/app/page.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/require.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next-server.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/next.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/server/lib/start-server.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/cli/next-start.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/lib/commands.js', Mar 1 06:34:33 ip-172-31-11-94 web[2333]: '/var/app/current/node_modules/next/dist/bin/next' Mar 1 06:34:33 ip-172-31-11-94 web[2333]: ] Mar 1 06:34:33 ip-172-31-11-94 web[2333]: }
2024년 3월 1일 17:45 #114825
codingapple키 마스터https://stackoverflow.com/questions/77615177/error-in-nextjs-app-error-cannot-find-module-next-dist-client-components-stat 이거 따라하면 된다는 소리가 있군요
-
글쓴이글
3 글 보임 - 1 에서 3 까지 (총 3 중에서)
- 답변은 로그인 후 가능합니다.