I have a small Eleventy project that has deployed several times successfully to Vercel. Today the deploy fails with this error: The path specified as Output Directory ("_site") is not actually a directory.
The full deploy log below sure looks like things are working. The last line in the log is interesting, but https://vercel.link/missing-public-directory isn't very helpful. I appreciate any thoughts anyone has.
14:05:53.378 Running build in Washington, D.C., USA (East) – iad1
14:05:53.379 Build machine configuration: 2 cores, 8 GB
14:05:54.129 Cloning github.com/rogerpence/eleventy-blog (Branch: main, Commit: 421cebe)
14:05:54.131 Previous build caches not available.
14:05:54.624 Cloning completed: 495.000ms
14:05:55.501 Running "vercel build"
14:05:55.565 Vercel CLI 58.1.0
14:05:56.292 Detected pnpm-lock.yaml version 9 generated by pnpm@10.x with package.json#packageManager pnpm@10.30.1
14:05:56.293 Running "install" command: pnpm install --frozen-lockfile...
14:06:00.032 Lockfile is up to date, resolution step is skipped
14:06:00.080 Progress: resolved 1, reused 0, downloaded 0, added 0
14:06:00.156 Packages: +274
14:06:00.157 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14:06:01.084 Progress: resolved 274, reused 0, downloaded 100, added 32
14:06:02.087 Progress: resolved 274, reused 0, downloaded 189, added 62
14:06:03.086 Progress: resolved 274, reused 0, downloaded 273, added 147
14:06:04.087 Progress: resolved 274, reused 0, downloaded 273, added 273
14:06:05.277 Progress: resolved 274, reused 0, downloaded 274, added 273
14:06:05.281 Progress: resolved 274, reused 0, downloaded 274, added 274, done
14:06:05.591
14:06:05.592 dependencies:
14:06:05.592 + @11ty/eleventy 3.1.6
14:06:05.592 + flexsearch 0.8.212
14:06:05.592 + shiki 4.3.1
14:06:05.592
14:06:05.592 devDependencies:
14:06:05.592 + cssnano 8.0.2
14:06:05.592 + postcss 8.5.20
14:06:05.593 + postcss-cli 11.0.1
14:06:05.594 + postcss-import 16.1.1
14:06:05.594
14:06:05.608 Done in 6.1s using pnpm v10.30.1
14:06:06.787
14:06:06.788 > 11ty@1.0.0 build /vercel/path1
14:06:06.788 > npx @11ty/eleventy --output=_site
14:06:06.788
14:06:08.014 npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See npm help npmrc for supported config options.
14:06:08.016 npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See npm help npmrc for supported config options.
14:06:08.016 npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See npm help npmrc for supported config options.
14:06:12.073 [11ty] Writing ./_site/search-index.json from ./src/create-search-index.njk
14:06:12.089 [11ty] Writing ./_site/about/index.html from ./src/about.md (liquid)
14:06:12.090 [11ty] Writing ./_site/contact/index.html from ./src/contact.md (liquid)
14:06:12.091 [11ty] Writing ./_site/index.html from ./src/index.md (liquid)
14:06:12.091 [11ty] Writing ./_site/links/index.html from ./src/links.md (liquid)
14:06:12.092 [11ty] Writing ./_site/posts/bump-version/index.html from ./src/posts/bump-version.md (liquid)
14:06:12.093 [11ty] Writing ./_site/posts/css-nuggets/index.html from ./src/posts/css-nuggets.md (liquid)
14:06:12.100 [11ty] Writing ./_site/posts/css-zebra-striping/index.html from ./src/posts/css-zebra-striping.md (liquid)
14:06:12.101 [11ty] Writing ./_site/posts/downloads-postgres-utility-sql/index.html from ./src/posts/downloads-postgres-utility-sql.md (liquid)
14:06:12.101 [11ty] Writing ./_site/posts/flex-search/index.html from ./src/posts/flex-search.md (liquid)
14:06:12.101 [11ty] Writing ./_site/posts/flexsearch-docs/index.html from ./src/posts/flexsearch-docs.md (liquid)
14:06:12.102 [11ty] Writing ./_site/posts/extending-a-vms-disk-size/index.html from ./src/posts/extending-a-vms-disk-size.md (liquid)
14:06:12.102 [11ty] Writing ./_site/posts/flexsearch-revised/index.html from ./src/posts/flexsearch-revised.md (liquid)
14:06:12.102 [11ty] Writing ./_site/posts/groupby-js-function-with-reduce/index.html from ./src/posts/groupby-js-function-with-reduce.md (liquid)
14:06:12.103 [11ty] Writing ./_site/posts/honeypot-spam-filter/index.html from ./src/posts/honeypot-spam-filter.md (liquid)
14:06:12.103 [11ty] Writing ./_site/posts/kinesis-keyboard-notes/index.html from ./src/posts/kinesis-keyboard-notes.md (liquid)
14:06:12.104 [11ty] Writing ./_site/posts/postgres-copy-schema-to-another-schema/index.html from ./src/posts/postgres-copy-schema-to-another-schema.md (liquid)
14:06:12.104 [11ty] Writing ./_site/posts/powershell-nuggets/index.html from ./src/posts/powershell-nuggets.md (liquid)
14:06:12.105 [11ty] Writing ./_site/posts/release-set-normalized/index.html from ./src/posts/release-set-normalized.md (liquid)
14:06:12.105 [11ty] Writing ./_site/posts/update-family-release-dates/index.html from ./src/posts/update-family-release-dates.md (liquid)
14:06:12.105 [11ty] Writing ./_site/posts/using-runes-to-trigger-sitewide-action/index.html from ./src/posts/using-runes-to-trigger-sitewide-action.md (liquid)
14:06:12.105 [11ty] Writing ./_site/posts/using-svelte-with-11ty/index.html from ./src/posts/using-svelte-with-11ty.md (liquid)
14:06:12.105 [11ty] Writing ./_site/links/github_com-wesbos-JSON-Alexander/index.html from ./src/links/github_com-wesbos-JSON-Alexander.md (liquid)
14:06:12.106 [11ty] Writing ./_site/links/svgrepo_com/index.html from ./src/links/svgrepo_com.md (liquid)
14:06:12.106 [11ty] Writing ./_site/links/una_im-modern-css-theming-ck_subscriber_id-2177386868/index.html from ./src/links/una_im-modern-css-theming-ck_subscriber_id-2177386868.md (liquid)
14:06:12.130 [11ty] Copied 9 Wrote 25 files in 2.80 seconds (112.1ms each, v3.1.6)
14:06:12.238 Error: The path specified as Output Directory ("_site") is not actually a directory.
14:06:12.239 Learn More: https://vercel.link/missing-public-directory