Ever since the Nitro engine updated from 2.9.x to 2.10.x, every single build fails with the same error: Cannot access '_sharedRuntimeConfig' before initialization
My repo is a clone of the Nuxt Sanity starter found here: GitHub - sanity-io/sanity-template-nuxt-clean: Clean starter template with Nuxt
It uses pnpm to manage Nuxt in the /app folder and Sanity in the /studio folder. Up until Nitro updated to 2.10.x, I was having no issues.
Here is the latest error log detailing the problem. Thanks in advance!
3:35:03 PM: build-image version: f89de3c4d86c62a4bb63dd7e59c3e0d0d7aff327 (focal)
3:35:03 PM: buildbot version: 95ebc0bba157669f4e02dbe6ec1c105391eca2a5
3:35:03 PM: Fetching cached dependencies
3:35:03 PM: Failed to fetch cache, continuing with build
3:35:03 PM: Starting to prepare the repo for build
3:35:03 PM: No cached dependencies found. Cloning fresh repo
3:35:03 PM: git clone --filter=blob:none https://github.com/legionglobal/legionglobaldottech
3:35:04 PM: Preparing Git Reference refs/heads/main
3:35:06 PM: Starting to install dependencies
3:35:06 PM: Attempting Python version '3.8', read from environment
3:35:07 PM: mise python@3.8.20 installing
3:35:07 PM: mise python@3.8.20 downloading cpython-3.8.20+20241002-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:35:07 PM: mise python@3.8.20 installing cpython-3.8.20+20241002-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:35:08 PM: mise python@3.8.20 python --version
3:35:08 PM: mise python@3.8.20 Python 3.8.20
3:35:08 PM: mise python@3.8.20 ✓ installed
3:35:08 PM: Python version set to 3.8
3:35:08 PM: Attempting Ruby version 2.7.2, read from environment
3:35:09 PM: Using Ruby version 2.7.2
3:35:09 PM: Started restoring cached go cache
3:35:09 PM: Finished restoring cached go cache
3:35:09 PM: go version go1.19.13 linux/amd64
3:35:10 PM: Using PHP version 8.0
3:35:12 PM: Downloading and installing node v20.18.0...
3:35:12 PM: Downloading https://nodejs.org/dist/v20.18.0/node-v20.18.0-linux-x64.tar.xz...
3:35:12 PM: Computing checksum with sha256sum
3:35:13 PM: Checksums matched!
3:35:15 PM: Now using node v20.18.0 (npm v10.8.2)
3:35:15 PM: Enabling Node.js Corepack
3:35:15 PM: Started restoring cached build plugins
3:35:15 PM: Finished restoring cached build plugins
3:35:15 PM: Started restoring cached corepack dependencies
3:35:15 PM: Finished restoring cached corepack dependencies
3:35:16 PM: pnpm workspaces detected
3:35:16 PM: Installing npm packages using pnpm version 8.15.4
3:35:16 PM: Scope: all 3 workspace projects
3:35:17 PM: WARN Ignoring not compatible lockfile at /opt/build/repo/pnpm-lock.yaml
3:35:17 PM: Progress: resolved 1, reused 0, downloaded 0, added 0
3:35:17 PM: studio | WARN deprecated eslint@8.57.1
3:35:18 PM: Progress: resolved 84, reused 0, downloaded 67, added 0
3:35:19 PM: Progress: resolved 230, reused 0, downloaded 216, added 0
3:35:20 PM: Progress: resolved 341, reused 0, downloaded 310, added 0
3:35:21 PM: Progress: resolved 582, reused 0, downloaded 534, added 0
3:35:22 PM: Progress: resolved 780, reused 0, downloaded 703, added 0
3:35:23 PM: Progress: resolved 1042, reused 0, downloaded 916, added 0
3:35:24 PM: Progress: resolved 1341, reused 0, downloaded 1188, added 0
3:35:25 PM: WARN 8 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, are-we-there-yet@2.0.0, gauge@3.0.2, glob@7.2.3, inflight@1.0.6, npmlog@5.0.1, rimraf@3.0.2
3:35:25 PM: Progress: resolved 1537, reused 0, downloaded 1429, added 0
3:35:25 PM: Packages: +1443
3:35:25 PM: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3:35:26 PM: Progress: resolved 1537, reused 0, downloaded 1443, added 910
3:35:27 PM: Progress: resolved 1537, reused 0, downloaded 1443, added 1442
3:35:27 PM: Progress: resolved 1537, reused 0, downloaded 1443, added 1443, done
3:35:27 PM: .../node_modules/vue-demi postinstall$ node -e "try{require('./scripts/postinstall.js')}catch(e){}"
3:35:27 PM: .../node_modules/vue-demi postinstall: Done
3:35:27 PM: .../node_modules/@parcel/watcher install$ node scripts/build-from-source.js
3:35:27 PM: .../esbuild@0.24.0/node_modules/esbuild postinstall$ node install.js
3:35:27 PM: .../esbuild@0.21.5/node_modules/esbuild postinstall$ node install.js
3:35:27 PM: .../node_modules/@parcel/watcher install: Done
3:35:27 PM: .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
3:35:27 PM: .../esbuild@0.24.0/node_modules/esbuild postinstall: Done
3:35:27 PM: .../esbuild@0.21.5/node_modules/esbuild postinstall: Done
3:35:27 PM: .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
3:35:27 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)
3:35:29 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
3:35:30 PM: .../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
3:35:30 PM: .../sharp@0.32.6/node_modules/sharp install: Done
3:35:33 PM: app postinstall$ nuxt prepare
3:35:34 PM: app postinstall: [info] Using `2024-04-03` as fallback compatibility date.
3:35:34 PM: app postinstall: [info] [@nuxtjs/sanity] Running with Sanity project w4f6ebyv (production).
3:35:34 PM: app postinstall: [info] [@nuxtjs/sanity] Visual editing enabled globally.
3:35:34 PM: app postinstall: [info] [@nuxtjs/sanity] Preview mode enabled. Added routes at: /preview/enable, /preview/disable.
3:35:34 PM: app postinstall: [start] [nuxt:google-fonts] Downloading fonts...
3:35:34 PM: app postinstall: [success] [nuxt:google-fonts] https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto+Serif:wght@400;700&family=download&family=inject&display=swap
3:35:34 PM: app postinstall: [info] [nuxt:google-fonts] Montserrat-400
3:35:34 PM: app postinstall: [info] [nuxt:google-fonts] Roboto_Serif-400
3:35:34 PM: app postinstall: [success] [nuxt:google-fonts] Download fonts completed.
3:35:34 PM: app postinstall: [log] [nuxt:google-fonts]
3:35:35 PM: app postinstall: [success] Types generated in .nuxt
3:35:35 PM: app postinstall: Done
3:35:35 PM: dependencies:
3:35:35 PM: + @sanity/client 6.22.4
3:35:35 PM: devDependencies:
3:35:35 PM: + prettier 3.3.3
3:35:35 PM: + prettier-plugin-packagejson 2.5.0 (2.5.3 is available)
3:35:35 PM: Done in 19.1s
3:35:35 PM: npm packages installed using pnpm
3:35:36 PM: Successfully installed dependencies
3:35:36 PM: Starting build script
3:35:37 PM: Detected 0 framework(s)
3:35:37 PM: Section completed: initializing
3:35:39 PM:
3:35:39 PM: Netlify Build
3:35:39 PM: ────────────────────────────────────────────────────────────────
3:35:39 PM:
3:35:39 PM: ❯ Version
3:35:39 PM: @netlify/build 29.56.1
3:35:39 PM:
3:35:39 PM: ❯ Flags
3:35:39 PM: accountId: 66bfb9929b90ffaa4cd8d73f
3:35:39 PM: baseRelDir: true
3:35:39 PM: buildId: 6737be7cc6a49e00085fab29
3:35:39 PM: deployId: 6737be7cc6a49e00085fab2b
3:35:39 PM: packagePath: app
3:35:39 PM:
3:35:39 PM: ❯ Current directory
3:35:39 PM: /opt/build/repo
3:35:39 PM:
3:35:39 PM: ❯ Config file
3:35:39 PM: No config file was defined: using default values.
3:35:39 PM:
3:35:39 PM: ❯ Context
3:35:39 PM: production
3:35:39 PM:
3:35:39 PM: ❯ Installing plugins
3:35:39 PM: - @netlify/plugin-emails@1.1.1
3:35:41 PM:
3:35:41 PM: ❯ Loading plugins
3:35:41 PM: - @netlify/plugin-emails@1.1.1 from Netlify app
3:35:42 PM:
3:35:42 PM: Build command from Netlify app
3:35:42 PM: ────────────────────────────────────────────────────────────────
3:35:42 PM:
3:35:42 PM: $ pnpm --filter app... run generate
3:35:43 PM: > app@ generate /opt/build/repo/app
3:35:43 PM: > nuxt generate
3:35:43 PM: [log] Nuxt 3.14.159 with Nitro 2.10.4
3:35:43 PM: [info] Using Nitro server preset: `static`
3:35:44 PM: [info] Using `2024-04-03` as fallback compatibility date.
3:35:44 PM: [info] [@nuxtjs/sanity] Running with Sanity project w4f6ebyv (production).
3:35:44 PM: [info] [@nuxtjs/sanity] Visual editing enabled globally.
3:35:44 PM: [info] [@nuxtjs/sanity] Preview mode enabled. Added routes at: /preview/enable, /preview/disable.
3:35:45 PM: [info] Building client...
3:35:45 PM: [info] vite v5.4.11 building for production...
3:35:45 PM: [info] transforming...
3:35:50 PM: [info] ✓ 832 modules transformed.
3:35:51 PM: [info] rendering chunks...
3:35:51 PM: [warn] [plugin:vite:reporter] [plugin vite:reporter]
3:35:51 PM: (!) /opt/build/repo/app/assets/icons/menu.svg is dynamically imported by /opt/build/repo/app/assets/icons/menu.svg?nuxt_component=async&nuxt_component_name=SvgoMenu&nuxt_component_export=default but also statically imported by /opt/build/repo/app/components/Header.vue, dynamic import will not move module into another chunk.
3:35:51 PM:
3:35:51 PM: [warn] [plugin:vite:reporter] [plugin vite:reporter]
3:35:51 PM: (!) /opt/build/repo/app/assets/icons/close.svg is dynamically imported by /opt/build/repo/app/assets/icons/close.svg?nuxt_component=async&nuxt_component_name=SvgoClose&nuxt_component_export=default but also statically imported by /opt/build/repo/app/components/Header.vue, dynamic import will not move module into another chunk.
3:35:51 PM:
3:35:51 PM: [info] computing gzip size...
3:35:51 PM: [info] .nuxt/dist/client/manifest.json 12.48 kB │ gzip: 1.53 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Montserrat-400-3.BcziCZ2I.woff2 13.02 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Roboto_Serif-400-18.CxKL5W6j.woff2 13.18 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Roboto_Serif-400-16.D7GOjdPZ.woff2 15.68 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Montserrat-400-2.D3on441i.woff2 23.84 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Montserrat-400-1.DV_LRdWn.woff2 26.48 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Roboto_Serif-400-17.Ro87ujHO.woff2 32.03 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Montserrat-400-5.AeMhpAKq.woff2 37.83 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Roboto_Serif-400-19.BIzL7KBc.woff2 49.82 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Roboto_Serif-400-20.214L4lcw.woff2 65.97 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Montserrat-400-4.BLkAzDQP.woff2 70.77 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/about.Cl_ozU_w.css 0.12 kB │ gzip: 0.12 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/index.D9ESH_81.css 0.33 kB │ gzip: 0.24 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/_slug_.DctZgjqf.css 0.69 kB │ gzip: 0.39 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/index.BPDAQpB9.css 1.07 kB │ gzip: 0.45 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/_slug_.D8QkhR6Q.css 1.34 kB │ gzip: 0.64 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/NextSteps2Up.tpw_gAJ1.css 1.49 kB │ gzip: 0.64 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Section.D1j4M5Nj.css 2.11 kB │ gzip: 0.71 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/index.BABjtYpq.css 3.77 kB │ gzip: 1.12 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/entry.CB5gg_9p.css 12.91 kB │ gzip: 3.33 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DD0Ei5De.js 0.12 kB │ gzip: 0.13 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Cv3cykWs.js 0.24 kB │ gzip: 0.18 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Cwu3ZXb2.js 0.29 kB │ gzip: 0.24 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Btl2O-0q.js 0.47 kB │ gzip: 0.33 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/9Xt249XA.js 0.55 kB │ gzip: 0.40 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/laXsW_O9.js 0.59 kB │ gzip: 0.40 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DQFTSHTR.js 0.64 kB │ gzip: 0.42 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DIKhPc2t.js 0.72 kB │ gzip: 0.43 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DMGS9Q9o.js 1.20 kB │ gzip: 0.60 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/CKkd5K_H.js 1.36 kB │ gzip: 0.82 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/_BNUwbeE.js 1.99 kB │ gzip: 1.01 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/1bJnx0Hj.js 2.05 kB │ gzip: 1.18 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/D0GR9pIP.js 2.14 kB │ gzip: 1.12 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/D_PR3pk9.js 2.49 kB │ gzip: 1.21 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/CrUarR_H.js 2.81 kB │ gzip: 1.24 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/Hrc0gJWf.js 2.92 kB │ gzip: 1.59 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/CKB42dye.js 4.43 kB │ gzip: 1.74 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/1cJdvRa-.js 5.25 kB │ gzip: 2.33 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/C79NYLef.js 7.02 kB │ gzip: 2.89 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/BtWZREzY.js 8.68 kB │ gzip: 3.33 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DVdWs4Ai.js 12.26 kB │ gzip: 4.82 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/D1kCmvpz.js 13.83 kB │ gzip: 5.81 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/DP2n8aFE.js 51.45 kB │ gzip: 16.48 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/CM6Y4u3N.js 355.02 kB │ gzip: 125.71 kB
3:35:51 PM: [info] .nuxt/dist/client/_nuxt/CxKGeH2A.js 979.49 kB │ gzip: 289.48 kB
3:35:51 PM: [warn]
3:35:51 PM: (!) Some chunks are larger than 500 kB after minification. Consider:
3:35:51 PM: - Using dynamic import() to code-split the application
3:35:51 PM: - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
3:35:51 PM: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
3:35:51 PM: [info] ✓ built in 5.88s
3:35:51 PM: [success] Client built in 5892ms
3:35:51 PM: [info] Building server...
3:35:51 PM: [info] vite v5.4.11 building SSR bundle for production...
3:35:51 PM: [info] transforming...
3:35:52 PM: [info] ✓ 210 modules transformed.
3:35:52 PM: [info] rendering chunks...
3:35:52 PM: [warn] [plugin:vite:reporter] [plugin vite:reporter]
3:35:52 PM: (!) /opt/build/repo/app/assets/icons/menu.svg is dynamically imported by /opt/build/repo/app/assets/icons/menu.svg?nuxt_component=async&nuxt_component_name=SvgoMenu&nuxt_component_export=default but also statically imported by /opt/build/repo/app/components/Header.vue, dynamic import will not move module into another chunk.
3:35:52 PM:
3:35:52 PM: [warn] [plugin:vite:reporter] [plugin vite:reporter]
3:35:52 PM: (!) /opt/build/repo/app/assets/icons/close.svg is dynamically imported by /opt/build/repo/app/assets/icons/close.svg?nuxt_component=async&nuxt_component_name=SvgoClose&nuxt_component_export=default but also statically imported by /opt/build/repo/app/components/Header.vue, dynamic import will not move module into another chunk.
3:35:52 PM:
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Hero-styles.BrQpJpaN.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles.T3vFxsju.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/about-styles.BmPKFhTy.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles.M-oYRgMa.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/app-styles.B2BUcRm-.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Icon-styles.EO2E-K5t.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Cta-styles.DMtcNWKN.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/SkipToContent-styles.SK9LiT9N.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Header-styles.Bi61GG-V.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Rings-styles.DA2azes3.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/StripeVector-styles.zPdXO1V1.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Image-styles.BDUzylIL.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Footer-styles.B9pSamKs.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Navigation-styles.BfzBqoX3.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles.CZ_10KMU.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles.hzhn-7YY.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Section-styles.63ho4Svp.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NewsCard-styles.C9_RsAh3.mjs 0.08 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/RecentBlock-styles.fd6No97y.mjs 0.09 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NextSteps2Up-styles.DFYRToKv.mjs 0.09 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Hero-styles.B4fNBQAj.mjs 0.14 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/about-styles.DRM1BUiA.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles.zk8C2RcI.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles.-qJc-1tp.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/app-styles.Dp9IvA94.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Icon-styles.C18nYfzm.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Cta-styles.CaKn6Nz8.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/SkipToContent-styles.DTY41_wy.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Header-styles.B4vITXLc.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Rings-styles.CJSJVkcF.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/StripeVector-styles.BQ7owMLH.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Image-styles.CWtzjBP4.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Footer-styles.D-JY-l-i.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Navigation-styles.Dm9THalC.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles.Dx0EURxk.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles.DYX9ejec.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Section-styles.BZM3gGmT.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NewsCard-styles.BTg7HzDJ.mjs 0.15 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/RecentBlock-styles.BPqxzNcJ.mjs 0.16 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NextSteps2Up-styles.DG-xvu29.mjs 0.16 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles.DuMXJuDM.mjs 0.60 kB
3:35:53 PM: [info] .nuxt/dist/server/styles.mjs 4.95 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-4.mjs-yC6atdW2.js 0.19 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-2oL74OMZ.js 0.22 kB │ map: 0.68 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles-1.mjs-Cj6_WLTq.js 0.29 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/about-styles-1.mjs-CAi0BeCL.js 0.29 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/groq-BZtnCWTA.js 0.31 kB │ map: 0.72 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-3.mjs-S81k-vSD.js 0.33 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-7.mjs-q1-wamiL.js 0.33 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NewsCard-styles-1.mjs-BMNrc01K.js 0.39 kB │ map: 0.12 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Rings-styles-1.mjs-DvqUtcKG.js 0.51 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Section-styles-1.mjs-ClstCJme.js 0.56 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles-1.mjs-DvGeyRr0.js 0.86 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-8.mjs-CICm2Bph.js 1.05 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/chevron-DeBlZ-wo.js 1.22 kB │ map: 1.29 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-styles-1.mjs-BHkTOJPJ.js 1.24 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-styles-1.mjs-Dvr8-dEc.js 1.25 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/write-DkK5pLv_.js 1.27 kB │ map: 1.36 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/share-CcB-Z3WF.js 1.36 kB │ map: 1.46 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/HeroVideo-C52RLb_s.js 1.36 kB │ map: 0.65 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/copy-B_xO6x4k.js 1.43 kB │ map: 1.52 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Image-styles-1.mjs-CMHFztz2.js 1.43 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NextSteps2Up-styles-1.mjs-D95Ssx-w.js 1.68 kB │ map: 0.12 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-5.mjs-DxaqHCkr.js 1.72 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-2.mjs-AOJGO1fY.js 1.82 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Hero-styles-1.mjs-C04wC94i.js 1.90 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/terms-B7ra6sIc.js 2.22 kB │ map: 0.79 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-6.mjs-D4Xo6sLE.js 2.34 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/NextSteps2Up-BxSn8VjC.js 2.69 kB │ map: 4.75 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/RecentBlock-styles-1.mjs-i06GFomm.js 2.70 kB │ map: 0.12 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/Section-XgQaghAN.js 4.42 kB │ map: 6.23 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-S58R3mYJ.js 4.64 kB │ map: 1.57 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/about-LDn1jTdA.js 5.43 kB │ map: 3.40 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/services-DcSQJzRG.js 6.22 kB │ map: 2.70 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-9.mjs-CDmr4IHb.js 6.55 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-dkJYr6_Z.js 7.79 kB │ map: 5.16 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/entry-styles-1.mjs-BCwUZGIM.js 7.93 kB │ map: 0.11 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-CBbUcyr5.js 8.83 kB │ map: 4.89 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/contact-B43GjMgh.js 9.55 kB │ map: 4.64 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/_slug_-DWR-BpnG.js 17.51 kB │ map: 10.73 kB
3:35:53 PM: [info] .nuxt/dist/server/_nuxt/index-BZetpitU.js 32.09 kB │ map: 46.04 kB
3:35:53 PM: [info] .nuxt/dist/server/server.mjs 231.52 kB │ map: 755.28 kB
3:35:53 PM: [info] ✓ built in 1.61s
3:35:53 PM: [success] Server built in 1618ms
3:35:53 PM: [info] [nitro] Initializing prerenderer
3:35:54 PM: [error] Cannot access '_sharedRuntimeConfig' before initialization
3:35:54 PM: at useRuntimeConfig (.nuxt/prerender/chunks/nitro/nitro.mjs:411:5)
3:35:54 PM: at .nuxt/prerender/chunks/nitro/nitro.mjs:249:17
3:35:54 PM: at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
3:35:54 PM: at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
3:35:54 PM: at async prerender (/opt/build/repo/node_modules/.pnpm/nitropack@2.10.4_typescript@5.6.3/node_modules/nitropack/dist/core/index.mjs:1892:44)
3:35:54 PM: at async /opt/build/repo/node_modules/.pnpm/nuxt@3.14.159_@types+node@18.19.64_typescript@5.6.3_vite@5.4.11/node_modules/nuxt/dist/index.mjs:3731:5
3:35:54 PM: at async build (/opt/build/repo/node_modules/.pnpm/nuxt@3.14.159_@types+node@18.19.64_typescript@5.6.3_vite@5.4.11/node_modules/nuxt/dist/index.mjs:5952:3)
3:35:54 PM: at async Object.run (/opt/build/repo/node_modules/.pnpm/nuxi@3.15.0/node_modules/nuxi/dist/chunks/build.mjs:104:5)
3:35:54 PM: at async Object.run (/opt/build/repo/node_modules/.pnpm/nuxi@3.15.0/node_modules/nuxi/dist/chunks/generate.mjs:60:5)
3:35:54 PM: at async runCommand$1 (/opt/build/repo/node_modules/.pnpm/nuxi@3.15.0/node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1648:16)
3:35:54 PM: [error] Cannot access '_sharedRuntimeConfig' before initialization
3:35:54 PM: /opt/build/repo/app:
3:35:54 PM: ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL app@ generate: `nuxt generate`
3:35:54 PM: Exit status 1
3:35:55 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:35:55 PM:
3:35:55 PM: "build.command" failed
3:35:55 PM: ────────────────────────────────────────────────────────────────
3:35:55 PM:
3:35:55 PM: Error message
3:35:55 PM: Command failed with exit code 1: pnpm --filter app... run generate (https://ntl.fyi/exit-code-1)
3:35:55 PM:
3:35:55 PM: Error location
3:35:55 PM: In Build command from Netlify app:
3:35:55 PM: pnpm --filter app... run generate
3:35:55 PM:
3:35:55 PM: Resolved config
3:35:55 PM: build:
3:35:55 PM: command: pnpm --filter app... run generate
3:35:55 PM: commandOrigin: ui
3:35:55 PM: environment:
3:35:55 PM: - NUXT_SANITY_API_READ_TOKEN
3:35:55 PM: - NUXT_SANITY_API_WRITE_TOKEN
3:35:55 PM: - NUXT_SANITY_DATASET
3:35:55 PM: - NUXT_SANITY_PROJECT_ID
3:35:55 PM: publish: /opt/build/repo/app/dist
3:35:55 PM: publishOrigin: ui
3:35:55 PM: plugins:
3:35:55 PM: - inputs: {}
3:35:55 PM: origin: ui
3:35:55 PM: package: '@netlify/plugin-emails'
3:35:55 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:35:55 PM: Failing build: Failed to build site
3:35:55 PM: Finished processing build request in 52.572s