quirrel-dev / quirrel

The Task Queueing Solution for Serverless.
https://quirrel.dev
MIT License
885 stars 67 forks source link

add node 22 support. #1173

Open iulikdev opened 2 months ago

iulikdev commented 2 months ago

Current Behavior I cannot install Quirrel using node v.22

Input Code

◀️ pnpm i quirrel

 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

This error happened while installing a direct dependency of C:\dudu\charging

Your Node version is incompatible with "quirrel@1.14.1".

Expected version: 14 || 15 || 16 || 17 || 18 || 19 || 20 Got: v22.0.0

This is happening because the package's manifest has an engines.node field specified. To fix this issue, install the required Node version. Progress: resolved 15, reused 15, downloaded 0, added 0

Expected behavior/code installing quirrel (?)

Environment

Quirrel version:
Node/npm version: {"pnpm":"9.4.0","node":"v22.0.0"}

Possible Solution