-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build: Cannot see dist folder #52
Comments
因为使用vercel部署的 vercel会自动执行一些edge function,dist会作为中间产物生成,最终会生成一个vercel目录 |
我没成功 |
本地build可以看这个 安装 启动 |
直接build静态文件好像是不行的 |
本地启动后开始对话,看到 /api/generate 接口一直在 pending 是怎么回事啊 |
在centos上部署很复杂啊。 设置和安装依赖项npm i 添加到.env OPENAI_API_KEY=sk-xxx... 这四步成功了,打开网站,403 |
估计是接口地址被屏蔽了 curl https://api.openai.com 看下, 如果一直pending就是被qiang了 |
被墙了怎么处理呢 |
最简单的, 按本项目推荐的部署方式直接用Vercel, 我选的是香港地区, 填个key就能用, 方便得很 |
现在默认的 build 模式已经改为了 |
本地运行的话,可以使用 |
HOST=0.0.0.0 PORT=80 node ./dist/server/entry.mjs npm run dev 正常 |
请问有人build成功了吗?运行run build,有几个warning,但是看不到dist文件夹
The text was updated successfully, but these errors were encountered: