From ef6e138d87815cf3110c4a0d71c02c17ef50dfab Mon Sep 17 00:00:00 2001 From: Niklas P Date: Wed, 22 May 2024 12:31:17 +0200 Subject: [PATCH] Update pnpm version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When running `npm run dev` I get ```bash > dev > pnpm run -F frontend dev  ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version) Your pnpm version is incompatible with "/Users/no/code/inkathon". Expected version: 8 Got: 9.0.2 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". ``` adding a `>=` makes it runnable with 9.0.2 and i assume it is a safe alteration --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 02e745e..f73e7bb 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ], "engines": { "node": ">=18 <=20", - "pnpm": "8" + "pnpm": ">=8" }, "scripts": { "dev": "pnpm run -F frontend dev",