site-name: keen-ritchie-2146a3
My nextjs site that has been running without issues is showing an internal server error when navigating to pages past the home page. These pages are dynamic routes if that matters. The site was working recently based on user feedback and function call counts.
I tried to re-deploy with some updated dependencies. When I did that the deploy looks good but seems to stop. The last 3 steps of the deploy are maked as skipped in the netlify ui. I’ve included the build log below.
What woudl cause the deploy to be skipped? I’m not sure where to start with the internal server error but I would like to deploy updated dependencies to see if that fixes the issue.
7:17:52 PM: Netlify Build
7:17:52 PM: ────────────────────────────────────────────────────────────────
7:17:52 PM:
7:17:52 PM: ❯ Version
7:17:52 PM: @netlify/build 29.36.0
7:17:52 PM:
7:17:52 PM: ❯ Flags
7:17:52 PM: baseRelDir: true
7:17:52 PM: buildId: 65da86f7d9f47f0008835c84
7:17:52 PM: deployId: 65da86f7d9f47f0008835c86
7:17:52 PM:
7:17:52 PM: ❯ Current directory
7:17:52 PM: /opt/build/repo
7:17:52 PM:
7:17:52 PM: ❯ Config file
7:17:52 PM: /opt/build/repo/netlify.toml
7:17:52 PM:
7:17:52 PM: ❯ Context
7:17:52 PM: production
7:17:52 PM:
7:17:52 PM: ❯ Using Next.js Runtime - v4.41.3
7:17:53 PM:
7:17:53 PM: @netlify/plugin-nextjs (onPreBuild event)
7:17:53 PM: ────────────────────────────────────────────────────────────────
7:17:53 PM:
7:17:53 PM: Next.js cache restored.
7:17:53 PM:
7:17:53 PM: (@netlify/plugin-nextjs onPreBuild completed in 120ms)
7:17:53 PM:
7:17:53 PM: Build command from Netlify app
7:17:53 PM: ────────────────────────────────────────────────────────────────
7:17:53 PM:
7:17:53 PM: $ node context.js && npx pnpm install --store=node_modules/.pnpm-store --no-frozen-lockfile && npx pnpm build
7:17:54 PM: Recreating /opt/build/repo/node_modules
7:17:57 PM: Lockfile is up to date, resolution step is skipped
7:17:57 PM: Progress: resolved 1, reused 0, downloaded 0, added 0
7:17:57 PM: Packages: +1394
7:17:57 PM: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7:17:58 PM: Packages are hard linked from the content-addressable store to the virtual store.
7:17:58 PM: Content-addressable store is at: /opt/build/repo/node_modules/.pnpm-store/v3
7:17:58 PM: Virtual store is at: node_modules/.pnpm
7:17:58 PM: Progress: resolved 1394, reused 0, downloaded 77, added 73
7:17:59 PM: Progress: resolved 1394, reused 0, downloaded 122, added 120
7:18:00 PM: Progress: resolved 1394, reused 0, downloaded 143, added 142
7:18:01 PM: Progress: resolved 1394, reused 0, downloaded 160, added 159
7:18:02 PM: Progress: resolved 1394, reused 0, downloaded 191, added 189
7:18:03 PM: Progress: resolved 1394, reused 0, downloaded 265, added 264
7:18:04 PM: Progress: resolved 1394, reused 0, downloaded 353, added 352
7:18:05 PM: Progress: resolved 1394, reused 0, downloaded 389, added 387
7:18:06 PM: Progress: resolved 1394, reused 0, downloaded 505, added 504
7:18:07 PM: Progress: resolved 1394, reused 0, downloaded 599, added 599
7:18:08 PM: Progress: resolved 1394, reused 0, downloaded 699, added 704
7:18:09 PM: Progress: resolved 1394, reused 0, downloaded 738, added 742
7:18:10 PM: Progress: resolved 1394, reused 0, downloaded 798, added 800
7:18:11 PM: Progress: resolved 1394, reused 0, downloaded 859, added 861
7:18:12 PM: Progress: resolved 1394, reused 0, downloaded 964, added 968
7:18:13 PM: Progress: resolved 1394, reused 0, downloaded 1074, added 1080
7:18:14 PM: Progress: resolved 1394, reused 0, downloaded 1162, added 1165
7:18:15 PM: Progress: resolved 1394, reused 0, downloaded 1256, added 1257
7:18:16 PM: Progress: resolved 1394, reused 0, downloaded 1307, added 1311
7:18:17 PM: Progress: resolved 1394, reused 0, downloaded 1343, added 1348
7:18:18 PM: Progress: resolved 1394, reused 0, downloaded 1382, added 1388
7:18:19 PM: Progress: resolved 1394, reused 0, downloaded 1385, added 1391
7:18:20 PM: Progress: resolved 1394, reused 0, downloaded 1387, added 1393
7:18:20 PM: Progress: resolved 1394, reused 0, downloaded 1388, added 1394, done
7:18:21 PM: …/core-js@3.36.0/node_modules/core-js postinstall$ node -e “try{require(”./postinstall")}catch(e){}"
7:18:21 PM: …/sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
7:18:21 PM: …/core-js@3.36.0/node_modules/core-js postinstall: Done
7:18:22 PM: …/sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
7:18:22 PM: …/sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
7:18:23 PM: …/sharp@0.32.6/node_modules/sharp install: Done
7:18:23 PM: …/esbuild@0.19.11/node_modules/esbuild postinstall$ node install.js
7:18:23 PM: …/node_modules/@netlify/esbuild postinstall$ node install.js
7:18:23 PM: …/esbuild@0.19.11/node_modules/esbuild postinstall: Done
7:18:23 PM: …/node_modules/@netlify/esbuild postinstall: Done
7:18:23 PM: …/node_modules/unix-dgram install$ node-gyp rebuild
7:18:23 PM: …/node_modules/unix-dgram install: gyp info it worked if it ends with ok
7:18:23 PM: …/node_modules/unix-dgram install: gyp info using node-gyp@9.3.1
7:18:23 PM: …/node_modules/unix-dgram install: gyp info using node@18.17.0 | linux | x64
7:18:23 PM: …/node_modules/unix-dgram install: gyp info find Python using Python version 3.8.10 found at “/opt/buildhome/python3.8/bin/python3”
7:18:23 PM: …/node_modules/unix-dgram install: gyp http GET https://nodejs.org/download/release/v18.17.0/node-v18.17.0-headers.tar.gz
7:18:23 PM: …/node_modules/unix-dgram install: gyp http 200 https://nodejs.org/download/release/v18.17.0/node-v18.17.0-headers.tar.gz
7:18:24 PM: …/node_modules/unix-dgram install: gyp http GET https://nodejs.org/download/release/v18.17.0/SHASUMS256.txt
7:18:24 PM: …/node_modules/unix-dgram install: gyp http 200 https://nodejs.org/download/release/v18.17.0/SHASUMS256.txt
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn /opt/buildhome/python3.8/bin/python3
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args [
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “/opt/buildhome/.nvm/versions/node/v18.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “binding.gyp”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-f”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “make”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-I”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “/opt/build/repo/node_modules/.pnpm/unix-dgram@2.0.6/node_modules/unix-dgram/build/config.gypi”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-I”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “/opt/buildhome/.nvm/versions/node/v18.17.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-I”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “/opt/buildhome/.cache/node-gyp/18.17.0/include/node/common.gypi”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dlibrary=shared_library”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dvisibility=default”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dnode_root_dir=/opt/buildhome/.cache/node-gyp/18.17.0”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dnode_gyp_dir=/opt/buildhome/.nvm/versions/node/v18.17.0/lib/node_modules/npm/node_modules/node-gyp”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dnode_lib_file=/opt/buildhome/.cache/node-gyp/18.17.0/<(target_arch)/node.lib”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dmodule_root_dir=/opt/build/repo/node_modules/.pnpm/unix-dgram@2.0.6/node_modules/unix-dgram”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Dnode_engine=v8”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “–depth=.”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “–no-parallel”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “–generator-output”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “build”,
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args “-Goutput_dir=.”
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args ]
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn make
7:18:24 PM: …/node_modules/unix-dgram install: gyp info spawn args [ “BUILDTYPE=Release”, “-C”, “build” ]
7:18:24 PM: …/node_modules/unix-dgram install: make: Entering directory “/opt/build/repo/node_modules/.pnpm/unix-dgram@2.0.6/node_modules/unix-dgram/build”
7:18:24 PM: …/node_modules/unix-dgram install: CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
7:18:25 PM: …/node_modules/unix-dgram install: In file included from …/…/…/…/nan@2.17.0/node_modules/nan/nan.h:60,
7:18:25 PM: …/node_modules/unix-dgram install: from …/src/unix_dgram.cc:5:
7:18:25 PM: …/node_modules/unix-dgram install: /opt/buildhome/.cache/node-gyp/18.17.0/include/node/node.h:1014:43: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
7:18:25 PM: …/node_modules/unix-dgram install: 1014 | (node::addon_register_func) (regfunc),
7:18:25 PM: …/node_modules/unix-dgram install: | ^
7:18:25 PM: …/node_modules/unix-dgram install: /opt/buildhome/.cache/node-gyp/18.17.0/include/node/node.h:1048:3: note: in expansion of macro ‘NODE_MODULE_X’
7:18:25 PM: …/node_modules/unix-dgram install: 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
7:18:25 PM: …/node_modules/unix-dgram install: | ^~~~~~~~~~~~~
7:18:25 PM: …/node_modules/unix-dgram install: …/src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
7:18:25 PM: …/node_modules/unix-dgram install: 404 | NODE_MODULE(unix_dgram, Initialize)
7:18:25 PM: …/node_modules/unix-dgram install: | ^~~~~~~~~~~
7:18:26 PM: …/node_modules/unix-dgram install: SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
7:18:26 PM: …/node_modules/unix-dgram install: COPY Release/unix_dgram.node
7:18:26 PM: …/node_modules/unix-dgram install: make: Leaving directory “/opt/build/repo/node_modules/.pnpm/unix-dgram@2.0.6/node_modules/unix-dgram/build”
7:18:26 PM: …/node_modules/unix-dgram install: gyp info ok
7:18:26 PM: …/node_modules/unix-dgram install: Done
7:18:26 PM: …/node_modules/netlify-cli postinstall$ node ./scripts/postinstall.js
7:18:28 PM: …/node_modules/netlify-cli postinstall: Success! Netlify CLI has been installed!
7:18:28 PM: …/node_modules/netlify-cli postinstall: Your device is now configured to use Netlify CLI to deploy and manage your Netlify sites.
7:18:28 PM: …/node_modules/netlify-cli postinstall: Next steps:
7:18:28 PM: …/node_modules/netlify-cli postinstall: netlify init Connect or create a Netlify site from current directory
7:18:28 PM: …/node_modules/netlify-cli postinstall: netlify deploy Deploy the latest changes to your Netlify site
7:18:28 PM: …/node_modules/netlify-cli postinstall: For more information on the CLI run netlify help
7:18:28 PM: …/node_modules/netlify-cli postinstall: Or visit the docs at https://cli.netlify.com
7:18:28 PM: …/node_modules/netlify-cli postinstall: Done
7:18:29 PM: dependencies:
7:18:29 PM: + @actions/core 1.10.0
7:18:29 PM: + @emotion/cache 11.11.0
7:18:29 PM: + @emotion/react 11.11.1
7:18:29 PM: + @emotion/server 11.11.0
7:18:29 PM: + @emotion/styled 11.11.0
7:18:29 PM: + @messageformat/core 3.2.0
7:18:29 PM: + @mui/icons-material 5.14.3
7:18:29 PM: + @mui/lab 5.0.0-alpha.138
7:18:29 PM: + @mui/material 5.14.3
7:18:29 PM: + @rollup/plugin-inject 5.0.3
7:18:29 PM: + @tanstack/react-query 4.32.6
7:18:29 PM: + @tanstack/react-query-devtools 4.32.6
7:18:29 PM: + aos 2.3.4
7:18:29 PM: + clsx 2.0.0
7:18:29 PM: + core-js 3.36.0
7:18:29 PM: + html-react-parser 4.2.0
7:18:29 PM: + mongodb 6.3.0
7:18:29 PM: + next 13.4.12
7:18:29 PM: + prop-types 15.8.1
7:18:29 PM: + react 18.2.0
7:18:29 PM: + react-dom 18.2.0
7:18:29 PM: devDependencies:
7:18:29 PM: + @netlify/plugin-nextjs 4.41.3
7:18:29 PM: + @types/node 20.4.8
7:18:29 PM: + @types/react 18.2.18
7:18:29 PM: + @types/react-dom 18.2.7
7:18:29 PM: + @typescript-eslint/eslint-plugin 6.2.1
7:18:29 PM: + @typescript-eslint/parser 6.2.1
7:18:29 PM: + cross-env 7.0.3
7:18:29 PM: + eslint 8.46.0
7:18:29 PM: + eslint-config-next 13.4.12
7:18:29 PM: + eslint-plugin-import 2.28.0
7:18:29 PM: + eslint-plugin-jsx-a11y 6.7.1
7:18:29 PM: + eslint-plugin-prettier 5.0.0
7:18:29 PM: + eslint-plugin-react 7.33.1
7:18:29 PM: + eslint-plugin-react-hooks 4.6.0
7:18:29 PM: + netlify-cli 17.17.0
7:18:29 PM: + pnpm 8.6.11
7:18:29 PM: + prettier 3.0.1
7:18:29 PM: + prettier-eslint 15.0.1
7:18:29 PM: + prettier-eslint-cli 7.1.0
7:18:29 PM: + typescript 5.3.3
7:18:29 PM: Done in 35.2s
7:18:30 PM: > on-deck-manager@0.1.2 build /opt/build/repo
7:18:30 PM: > next build
7:18:30 PM: - info Linting and checking validity of types…
7:18:30 PM: - error ESLint: Failed to load config “prettier” to extend from. Referenced from: /opt/build/repo/node_modules/.pnpm/eslint-plugin-prettier@5.0.0_eslint@8.46.0_prettier@3.0.1/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js
7:18:33 PM: - info Creating an optimized production build…
7:18:37 PM: Browserslist: caniuse-lite is outdated. Please run:
7:18:37 PM: npx browserslist@latest --update-db
7:18:37 PM: Why you should do it regularly: GitHub - browserslist/browserslist: 🦔 Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env
7:18:50 PM: - info Compiled successfully
7:18:50 PM: - info Collecting page data…
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:18:54 PM: Using Prod mongo db settings
7:19:06 PM: - info Generating static pages (0/4)
7:19:07 PM: - info Generating static pages (1/4)
7:19:07 PM: - info Generating static pages (2/4)
7:19:07 PM: - info Generating static pages (3/4)
7:19:07 PM: - info Generating static pages (4/4)
7:19:08 PM: - info Finalizing page optimization…
7:19:08 PM: Route (pages) Size First Load JS
7:19:08 PM: ┌ ○ / (1112 ms) 1.52 kB 145 kB
7:19:08 PM: ├ /_app 0 B 112 kB
7:19:08 PM: ├ ○ /404 182 B 113 kB
7:19:08 PM: ├ λ /api/clubs 0 B 112 kB
7:19:08 PM: ├ λ /api/clubs/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/nafaClubs 0 B 112 kB
7:19:08 PM: ├ λ /api/nafaJudges 0 B 112 kB
7:19:08 PM: ├ λ /api/omni 0 B 112 kB
7:19:08 PM: ├ λ /api/ondeck 0 B 112 kB
7:19:08 PM: ├ λ /api/ondeck/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/participants 0 B 112 kB
7:19:08 PM: ├ λ /api/participants/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/results 0 B 112 kB
7:19:08 PM: ├ λ /api/sequences 0 B 112 kB
7:19:08 PM: ├ λ /api/sequences/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/tournaments 0 B 112 kB
7:19:08 PM: ├ λ /api/tournaments/[id] 0 B 112 kB
7:19:08 PM: ├ λ /api/v2/nafa/standings/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/v2/ondeck 0 B 112 kB
7:19:08 PM: ├ λ /api/v2/ondeck/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/v2/result/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /api/versionCheck/[…slug] 0 B 112 kB
7:19:08 PM: ├ λ /modelrr 1.36 kB 145 kB
7:19:08 PM: ├ λ /nafa 1.93 kB 145 kB
7:19:08 PM: ├ λ /nafa/info/[id] 2.56 kB 115 kB
7:19:08 PM: ├ λ /nafa/results/[id] 2.36 kB 150 kB
7:19:08 PM: ├ λ /nafa/team/[…slug] 5.72 kB 151 kB
7:19:08 PM: ├ λ /nafa/teams/[id] 1.56 kB 114 kB
7:19:08 PM: ├ λ /nafa/tournament/[id] 3.79 kB 116 kB
7:19:08 PM: └ ○ /ping (979 ms) 258 B 113 kB
7:19:08 PM: + First Load JS shared by all 115 kB
7:19:08 PM: ├ chunks/framework-a336eba791abf541.js 45.2 kB
7:19:08 PM: ├ chunks/main-38e870e59a61035e.js 28.5 kB
7:19:08 PM: ├ chunks/pages/_app-d543ebbb02b9753b.js 36.9 kB
7:19:08 PM: ├ chunks/webpack-5f767b80410a2b2a.js 1.85 kB
7:19:08 PM: └ css/69f81e06845cd7ae.css 2.21 kB
7:19:08 PM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
7:19:08 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
7:19:08 PM:
7:19:08 PM: (build.command completed in 1m 15.1s)
7:19:08 PM:
7:19:08 PM: @netlify/plugin-nextjs (onBuild event)
7:19:08 PM: ────────────────────────────────────────────────────────────────
7:19:08 PM:
7:19:09 PM: Moving static page files to serve from CDN…
7:19:09 PM: Moved 4 files to CDN
7:19:09 PM: Using Netlify Edge Functions for image format detection. Set env var “NEXT_DISABLE_EDGE_IMAGES=true” to disable.
7:19:09 PM: Deploying middleware and functions to Netlify Edge Functions
7:19:09 PM:
7:19:09 PM: (@netlify/plugin-nextjs onBuild completed in 485ms)
7:19:09 PM:
7:19:09 PM: Functions bundling
7:19:09 PM: ────────────────────────────────────────────────────────────────
7:19:09 PM:
7:19:09 PM: The Netlify Functions setting targets a non-existing directory: .netlify/functions
7:19:09 PM:
7:19:09 PM: Packaging Functions from .netlify/functions-internal directory:
7:19:09 PM: - ___netlify-handler/___netlify-handler.js
7:19:09 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
7:19:09 PM: - _ipx/_ipx.js
Deploying, Cleanup, and post-processing are all marked as skipped.
Thanks in advance,
Bob