$ pnpm install
Lockfile 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 "/@sveltejs/kit/[email protected]".
Expected version: >=16.7
Got: v14.19.2
This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.
$ cat .tool-versions 1
nodejs 16.15.1
pnpm 7.1.8
$ cat .npmrc
engine-strict=true
$ asdf info
OS:
Linux nuc-i7 5.17.12-300.fc36.x86_64 #1 SMP PREEMPT Mon May 30 16:56:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
zsh 5.8.1 (x86_64-redhat-linux-gnu)
ASDF VERSION:
v0.10.1-f8109e0
ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/home/stephane/.asdf
ASDF INSTALLED PLUGINS:
nodejs https://github.com/asdf-vm/asdf-nodejs.git master b2d06a7
pnpm https://github.com/technikhil314/asdf-pnpm.git main 56754d7
yarn https://github.com/twuni/asdf-yarn.git main 376c540
$ asdf current 127
nodejs 16.15.1 /poc-svelte-oauth-passport-gitlab/.tool-versions
pnpm 7.1.8 /poc-svelte-oauth-passport-gitlab/.tool-versions
yarn ______ No version is set. Run "asdf <global|shell|local> yarn <version>"
$ pnpm
Version 7.1.8 (compiled to binary; bundled Node.js v14.19.2)
$ pnpm version 1
{
'my-app': '0.0.1',
npm: '8.11.0',
node: '16.15.1',
v8: '9.4.146.24-node.21',
uv: '1.43.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.18.1',
modules: '93',
nghttp2: '1.47.0',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1o+quic',
cldr: '40.0',
icu: '70.1',
tz: '2021a3',
unicode: '14.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
}