Site: benevolent-puffpuff-35ca3a
Domain: munch-industries.com
I am deploying an Astro project, and I changed the output type from “static” to “server” in astro.config.mjs. This caused the deployment preview to go straight to a 500 error code:
This page isn’t working
deploy-preview-14–benevolent-puffpuff-35ca3a.netlify.app is currently unable to handle this request.
HTTP ERROR 500
Netlify says I have zero functions.
Build settings:
Build log:
11:14:53 AM: build-image version: 006dca901dab83234b4881f914ac1a189ff41daa (focal)
11:14:53 AM: buildbot version: 85b96580a20a4d1c8162f558cac1ba041b0848da
11:14:53 AM: Fetching cached dependencies
11:14:53 AM: Starting to download cache of 265.9MB
11:14:54 AM: Finished downloading cache in 1.446s
11:14:54 AM: Starting to extract cache
11:14:56 AM: Finished extracting cache in 1.781s
11:14:56 AM: Finished fetching cache in 3.289s
11:14:56 AM: Starting to prepare the repo for build
11:14:57 AM: Preparing Git Reference pull/14/head
11:14:58 AM: Starting to install dependencies
11:14:58 AM: Python version set to 3.8
11:14:59 AM: Attempting Ruby version 2.7.2, read from environment
11:14:59 AM: Using Ruby version 2.7.2
11:15:00 AM: Started restoring cached go cache
11:15:00 AM: Finished restoring cached go cache
11:15:01 AM: go version go1.19.13 linux/amd64
11:15:02 AM: Using PHP version 8.0
11:15:03 AM: Started restoring cached Node.js version
11:15:04 AM: Finished restoring cached Node.js version
11:15:04 AM: v18.20.3 is already installed.
11:15:04 AM: Now using node v18.20.3 (npm v10.7.0)
11:15:04 AM: Enabling Node.js Corepack
11:15:05 AM: Started restoring cached build plugins
11:15:05 AM: Finished restoring cached build plugins
11:15:05 AM: Started restoring cached corepack dependencies
11:15:05 AM: Finished restoring cached corepack dependencies
11:15:05 AM: No npm workspaces detected
11:15:05 AM: Started restoring cached node modules
11:15:05 AM: Finished restoring cached node modules
11:15:05 AM: Installing npm packages using npm version 10.7.0
11:15:07 AM: up to date, audited 971 packages in 2s
11:15:07 AM: 353 packages are looking for funding
11:15:07 AM: run `npm fund` for details
11:15:07 AM: 3 vulnerabilities (2 moderate, 1 high)
11:15:07 AM: To address all issues, run:
11:15:07 AM: npm audit fix
11:15:07 AM: Run `npm audit` for details.
11:15:07 AM: npm packages installed
11:15:07 AM: Successfully installed dependencies
11:15:07 AM: Starting build script
11:15:08 AM: Detected 1 framework(s)
11:15:08 AM: "astro" at version "4.4.9"
11:15:08 AM: Section completed: initializing
11:15:10 AM:
11:15:10 AM: Netlify Build
11:15:10 AM: ────────────────────────────────────────────────────────────────
11:15:10 AM:
11:15:10 AM: ❯ Version
11:15:10 AM: @netlify/build 29.50.0
11:15:10 AM:
11:15:10 AM: ❯ Flags
11:15:10 AM: baseRelDir: true
11:15:10 AM: buildId: 66856ae17e9c790008e440bf
11:15:10 AM: deployId: 66856ae17e9c790008e440c1
11:15:10 AM:
11:15:10 AM: ❯ Current directory
11:15:10 AM: /opt/build/repo
11:15:10 AM:
11:15:10 AM: ❯ Config file
11:15:10 AM: /opt/build/repo/netlify.toml
11:15:10 AM:
11:15:10 AM: ❯ Context
11:15:10 AM: deploy-preview
11:15:10 AM:
11:15:10 AM: build.command from netlify.toml
11:15:10 AM: ────────────────────────────────────────────────────────────────
11:15:10 AM:
11:15:10 AM: $ npm run build
11:15:10 AM: > @onwidget/astrowind@1.0.0-beta.20 build
11:15:10 AM: > astro build
11:15:11 AM: 15:15:11 [WARN] [config] The feature "assets" is experimental and subject to change (used by @astrojs/netlify).
11:15:11 AM: 15:15:11 Types generated 238ms
11:15:11 AM: 15:15:11 [build] output: "server"
11:15:11 AM: 15:15:11 [build] directory: /opt/build/repo/dist/
11:15:11 AM: 15:15:11 [build] adapter: @astrojs/netlify
11:15:11 AM: 15:15:11 [build] Collecting build info...
11:15:11 AM: 15:15:11 [build] ✓ Completed in 288ms.
11:15:11 AM: 15:15:11 [build] Building server entrypoints...
11:15:14 AM: 15:15:14 [WARN] [vite]
11:15:15 AM: ../images/bg-design/about-bg.png referenced in /opt/build/repo/src/assets/styles/tailwind.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
15:15:15 [astro-icon] Loaded icons from flat-color-icons, tabler
11:15:16 AM: 15:15:16 [vite] ✓ built in 4.44s
11:15:16 AM: 15:15:16 [build] ✓ Completed in 4.47s.
11:15:16 AM: building client (vite)
11:15:16 AM: 15:15:16 [vite] transforming...
11:15:16 AM: 15:15:16 [vite] ✓ 4 modules transformed.
11:15:16 AM: 15:15:16 [vite] rendering chunks...
11:15:16 AM: 15:15:16 [vite] computing gzip size...
11:15:16 AM: 15:15:16 [vite] dist/_astro/hoisted.DKLf09KS.js 0.07 kB │ gzip: 0.08 kB
11:15:16 AM: 15:15:16 [vite] dist/_astro/hoisted.DRGJpdYR.js 0.42 kB │ gzip: 0.29 kB
11:15:16 AM: 15:15:16 [vite] ✓ built in 20ms
11:15:16 AM: 15:15:16
11:15:16 AM: finalizing server assets
11:15:16 AM: 15:15:16 [build] Rearranging server assets...
11:15:16 AM: 15:15:16 [@astrojs/sitemap] `sitemap-index.xml` created at `dist`
11:15:16 AM: AstroCompress processing
11:15:16 AM: ✓ Successfully compressed a total of 1 CSS file for 618 Bytes.
11:15:16 AM: ✓ Successfully compressed a total of 1 HTML file for 125 Bytes.
11:15:16 AM: ✓ Successfully compressed a total of 1 JavaScript file for 1 Bytes.
11:15:16 AM: 15:15:16 [@astrojs/netlify] Emitted _redirects
11:15:16 AM: 15:15:16 [@astrojs/netlify] Generated SSR Function
11:15:16 AM: 15:15:16 [build] Server built in 5.04s
11:15:16 AM: 15:15:16 [build] Complete!
11:15:16 AM:
11:15:16 AM: (build.command completed in 6.5s)
11:15:16 AM:
11:15:16 AM: Functions bundling
11:15:16 AM: ────────────────────────────────────────────────────────────────
11:15:16 AM:
11:15:16 AM: Packaging Functions from .netlify/functions-internal directory:
11:15:16 AM: - ssr/ssr.mjs
11:15:16 AM:
11:15:20 AM:
11:15:20 AM: (Functions bundling completed in 3.6s)
11:15:20 AM:
11:15:20 AM: Deploy site
11:15:20 AM: ────────────────────────────────────────────────────────────────
11:15:20 AM:
11:15:20 AM: Starting to deploy site from 'dist'
11:15:20 AM: Calculating files to upload
11:15:20 AM: 0 new files to upload
11:15:20 AM: 1 new functions to upload
11:15:36 AM: Post processing - redirect rules
11:15:36 AM: Post processing done
11:15:36 AM: Section completed: postprocessing
11:15:36 AM: Starting post processing
11:15:36 AM: Skipping form detection
11:15:36 AM: Post processing - header rules
11:15:36 AM: Site is live ✨
11:15:36 AM: Section completed: deploying
11:15:36 AM: Site deploy was successfully initiated
11:15:36 AM:
11:15:36 AM: (Deploy site completed in 15.6s)
11:15:36 AM:
11:15:36 AM: Netlify Build Complete
11:15:36 AM: ────────────────────────────────────────────────────────────────
11:15:36 AM:
11:15:36 AM: (Netlify Build completed in 25.9s)
11:15:36 AM: Caching artifacts
11:15:36 AM: Started saving node modules
11:15:36 AM: Finished saving node modules
11:15:36 AM: Started saving build plugins
11:15:36 AM: Finished saving build plugins
11:15:36 AM: Started saving corepack cache
11:15:36 AM: Finished saving corepack cache
11:15:36 AM: Started saving pip cache
11:15:36 AM: Finished saving pip cache
11:15:36 AM: Started saving emacs cask dependencies
11:15:36 AM: Finished saving emacs cask dependencies
11:15:36 AM: Started saving maven dependencies
11:15:36 AM: Finished saving maven dependencies
11:15:36 AM: Started saving boot dependencies
11:15:36 AM: Finished saving boot dependencies
11:15:36 AM: Started saving rust rustup cache
11:15:36 AM: Finished saving rust rustup cache
11:15:36 AM: Started saving go dependencies
11:15:36 AM: Finished saving go dependencies
11:15:36 AM: Build script success
11:15:36 AM: Section completed: building
11:15:38 AM: Uploading Cache of size 265.8MB
11:15:39 AM: Section completed: cleanup
11:15:39 AM: Finished processing build request in 45.938s