cosmo
cosmo copied to clipboard
Make build fails with unsupported pnpm version
Getting below error when performing make build
pnpm install
ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)
Your pnpm version is incompatible with "/home/sumit/dev/repos/3p/cosmo".
Expected version: 8
Got: 9.10.0
This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.
To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".
make: *** [Makefile:59: dev-setup] Error 1
As per prerequisites pnpm >= 8.7.0 should work fine, however package.json pins the version to 8