- Notifications
You must be signed in to change notification settings - Fork1k
Commitf2ec4af
committed
chore: Bump node engine version
In the nix flake's devshell, we used `nodejs_20` (20.18.3).`vite@7.1.4` requires a newer node version (^20.19.0).This commit bumps the flake's node version to `nodejs_22`, andupdates the allowed engine versions in the sites package.json.```bash❯ make gengenerateok github.com/coder/coder/v2/coderd/database/gentest 0.649sok github.com/coder/coder/v2/cli 3.258sok github.com/coder/coder/v2/coderd 3.655sok github.com/coder/coder/v2/coderd/notifications 3.322sok github.com/coder/coder/v2/enterprise/cli 2.238sok github.com/coder/coder/v2/enterprise/tailnet 0.741sok github.com/coder/coder/v2/helm/coder/tests 2.891sok github.com/coder/coder/v2/helm/provisioner/tests 1.336sok github.com/coder/coder/v2/provisioner/terraform 0.755sok github.com/coder/coder/v2/tailnet 0.697s+ pnpm installLockfile is up to date, resolution step is skipped ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)Your Node version is incompatible with "vite@7.1.4(@types/node@20.17.16)(jiti@2.4.2)(yaml@2.7.0)".Expected version: ^20.19.0 || >=22.12.0Got: v20.18.3This is happening because the package's manifest has an engines.node field specified.To fix this issue, install the required Node version.make: *** [Makefile:416: site/node_modules/.installed] Error 1```1 parent6238937 commitf2ec4af
2 files changed
+2
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
198 |
| - | |
| 198 | + | |
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
|
0 commit comments
Comments
(0)