Open simar0at opened 1 week ago
There is a problem with cloud native buildpacks and simple-git-hooks:
simple-git-hooks
.../esbuild@0.21.5/node_modules/esbuild postinstall$ node install.js .../node_modules/simple-git-hooks postinstall$ node ./postinstall.js .../esbuild@0.20.2/node_modules/esbuild postinstall$ node install.js .../node_modules/vue-demi postinstall$ node -e "try{require('./scripts/postinstall.js')}catch(e){}" .../esbuild@0.23.1/node_modules/esbuild postinstall$ node install.js .../node_modules/simple-git-hooks postinstall: node:fs:1658 .../node_modules/simple-git-hooks postinstall: const stats = binding.stat( .../node_modules/simple-git-hooks postinstall: ^ .../node_modules/simple-git-hooks postinstall: Error: ENOENT: no such file or directory, stat '/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/package.json' .../node_modules/simple-git-hooks postinstall: at Object.statSync (node:fs:1658:25) .../node_modules/simple-git-hooks postinstall: at _getPackageJson (/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/node_modules/simple-git-hooks/simple-git-hooks.js:139:13) .../node_modules/simple-git-hooks postinstall: at checkSimpleGitHooksInDependencies (/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/node_modules/simple-git-hooks/simple-git-hooks.js:80:9) .../node_modules/simple-git-hooks postinstall: at postinstall (/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/node_modules/simple-git-hooks/postinstall.js:11:9) .../node_modules/simple-git-hooks postinstall: at Object.<anonymous> (/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/node_modules/simple-git-hooks/postinstall.js:19:1) .../node_modules/simple-git-hooks postinstall: at Module._compile (node:internal/modules/cjs/loader:1546:14) .../node_modules/simple-git-hooks postinstall: at Object..js (node:internal/modules/cjs/loader:1689:10) .../node_modules/simple-git-hooks postinstall: at Module.load (node:internal/modules/cjs/loader:1318:32) .../node_modules/simple-git-hooks postinstall: at Function._load (node:internal/modules/cjs/loader:1128:12) .../node_modules/simple-git-hooks postinstall: at TracingChannel.traceSync (node:diagnostics_channel:315:14) { .../node_modules/simple-git-hooks postinstall: errno: -2, .../node_modules/simple-git-hooks postinstall: code: 'ENOENT', .../node_modules/simple-git-hooks postinstall: syscall: 'stat', .../node_modules/simple-git-hooks postinstall: path: '/layers/heroku_nodejs-pnpm-install/virtual/store/simple-git-hooks@2.11.1/package.json' .../node_modules/simple-git-hooks postinstall: } .../node_modules/simple-git-hooks postinstall: Node.js v22.11.0 .../node_modules/simple-git-hooks postinstall: Failed ELIFECYCLE Command failed with exit code 1. .../esbuild@0.21.5/node_modules/esbuild postinstall: Done .../node_modules/vue-demi postinstall: Done .../esbuild@0.23.1/node_modules/esbuild postinstall: Done .../esbuild@0.20.2/node_modules/esbuild postinstall: Done [Error: pnpm install error]
There is a problem with cloud native buildpacks and
simple-git-hooks
: