Fix app startup crash: add hasInstallScript to better-sqlite3 lockfile entry (#1)
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. Claude-Session: https://claude.ai/code/session_013AQYLFrscmMnzMiXAAANoa Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
0f93d16874
commit
0b4797f38c
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