aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
451 stars 113 forks source link

AWS Amplify Build Not Reflecting Changes In Web App #2656

Closed seunghwako closed 2 years ago

seunghwako commented 2 years ago

Before opening, please confirm:

App Id

d3u8gr5p05kbef

Region

ap-northeast-2

Amplify Hosting feature

No response

Describe the bug

Hi, I have successfully built the next js web application using amplify. However, both the build and deployment in the main environment have been successful, but the changes have not been made to the website.

Here are the logs from Our build log

2022-03-18T04:54:24.799Z [INFO]: # Starting phase: preBuild

Executing command: yarn install

2022-03-18T04:54:25.326Z [INFO]: yarn install v1.22.0 2022-03-18T04:54:25.424Z [INFO]: [1/4] Resolving packages... 2022-03-18T04:54:25.827Z [INFO]: success Already up-to-date. 2022-03-18T04:54:25.835Z [INFO]: Done in 0.51s. 2022-03-18T04:54:25.847Z [INFO]: # Completed phase: preBuild

Starting phase: build

2022-03-18T04:54:25.847Z [INFO]: # Executing command: yarn run build 2022-03-18T04:54:25.970Z [INFO]: yarn run v1.22.0 2022-03-18T04:54:25.996Z [INFO]: $ next build && next export 2022-03-18T04:54:26.729Z [INFO]: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 2022-03-18T04:54:26.949Z [INFO]: info - Checking validity of types... 2022-03-18T04:54:58.830Z [INFO]: ./pages/category/body.tsx 21:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/brand.tsx 39:6 Warning: React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/hair.tsx 22:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/healthyFoods.tsx 19:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/makeUp.tsx 21:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/perfume.tsx 18:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/category/skinCare.tsx 21:6 Warning: React Hook useEffect has a missing dependency: 'getProductAndSubCategoryList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/checkout/index.tsx 135:6 Warning: React Hook useEffect has missing dependencies: 'getCartList' and 'router.query.check'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 141:6 Warning: React Hook useEffect has a missing dependency: 'getProductList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 210:6 Warning: React Hook useEffect has missing dependencies: 'router.query.check', 'router.query.optionSelected', 'router.query.productID', and 'router.query.quantity'. Either include them or remove the dependency array. react-hooks/exhaustive-deps ./pages/detail/bestSeller.tsx 189:6 Warning: React Hook useEffect has a missing dependency: 'getCartList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 198:6 Warning: React Hook useEffect has a missing dependency: 'getBestSellerProductList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 205:6 Warning: React Hook useEffect has a missing dependency: 'getReviews'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 237:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 255:13 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./pages/detail/product.tsx 194:6 Warning: React Hook useEffect has a missing dependency: 'getTest'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 200:6 Warning: React Hook useEffect has a missing dependency: 'getCartList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 209:6 Warning: React Hook useEffect has a missing dependency: 'getProductList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 215:6 Warning: React Hook useEffect has a missing dependency: 'getReviews'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 249:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 267:13 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./pages/detail/vvip.tsx 72:36 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./pages/index.tsx 140:6 Warning: React Hook useEffect has missing dependencies: 'getData', 'getLiveProductList', 'getProductList', and 'setUpSocialUser'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 247:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 260:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 273:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 286:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./pages/live/division.tsx 87:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 103:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./pages/live/productList.tsx 56:6 Warning: React Hook useEffect has a missing dependency: 'getLiveProductList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/live/viewer.tsx 82:6 Warning: React Hook useEffect has a missing dependency: 'LiveProductStore'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/mypage/checkout/index.tsx 34:6 Warning: React Hook useEffect has a missing dependency: 'getOrderList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 40:6 Warning: React Hook useEffect has a missing dependency: 'getReviewList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 62:6 Warning: React Hook useEffect has a missing dependency: 'countOrders'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/search/[id].tsx 42:8 Warning: React Hook useEffect has a missing dependency: 'getSearchTargetList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 69:8 Warning: React Hook useEffect has missing dependencies: 'router.query.id' and 'searchTargetProducts'. Either include them or remove the dependency array. react-hooks/exhaustive-deps ./pages/search/index.tsx 38:8 Warning: React Hook useEffect has a missing dependency: 'getSearchTargetList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./pages/signin.tsx 319:15 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 323:15 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./pages/vnpay_return.js 36:6 Warning: React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Cart/CartComponent.tsx 132:6 Warning: React Hook useEffect has a missing dependency: 'getCartList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Cart/CartItem.tsx 178:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 241:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Category/CategoryBrandList.tsx 49:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Category/CategoryLive.tsx 152:9 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Category/CategoryProductList.tsx 62:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 68:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 82:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'product.id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 170:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 180:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Category/CategoryVvipList.tsx 34:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 44:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Category/SubCategoryView.tsx 58:6 Warning: React Hook useEffect has a missing dependency: 'filteringProduct'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Checkout/Done/CheckoutDoneButton.tsx 17:5 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/Checkout/ItemInformationDetailComponents.tsx 84:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 101:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Checkout/PaymentComponent.tsx 293:6 Warning: React Hook useEffect has a missing dependency: 'router.query.check'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Checkout/Vvip/ItemInformationVvipDetail.tsx 74:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeBanner.tsx 65:6 Warning: React Hook useEffect has a missing dependency: 'getBannerList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Home/HomeBannerList.tsx 20:6 Warning: React Hook useEffect has a missing dependency: 'getBannerList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 32:10 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeBestSellerBannerList.tsx 56:7 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeBestSellerList.tsx 57:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 69:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 84:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'product.id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 172:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 182:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeLiveIngList.tsx 132:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 143:17 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeLiveProduct.tsx 112:6 Warning: React Hook useEffect has a missing dependency: 'productSlick'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Home/HomeLiveProductList.tsx 166:6 Warning: React Hook useEffect has a missing dependency: 'liveProduct.product_id'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 173:13 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeProductList.tsx 54:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 60:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 74:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'product.id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 162:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 171:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Home/HomeRecommend.tsx 77:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 83:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 97:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'product.id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 188:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 197:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/MenuDetail/MenuDetailPhoto.tsx 221:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Modal/BrandStory/BrandStoryDetail.tsx 175:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 181:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 201:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'product.product_id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 290:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 299:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Modal/BrandStory/BrandStoryLayout.tsx 80:7 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Modal/BrandStory/BrandStoryList.tsx 46:6 Warning: React Hook useEffect has a missing dependency: 'getBrandMainProductList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 64:6 Warning: React Hook useEffect has a missing dependency: 'productList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Modal/ModalLayoutCart.tsx 54:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/Modal/Review/ReviewImageModal.tsx 121:6 Warning: React Hook useEffect has an unnecessary dependency: 'media'. Either exclude it or remove the dependency array. Outer scope values like 'media' aren't valid dependencies because mutating them doesn't re-render the component. react-hooks/exhaustive-deps 146:19 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Modal/Review/WriteReviewModal.tsx 295:6 Warning: React Hook useEffect has a missing dependency: 'setUpQuickReviewList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 484:17 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 545:31 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 547:31 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 550:31 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 550:31 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/MyPage/Checkout/CheckoutIndividual.tsx 108:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 122:6 Warning: React Hook useEffect has missing dependencies: 'Product' and 'State'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 131:6 Warning: React Hook useEffect has a missing dependency: 'moment'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 181:34 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Review/ProductReview.tsx 385:31 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/Signup/SignupCommon.tsx 284:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 300:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/Signup/SignupPartners.tsx 563:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 579:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/Wishlist/WishlistComponent.tsx 99:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps ./components/Wishlist/WishlistItem.tsx 103:6 Warning: React Hook useEffect has a missing dependency: 'getBrandList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 132:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 139:13 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/common/Footer/FooterInformation.tsx 113:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 113:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 120:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 120:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 127:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 127:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 136:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 136:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 143:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 143:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 156:17 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 156:17 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 165:17 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 165:17 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 173:15 Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 173:15 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/common/NavBar/NavBarCart.tsx 34:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/common/NavBar/NavBarCheckout.tsx 28:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/common/NavBar/NavBarDetail.tsx 90:6 Warning: React Hook useEffect has a missing dependency: 'getWishList'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 104:6 Warning: React Hook useEffect has missing dependencies: 'nowUserInfo.sub' and 'selectedProduct.id'. Either include them or remove the dependency array. react-hooks/exhaustive-deps ./components/common/NavBar/NavBarMain.tsx 78:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 88:7 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 115:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 122:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref ./components/live/LiveHostList.tsx 183:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/live/LiveViewerBottomProduct.tsx 35:9 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/live/LiveViewerVvipProduct.tsx 95:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text ./components/live/LiveViewerVvipProductDetail.tsx 98:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules 2022-03-18T04:54:58.832Z [INFO]: info - Creating an optimized production build... 2022-03-18T04:54:59.548Z [INFO]: info - Using external babel configuration from /codebuild/output/src360222975/src/Fine/.babelrc 2022-03-18T04:55:24.987Z [WARNING]: [BABEL] Note: The code generator has deoptimised the styling of /codebuild/output/src360222975/src/Fine/lib/sdk-viewer.js as it exceeds the max of 500KB. 2022-03-18T04:56:18.503Z [WARNING]: [BABEL] Note: The code generator has deoptimised the styling of /codebuild/output/src360222975/src/Fine/lib/sdk-viewer.js as it exceeds the max of 500KB. 2022-03-18T04:56:23.093Z [INFO]: info - Compiled successfully 2022-03-18T04:56:23.095Z [INFO]: info - Collecting page data... 2022-03-18T04:56:25.496Z [INFO]: info - Generating static pages (0/48) 2022-03-18T04:56:27.178Z [INFO]: info - Generating static pages (12/48) 2022-03-18T04:56:27.262Z [INFO]: info - Generating static pages (24/48) 2022-03-18T04:56:27.354Z [INFO]: info - Generating static pages (36/48) 2022-03-18T04:56:27.868Z [INFO]: info - Generating static pages (48/48) 2022-03-18T04:56:27.889Z [INFO]: info - Finalizing page optimization... 2022-03-18T04:56:27.901Z [INFO]: 2022-03-18T04:56:27.936Z [INFO]: Page Size First Load JS ┌ ○ / 5.97 kB 327 kB ├ /_app 0 B 308 kB ├ ○ /404 197 B 308 kB ├ ○ /cart (1302 ms) 5.62 kB 315 kB ├ ○ /category/body 906 B 323 kB ├ ○ /category/brand 4.57 kB 323 kB ├ ○ /category/event 1.56 kB 322 kB ├ ○ /category/hair 906 B 323 kB ├ ○ /category/healthyFoods 603 B 316 kB ├ ○ /category/live 2.5 kB 320 kB ├ ○ /category/makeUp 909 B 323 kB ├ ○ /category/perfume 593 B 316 kB ├ ○ /category/skinCare 913 B 323 kB ├ ○ /category/vvip 1.98 kB 319 kB ├ ○ /changePassword 2.1 kB 340 kB ├ ○ /checkout 4.71 kB 318 kB ├ ○ /checkout/b2b 2.98 kB 315 kB ├ ○ /checkout/done 2.45 kB 312 kB ├ ○ /detail/bestSeller (443 ms) 2.22 kB 383 kB ├ ○ /detail/product 2.27 kB 383 kB ├ ○ /detail/vvip 1.78 kB 315 kB ├ ○ /findPassword 3.55 kB 341 kB ├ ○ /fine/deliveryProcess 2.19 kB 312 kB ├ ○ /fine/exchangePolicy 1.7 kB 311 kB ├ ○ /fine/orderGuide 2.08 kB 312 kB ├ ○ /fine/privacyPolicy 2.65 kB 312 kB ├ ○ /fine/termsService 1.72 kB 311 kB ├ ○ /live/division 958 B 309 kB ├ ○ /live/host 3.82 kB 315 kB ├ ○ /live/productList 2.49 kB 313 kB ├ ○ /live/viewer 6.33 kB 323 kB ├ ○ /mypage 2.88 kB 313 kB ├ ○ /mypage/checkout 1.54 kB 365 kB ├ ○ /mypage/checkout/detail 1.09 kB 365 kB ├ ○ /mypage/partners/business 1.6 kB 312 kB ├ ○ /mypage/partners/change 2.77 kB 324 kB ├ ○ /mypage/partners/influencer 1.03 kB 312 kB ├ ○ /mypage/userModify 4.41 kB 344 kB ├ ○ /search 1.44 kB 318 kB ├ ○ /search/[id] 1.86 kB 319 kB ├ ○ /signin 3.5 kB 342 kB ├ ○ /signup/common 3.21 kB 341 kB ├ ○ /signup/division (1151 ms) 1.38 kB 309 kB ├ ○ /signup/email_code 2.31 kB 341 kB ├ ○ /signup/partners 4.23 kB 342 kB ├ ○ /test (378 ms) 22.8 kB 360 kB ├ ○ /vnpay_return 18.8 kB 333 kB └ ○ /wishlist (1176 ms) 2.56 kB 311 kB

  • First Load JS shared by all 308 kB ├ chunks/framework.7612f1.js 42.4 kB ├ chunks/main.4de260.js 23.7 kB ├ chunks/pages/_app.d19167.js 240 kB ├ chunks/webpack.8f9034.js 1.78 kB └ css/2ed0eb76c2b66378a0e4.css 1.24 kB 2022-03-18T04:56:27.936Z [INFO]: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) ○ (Static) automatically rendered as static HTML (uses no initial props) ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps) (ISR) incremental static regeneration (uses revalidate in getStaticProps) 2022-03-18T04:56:28.571Z [INFO]: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 2022-03-18T04:56:28.904Z [INFO]: info - using build directory: /codebuild/output/src360222975/src/Fine/.next 2022-03-18T04:56:28.906Z [INFO]: info - Copying "static build" directory 2022-03-18T04:56:28.911Z [INFO]: info - No "exportPathMap" found in "next.config.js". Generating map from "./pages" 2022-03-18T04:56:28.912Z [INFO]: info - Launching 3 workers 2022-03-18T04:56:28.913Z [INFO]: info - Exporting (0/47) 2022-03-18T04:56:28.913Z [INFO]: info - Copying "public" directory 2022-03-18T04:56:30.197Z [INFO]: info - Exporting (11/47) 2022-03-18T04:56:30.207Z [INFO]: info - Exporting (23/47) 2022-03-18T04:56:30.216Z [INFO]: info - Exporting (35/47) 2022-03-18T04:56:30.264Z [INFO]: info - Exporting (47/47) 2022-03-18T04:56:30.281Z [INFO]: Export successful. Files written to /codebuild/output/src360222975/src/Fine/out 2022-03-18T04:56:30.286Z [INFO]: Done in 124.32s. 2022-03-18T04:56:30.292Z [INFO]: # Completed phase: build 2022-03-18T04:56:30.319Z [INFO]: ## Build completed successfully 2022-03-18T04:56:30.321Z [INFO]: # Starting caching... 2022-03-18T04:56:30.405Z [INFO]: # Creating cache artifact... 2022-03-18T04:56:39.418Z [INFO]: # Cache artifact is: 712MB 2022-03-18T04:56:39.493Z [INFO]: # Uploading cache artifact... 2022-03-18T04:56:45.516Z [INFO]: # Caching completed 2022-03-18T04:56:45.857Z [INFO]: No custom headers found. 2022-03-18T04:56:45.876Z [INFO]: # Starting build artifact upload process... 2022-03-18T04:56:50.363Z [INFO]: # Build artifact is: 42MB 2022-03-18T04:56:50.396Z [INFO]: # Build artifact is: 42MB 2022-03-18T04:56:50.397Z [INFO]: # Uploading build artifact 'artifactsHash.zip'... 2022-03-18T04:56:50.508Z [INFO]: # Uploading build artifact 'artifacts.zip'... 2022-03-18T04:56:50.965Z [INFO]: # Build artifact upload completed 2022-03-18T04:56:50.966Z [INFO]: # Starting environment caching... 2022-03-18T04:56:50.967Z [INFO]: # Uploading environment cache artifact... 2022-03-18T04:56:51.033Z [INFO]: # Environment caching completed Terminating logging...

Here are the logs our deploy

2022-03-18T04:57:01 [INFO]: Beginning deployment for application d3u8gr5p05kbef, branch:main, buildId 0000000468 2022-03-18T04:57:05 [INFO]: Deploying SSR Resources. Distribution ID: EIQELAIQFCZTJ. This may take a few minutes... 2022-03-18T04:57:06 [INFO]: Deployed the following resources to your account: 2022-03-18T04:57:06 [INFO]: - CloudFront Domain ID: db530cwzxli5l 2022-03-18T04:57:06 [INFO]: - SSR Lambda@Edge: edvp3i3-noksgrx 2022-03-18T04:57:06 [INFO]: - API Lambda@Edge: edvp3i3-or000k 2022-03-18T04:57:06 [INFO]: - S3 Bucket: edvp3i3-cdv28m 2022-03-18T04:57:06 [INFO]: Deployment complete

Is this our problem? If it is not our problem, I would like to know the solution.

Expected behavior

Both build and deployment are successful, and changes to the code must be applied to the website.

Reproduction steps

  1. deploy nextjs app to AWS-Amplify

Build Settings

version: 1
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - yarn install
    build:
      commands:
        - yarn run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*
      - .next/cache/**/* # Cache Next.js for faster application rebuilds

Additional information

No response

ghost commented 2 years ago

Hi @seunghwako 👋🏽, what version of Next are you using?

seunghwako commented 2 years ago

Hi @hloriana I solved this problem Thanks!

ghost commented 2 years ago

Hi @seunghwako, glad you are unblocked. I will close this. Can you share what the issue was in case someone else runs into this?

KashishBansal1 commented 1 year ago

Hi @hloriana I solved this problem Thanks!

how did you solve the issue?

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.