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

ERR_PNPM_PREPARE_PKG_FAILURE #19

Open
mcorbelli opened this issue Aug 12, 2022 · 0 comments
Open

ERR_PNPM_PREPARE_PKG_FAILURE #19

mcorbelli opened this issue Aug 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mcorbelli
Copy link

I installed the buildpack on heroku, activated via corepack pnpm and then did a deployment test. The error message I get is the classic ERR_PNPM_PREPARE_PKG_FAILURE.

Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /app/.local/share/pnpm/store/v3
Virtual store is at: node_modules/.pnpm
 ERR_PNPM_PREPARE_PKG_FAILURE  Command failed with exit code 1: pnpm install
Progress: resolved 275, reused 273, downloaded 0, added 0

Steps to reproduce the behavior:

  1. Set up your buildpack from the heroku dashboard and removed the default buildpack
  2. Activated pnpm via corepack (corepack enable => corepack prepare pnpm@ --activate)
  3. Deploy nodejs server (also installing dependencies by hand via install command)
  • Heroku Stack: heroku-22
  • Node Version: 18.7.0
  • NPM or Yarn Version: Yarn 1.22.19, Npm: 8.15.0]
  • Buildpack Version: heroku-buildpack-pnpm
@mcorbelli mcorbelli added the bug Something isn't working label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant