-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install vitest 0.27.1 #2678
Labels
Comments
I have the same thing with npm: $ npm i -D vitest
npm ERR! code 1
npm ERR! path /tmp/dsadsadas/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c -- node install.js
npm ERR! /tmp/dsadsadas/node_modules/esbuild/install.js:130
npm ERR! throw new Error(`Expected ${JSON.stringify("0.16.17")} but got ${JSON.stringify(stdout)}`);
npm ERR! ^
npm ERR!
npm ERR! Error: Expected "0.16.17" but got "0.17.0"
npm ERR! at validateBinaryVersion (/tmp/dsadsadas/node_modules/esbuild/install.js:130:11)
npm ERR! at /tmp/dsadsadas/node_modules/esbuild/install.js:281:5
npm ERR!
npm ERR! Node.js v18.13.0
npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin/.npm/_logs/2023-01-16T08_11_45_643Z-debug-0.log |
It feels like a esbuild issue, and not Vitest? Vitest doesn't even define esbuild version, Vite does. |
You are probably right, installed vite failed with the same error. |
But this also means that we cannot install vitest now. |
Found the solution here: evanw/esbuild#2865 export ESBUILD_BINARY_PATH=
npm i |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Cannot install latest vitest.
Reproduction
System Info
The text was updated successfully, but these errors were encountered: