Nextjs app deployment failed, but nothing in logs

Hello, since yesterday my builds always failing, but logs seems like everything is ok and also up is up and running in logs, but on page there is always old successfull build.

Here are logs:

Oct 6 09:04:08 AM  ==> Downloading cache...
Oct 6 09:04:18 AM  ==> Transferred 2.0KB in 7s. Extraction took 0s.
Oct 6 09:04:20 AM  ==> Detected Node version 16.17.1
Oct 6 09:04:22 AM  ==> Running build command 'yarn; yarn build'...
Oct 6 09:04:22 AM  yarn install v1.22.5
Oct 6 09:04:22 AM  [1/5] Validating package.json...
Oct 6 09:04:22 AM  [2/5] Resolving packages...
Oct 6 09:04:23 AM  [3/5] Fetching packages...
Oct 6 09:04:56 AM  info fsevents@2.3.2: The platform "linux" is incompatible with this module.
Oct 6 09:04:56 AM  info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
Oct 6 09:04:56 AM  [4/5] Linking dependencies...
Oct 6 09:04:56 AM  warning " > react-qr-reader@2.2.1" has incorrect peer dependency "react@~16".
Oct 6 09:04:56 AM  warning " > react-qr-reader@2.2.1" has incorrect peer dependency "react-dom@~16".
Oct 6 09:05:12 AM  [5/5] Building fresh packages...
Oct 6 09:05:13 AM  Done in 50.78s.
Oct 6 09:05:13 AM  yarn run v1.22.5
Oct 6 09:05:13 AM  $ next build
Oct 6 09:05:14 AM  info  - Loaded env from /opt/render/project/src/.env.local
Oct 6 09:05:14 AM  info  - Using webpack 5. Reason: no next.config.js https://nextjs.org/docs/messages/webpack5
Oct 6 09:05:14 AM  warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Oct 6 09:05:14 AM  info  - Checking validity of types...
Oct 6 09:05:28 AM  info  - Creating an optimized production build...
Oct 6 09:05:29 AM  Browserslist: caniuse-lite is outdated. Please run:
Oct 6 09:05:29 AM  npx browserslist@latest --update-db
Oct 6 09:05:29 AM  
Oct 6 09:05:29 AM  Why you should do it regularly:
Oct 6 09:05:29 AM  https://github.com/browserslist/browserslist#browsers-data-updating
Oct 6 09:05:30 AM  Browserslist: caniuse-lite is outdated. Please run:
Oct 6 09:05:30 AM  npx browserslist@latest --update-db
Oct 6 09:05:30 AM  
Oct 6 09:05:30 AM  Why you should do it regularly:
Oct 6 09:05:30 AM  https://github.com/browserslist/browserslist#browsers-data-updating
Oct 6 09:06:41 AM  info  - Compiled successfully
Oct 6 09:06:41 AM  info  - Collecting page data...
Oct 6 09:06:51 AM  mongoose: Cannot specify a custom index on `_id` for model name "Month", MongoDB does not allow overwriting the default `_id` index. See http://bit.ly/mongodb-id-index
Oct 6 09:06:51 AM  info  - Generating static pages (0/3)
Oct 6 09:06:58 AM  info  - Generating static pages (3/3)
Oct 6 09:06:58 AM  info  - Finalizing page optimization...
Oct 6 09:06:58 AM  
Oct 6 09:06:58 AM  Page                              Size     First Load JS
Oct 6 09:06:58 AM  ┌ ● /                             5.51 kB         235 kB
Oct 6 09:06:58 AM  ├   /_app                         0 B             182 kB
Oct 6 09:06:58 AM  ├ ○ /404                          1.25 kB         183 kB
Oct 6 09:06:58 AM  ├ λ /api/add-car                  0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/bluelink                 0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/car-actual               0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/cars                     0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/change-home              0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/edit-car                 0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/excel                    0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/ping                     0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/receipt                  0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/results                  0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /api/save                     0 B             182 kB
Oct 6 09:06:58 AM  ├ λ /car/[car]                    45.2 kB         311 kB
Oct 6 09:06:58 AM  ├ λ /car/[car]/[monthVal]         48.2 kB         323 kB
Oct 6 09:06:58 AM  └ λ /car/[car]/pass               1.07 kB         197 kB
Oct 6 09:06:58 AM  + First Load JS shared by all     182 kB
Oct 6 09:06:58 AM    ├ chunks/framework.3af989.js    42.6 kB
Oct 6 09:06:58 AM    ├ chunks/main.c9abfc.js         19.6 kB
Oct 6 09:06:58 AM    ├ chunks/pages/_app.f25bbe.js   118 kB
Oct 6 09:06:58 AM    ├ chunks/webpack.cc6e46.js      1.89 kB
Oct 6 09:06:58 AM    └ css/9c87683ee1e7a00b765a.css  67.6 kB
Oct 6 09:06:58 AM  
Oct 6 09:06:58 AM  λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
Oct 6 09:06:58 AM  ○  (Static)  automatically rendered as static HTML (uses no initial props)
Oct 6 09:06:58 AM  ●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
Oct 6 09:06:58 AM     (ISR)     incremental static regeneration (uses revalidate in getStaticProps)
Oct 6 09:06:58 AM  
Oct 6 09:06:58 AM  Done in 105.13s.
Oct 6 09:06:58 AM  ==> Generating container image from build. This may take a few minutes...
Oct 6 09:10:31 AM  ==> Uploading build...
Oct 6 09:11:20 AM  ==> Build uploaded in 30s
Oct 6 09:11:20 AM  ==> Build successful 🎉
Oct 6 09:11:20 AM  ==> Deploying...
Oct 6 09:17:07 AM  ==> Detected Node version 16.17.1
Oct 6 09:17:07 AM  ==> Starting service with 'yarn start'
Oct 6 09:17:11 AM  yarn run v1.22.5
Oct 6 09:17:12 AM  $ next start -p $PORT
Oct 6 09:17:13 AM  ready - started server on 0.0.0.0:10000, url: http://localhost:10000
Oct 6 09:17:13 AM  info  - Loaded env from /opt/render/project/src/.env.local
Oct 6 09:17:16 AM  info  - Using webpack 5. Reason: no next.config.js https://nextjs.org/docs/messages/webpack5

Hey Jakub,
We’ve recently been having some issues with logging output and have recently made numerous updates to improved things - can you let me know if you’ve seen such an improvement here or if you continue to see issues for your deployment here?

Regards,

John B

Hi John, issue just disapeared with newer commit.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.