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

Chapter 1: install with pnpm #1014

Open
jujax opened this issue Feb 28, 2025 · 0 comments
Open

Chapter 1: install with pnpm #1014

jujax opened this issue Feb 28, 2025 · 0 comments

Comments

@jujax
Copy link

jujax commented Feb 28, 2025

Hi,
I got this error when I try to install dashboard example with corepack enabled:
$ npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm
$ pnpm install

/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:21535
if (key == null || signature == null) throw new Error(Cannot find matching keyid: ${JSON.stringify({ signatures, keys })});
^

Error: Cannot find matching keyid: {"signatures":[...],"keys":[...}]}
at verifySignature (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
at fetchLatestStableVersion (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchLatestStableVersion2 (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
at async Engine.getDefaultVersion (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:22292:23)
at async Engine.executePackageManagerRequest (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:22390:47)
at async Object.runMain (/Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:23096:5)

Node.js v20.18.2

The only solution I found is to disable corepack with
$ corepack disable

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