When I run bun install with the workspaces in package.json set, I get the following error. I think it's a simple-git-hooks error because the https://github.com/stacksjs/bun-git-hooks package does not have that error.
$> bun install
bun install v1.3.11 (af24e281)
warn: incorrect peer dependency "eslint@10.0.3"
📦 Installing [745/936] node:fs:1725
const stats = binding.stat(
^
Error: ENOENT: no such file or directory, stat '/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/package.json'
at Object.statSync (node:fs:1725:25)
at _getPackageJson (/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/node_modules/simple-git-hooks/simple-git-hooks.js:232:13)
at checkSimpleGitHooksInDependencies (/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/node_modules/simple-git-hooks/simple-git-hooks.js:129:34)
at postinstall (/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/node_modules/simple-git-hooks/postinstall.js:15:9)
at Object.<anonymous> (/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/node_modules/simple-git-hooks/postinstall.js:23:1)
at Module._compile (node:internal/modules/cjs/loader:1812:14)
at Object..js (node:internal/modules/cjs/loader:1943:10)
at Module.load (node:internal/modules/cjs/loader:1533:32)
at Module._load (node:internal/modules/cjs/loader:1335:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) {
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/home/keksi/i/shako/node_modules/.bun/simple-git-hooks@2.13.1/package.json'
}
Node.js v24.14.0
error: postinstall script from "simple-git-hooks" exited with 1
When I run
bun installwith the workspaces in package.json set, I get the following error. I think it's a simple-git-hooks error because the https://github.com/stacksjs/bun-git-hooks package does not have that error.