technikhil314 / asdf-pnpm Goto Github PK
View Code? Open in Web Editor NEWPnpm plugin for asdf version manager
Home Page: https://github.com/technikhil314/asdf-pnpm
License: MIT License
Pnpm plugin for asdf version manager
Home Page: https://github.com/technikhil314/asdf-pnpm
License: MIT License
asdf install pnpm latest
is failing with error utils.bash: line 59: echoerr: command not found
➜ asdf install pnpm latest
➜ asdf install pnpm latest
/Users/daniilpronin/.asdf/plugins/pnpm/lib/utils.bash: line 59: echoerr: command not found
cp: /Users/daniilpronin/.asdf/downloads/pnpm/7.1.7/pnpm-7.1.7: No such file or directory
chmod: /Users/daniilpronin/.asdf/installs/pnpm/7.1.7/bin/pnpm: No such file or directory
asdf-pnpm: Expected /Users/daniilpronin/.asdf/installs/pnpm/7.1.7/bin/pnpm to be executable.
asdf-pnpm: An error ocurred while installing pnpm 7.1.7.
Steps to reproduce
asdf plugin add pnpm https://github.com/technikhil314/asdf-pnpm.git
asdf install pnpm latest
Additional context
I use pnpm
installed with asdf
and I have this error:
$ 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.
@technikhil314 How can I fix it?
This is all information:
$ 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'
}
Best regards,
Stéphane
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.