8520ccc

8520ccc

V2EX 第 473808 号会员,加入于 2020-03-03 14:06:38 +08:00
今日活跃度排名 4241
根据 8520ccc 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
8520ccc 最近回复了
19 小时 2 分钟前
回复了 tianzx 创建的主题 分享创造 分享我们基于 Next.js 的开源 SaaS 开发模板🚀
root@code-server /saas# bun run build
$ turbo build
• Packages in scope: @saasfly/api, @saasfly/auth, @saasfly/common, @saasfly/db, @saasfly/eslint-config, @saasfly/nextjs, @saasfly/prettier-config, @saasfly/stripe, @saasfly/tailwind-config, @saasfly/typescript-config, @saasfly/ui
• Running build in 11 packages
• Remote caching disabled
@saasfly/nextjs:build: cache miss, executing 12d13155ec2e6d30
@saasfly/nextjs:build: $ contentlayer build && bun with-env next build
@saasfly/nextjs:build: Generated 9 documents in .contentlayer
@saasfly/nextjs:build: TypeError: The "code" argument must be of type number. Received an instance of Object
@saasfly/nextjs:build: at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
@saasfly/nextjs:build: at Cli.runExit (/node_modules/clipanion/lib/advanced/Cli.js:232:26)
@saasfly/nextjs:build: at run (file:///node_modules/@contentlayer/cli/src/index.ts:39:3)
@saasfly/nextjs:build: at main (/node_modules/contentlayer/bin/cli.cjs:5:3) {
@saasfly/nextjs:build: code: 'ERR_INVALID_ARG_TYPE'
@saasfly/nextjs:build: }
@saasfly/nextjs:build: $ dotenv -e ../../.env.local -- next build
@saasfly/nextjs:build: ▲ Next.js 14.0.3
@saasfly/nextjs:build:
@saasfly/nextjs:build: ✓ Creating an optimized production build
@saasfly/nextjs:build: ✓ Compiled successfully
@saasfly/nextjs:build: Skipping validation of types
@saasfly/nextjs:build: Skipping linting
Collecting page data ..sa [VercelPostgresError]: VercelPostgresError - 'invalid_connection_string': This connection string is meant to be used with a direct connection. Make sure to use a pooled connection string or try `createClient()` instead.
@saasfly/nextjs:build: at su (/apps/nextjs/.next/server/chunks/406.js:18:5468)
@saasfly/nextjs:build: at sg (/apps/nextjs/.next/server/chunks/406.js:18:7411)
@saasfly/nextjs:build: at 15491 (/apps/nextjs/.next/server/app/api/webhooks/stripe/route.js:1:13596)
@saasfly/nextjs:build: at t (/apps/nextjs/.next/server/webpack-runtime.js:1:128)
@saasfly/nextjs:build: at 36577 (/apps/nextjs/.next/server/app/api/webhooks/stripe/route.js:1:14487)
@saasfly/nextjs:build: at t (/apps/nextjs/.next/server/webpack-runtime.js:1:128)
@saasfly/nextjs:build: at 75138 (/apps/nextjs/.next/server/app/api/webhooks/stripe/route.js:1:1028)
@saasfly/nextjs:build: at t (/apps/nextjs/.next/server/webpack-runtime.js:1:128)
@saasfly/nextjs:build: at r (/apps/nextjs/.next/server/app/api/webhooks/stripe/route.js:1:17593)
@saasfly/nextjs:build: at /apps/nextjs/.next/server/app/api/webhooks/stripe/route.js:1:17628 {
@saasfly/nextjs:build: code: 'invalid_connection_string'
@saasfly/nextjs:build: }

> Build error occurred
Error: Failed to collect page data for /api/webhooks/stripe
@saasfly/nextjs:build: at /node_modules/next/dist/build/utils.js:1217:15
@saasfly/nextjs:build: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
@saasfly/nextjs:build: type: 'Error'
@saasfly/nextjs:build: }
@saasfly/nextjs:build: Collecting page data .error: script "with-env" exited with code 1
@saasfly/nextjs:build: error: script "build" exited with code 1
@saasfly/nextjs:build: ERROR: command finished with error: command (/apps/nextjs) /root/.bun/bin/bun run build exited (1)
@saasfly/nextjs#build: command (/apps/nextjs) /root/.bun/bin/bun run build exited (1)

Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 5.326s
Failed: @saasfly/nextjs#build

ERROR run failed: command exited (1)
error: script "build" exited with code 1
20 小时 4 分钟前
回复了 tianzx 创建的主题 分享创造 分享我们基于 Next.js 的开源 SaaS 开发模板🚀
@tianzx 数据库设置了的,执行了后还可以看到数据库表的结构都建立好了,等会发报错吧
21 小时 46 分钟前
回复了 tianzx 创建的主题 分享创造 分享我们基于 Next.js 的开源 SaaS 开发模板🚀
跑不起来
@Puteulanus 这个我今天看了好像不是,我也以为是
@numberator 再次梦见,我虽无神轮,但是真的很膈应

中途醒了都不想睡了……准找个时间去买点纸烧一下……(明天吧,看看附近那里有卖的
25 天前
回复了 timothyye 创建的主题 分享创造 用 Rust 实现的端口敲门工具: Knock
感谢分享,另外有个小意见

实现一个密钥加密是不是更好?

防止重放攻击?
94 天前
回复了 sampeng 创建的主题 程序员 一个疑问,现在是人均一台开发机了?
remote 舒服的是 环境统一 无论 人在哪里 只要开发机能连接,那么就不需要折腾环境去了
128 天前
回复了 cMoon 创建的主题 JetBrains idea 特别耗资源
内存不贵 上 64/128 吧
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3382 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 10:37 · PVG 18:37 · LAX 03:37 · JFK 06:37
Developed with CodeLauncher
♥ Do have faith in what you're doing.