Skip to content

Conversation

@bryantgillespie
Copy link
Collaborator

@bryantgillespie bryantgillespie commented Apr 22, 2025

Major update to the CLI that adds a new init command to create local Directus instances + with sample data and frontends.

@bryantgillespie bryantgillespie marked this pull request as ready for review April 24, 2025 15:41
@buti1021
Copy link

buti1021 commented May 7, 2025

When using nuxt I'm facing this issue when installing dependencies:


◓ Installing dependencies.. » Warning: Failed to install dependencies
» Error: Error: corepack pnpm install failed.
»
» C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22688
» throw new Error(Cannot find matching keyid: ${JSON.stringify({ signatures, keys })});
» ^
»
» Error: Cannot find matching keyid: {"signatures":[{"sig":"MEQCICN0DYf5CMgB9EG5d1WBA8kw83Ko1+aJItOTKA1xdSdlAiBOvmZjOKW3xzhfA4jyB/DgUSdbY68gzGtiyoVqfwwfAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"
» expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5Uo
» gKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
» at verifySignature (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22688:11)
» at fetchLatestStableVersion (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22706:5)
» at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
» at async fetchLatestStableVersion2 (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22826:14)
» at async Engine.getDefaultVersion (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23433:23)
» at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23525:47)
» at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24232:5)
»
» Node.js v22.1.0
»
» Context: {"dir":".","flags":{"frontend":"nuxt","gitInit":true,"installDeps":true,"template":"cms","overwriteDir":true},"function":"init"}
▲ Something went wrong

@bryantgillespie
Copy link
Collaborator Author

Looks like an issue with Corepack or pnpm.

Make sure you have pnpm installed as we use that instead of npm.

https://pnpm.io/installation

@buti1021
Copy link

buti1021 commented May 8, 2025

Pnpm is installed

@bryantgillespie
Copy link
Collaborator Author

Pnpm is installed

Okay got it. Then try enabling corepack as well before you run the command again.

corepack enable

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

Successfully merging this pull request may close these issues.

3 participants