Fix app startup crash: add hasInstallScript to better-sqlite3 lockfile entry
package-lock.json was missing "hasInstallScript": true for better-sqlite3. npm ci reads this flag to decide whether to run a package's install scripts; without it, the native .node binding is never compiled and the server crashes at startup with "Cannot find module '...better_sqlite3.node'". Running npm install regenerates the field correctly. npm ci (used in update-server.sh) can now compile the native module during deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AQYLFrscmMnzMiXAAANoa
This commit is contained in:
1 file changed
+1
Generated
+1
@@ -122,6 +122,7 @@
|
||||
"version": "13.0.3",
|
||||
"resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-13.0.3.tgz",
|
||||
"integrity": "sha512-RbOBxmLBG8uvFUc15X9+9SFemKcQ0WBuISBVkpuiaUB2qblC8UWlHEjdWVoZ8AdhSwmoEgsiXKfopX0CQxaACQ==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"node-addon-api": "^8.0.0"
|
||||
|
||||
Reference in new issue
Block a user