Error: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings.
我在我的存储库中遇到此错误https://github.com/Excell-09/find-job
我想在 vercel 上部署时修复此错误
这里您的构建目录位于
public
client/public
就我而言,我只需在输出目录部分加一个点:
这个错误也发生在我身上,但是因为我的 svelte.config.js 设置为适配器节点。它必须是:
import adapter from '@sveltejs/adapter-auto';
或
import adapter from '@sveltejs/adapter-vercel';