-
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
Error: Command failed when installing using yarn #2812
Comments
This is a sign that you have messed with esbuild’s installer using the |
Yeah, unsetting that variable made it work fine. Weird because there's nothing at that path for me. Will see if I can find why it was set. Thank you! |
It was set in I broke my package database a while back so it is possible that I had that package installed then. Removing that file and rebooting solves the issue for me |
fedora 37, never installed any kind of esbuild package via dnf (i consider this to be heresy), am just now getting this error after attempting to install never touched |
I have a Next.js-project with esbuild as a dependency to a package (not in package.json)
When I run
yarn
to install all dependencies, the esbuild install.js-script fails with the following output:I have tried removing the yarn.lock-file so that the latest version gets installed but that gives the same error.
It installs fine when using
npm install
in the same project.The text was updated successfully, but these errors were encountered: