Vercel CLI always returns ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND

I installed the vercel CLI using the pnpm commands found in the docs. Now vercel always returns an error no mater what the command is.

$ vercel --version
 ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/Users/fmoor".

I’m new to the JS ecosystem so I’m probably holding this wrong :confused:

I would expect the --version, --help, etc. commands to work regardless of package.json or other files being present.

$ uname -rsp
Darwin 24.6.0 arm

$ pnpm --version
10.24.0

$ pnpm -g list | grep vercel
vercel 48.12.1

The AI answers fixed my problem. How do I mark this closed?

This was the AI answer:

It seems that there is not currently an option to mark the system AI response as the solution.

Am I the only person that can see the AI response?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.