From 061fa826726a29d18ae3a65031134d04cb355797 Mon Sep 17 00:00:00 2001 From: Sanjib Devnath <85101790+razorpay-sanjib@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:04:10 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(pkg):=20remove=20broken=20po?= =?UTF-8?q?stinstall=20that=20blocks=20npx=20installation=20(#9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The postinstall ran prebuild-install and node-gyp in the wrong context (our package instead of better-sqlite3), always failing with "binding.gyp not found". better-sqlite3 handles its own native compilation via its install script — the package-level postinstall was redundant. Co-authored-by: sanjibdevnathlabs --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 236b137..1bd5ff3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "dev:server": "npx tsc --watch", "production": "npm run build && npm run canvas", "prepublishOnly": "npm run build", - "postinstall": "prebuild-install --runtime napi || node-gyp rebuild --directory node_modules/better-sqlite3", "setup": "node dist/index.js setup", "type-check": "npx tsc --noEmit", "test": "vitest run",