Yarn install Fails with the error 'Command failed with exit code 127.' I tried npm install and it works fine, I have yarn.lock and yarn install should work as expected.

1 Answer

There are some remains of nodemodules. This might be caused because of accidentally hitting npm install and stopping it in between, as this would create some incomplete nodemodules, this cause yarn install to fail with exit code 127.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy