question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yarn install failing under linux

See original GitHub issue

Hey there, i am trying to build jaeger-ui but its failing with following errors : yarn install

warning Resolution field "lodash@4.17.11" is incompatible with requested version "lodash@^3.10.0"
warning Resolution field "lodash@4.17.11" is incompatible with requested version "lodash@^3.10.0"
warning Resolution field "parse5@4.0.0" is incompatible with requested version "parse5@^3.0.1"
success Already up-to-date.
$ lerna run --stream --sort prepublishOnly
lerna notice cli v3.13.0
lerna info versioning independent
lerna info Executing command in 1 package: "yarn run prepublishOnly"
00h00m00s 0/0: : @jaegertracing/plexus: ERROR: [Errno 2] No such file or directory: 'run'
lerna ERR! yarn run prepublishOnly exited 1 in '@jaegertracing/plexus'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

yarn build

yarn run v1.13.0
$ lerna run build
lerna notice cli v3.13.0
lerna info versioning independent
lerna info Executing command in 2 packages: "yarn run build"
00h00m00s 0/0: : lerna ERR! yarn run build exited 1 in '@jaegertracing/plexus'
lerna ERR! yarn run build stderr:
ERROR: [Errno 2] No such file or directory: 'run'

lerna ERR! yarn run build exited 1 in '@jaegertracing/plexus'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

am i doing something wrong?

ubuntu 16 node 8.10 yarn 1.13 npm 3.5.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RestfulBluecommented, May 10, 2019

I tried to build in this way:

cd packages/plexus/ && yarn install && yarn build && cd ../jaeger-ui/ && yarn install && yarn build

and everything works fine. But build still was failing when i execute yarn install from root. I reinstall yarn and everything works fine now. It looks like there was some strange bug with yarn 😦 Thanks for help and sorry for wasting your time

1reaction
tiffoncommented, May 4, 2019

Thank you for reporting this! We will look into it, ASAP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yarn install command error No such file or directory: 'install'
The reason for the No such file or directory error from yarn install is that you are not using the "correct" Yarn: the...
Read more >
npm install workd perfectly. yarn install fails. #8493 - GitHub
I'm having a the same issue on Debian Linux but only when using NodeJS Version > 14.x (i.e. 16+) I've successfully added yarn...
Read more >
yarn: command not found error [Solved] | bobbyhadz
To solve the error "yarn: command not found", install the yarn package globally by running npm install -g yarn and restart your terminal....
Read more >
Installation | Yarn
If you're getting errors from installing yarn , you may want to run sudo apt remove cmdtest first.
Read more >
Yarn install failing - Google Groups
Hi Lewatle, By searching that Yarn error on Google, I came across this suggestion from StackOverflow: https://stackoverflow.com/a/51508426 It notes that in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found