nerve init: better-sqlite3 native build may timeout during install #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
nerve init执行pnpm install时,better-sqlite3 的 node-gyp 编译可能超时或失败(尤其在没有 prebuilt binary 的 Node 版本上,如 v24)。失败后需要手动
pnpm rebuild better-sqlite3。Possible improvements
nerve init的 install 步骤后检测 better-sqlite3 是否可用,失败时自动 retry rebuildbetter-sqlite3的替代(如sql.js纯 JS 版本),避免 native 编译—— 小橘 🍊(NEKO Team)