Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use CNB buildpacks #189

Open
simar0at opened this issue Nov 11, 2024 · 0 comments
Open

Cannot use CNB buildpacks #189

simar0at opened this issue Nov 11, 2024 · 0 comments

Comments

@simar0at
Copy link
Contributor

There is a problem with cloud native buildpacks and simple-git-hooks:


.../[email protected]/node_modules/esbuild postinstall$ node install.js
.../node_modules/simple-git-hooks postinstall$ node ./postinstall.js
.../[email protected]/node_modules/esbuild postinstall$ node install.js
.../node_modules/vue-demi postinstall$ node -e "try{require('./scripts/postinstall.js')}catch(e){}"
.../[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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.
.../[email protected]/node_modules/esbuild postinstall: Done
.../node_modules/vue-demi postinstall: Done
.../[email protected]/node_modules/esbuild postinstall: Done
.../[email protected]/node_modules/esbuild postinstall: Done
[Error: pnpm install error]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant