google / schedviz

A tool for gathering and visualizing kernel scheduling traces on Linux machines
Apache License 2.0
519 stars 34 forks source link

yarn install is failing #12

Closed rakyll closed 4 years ago

rakyll commented 4 years ago

Following the setup instructions, I cloned the repo and cd'ed into the directory:

$ git clone https://github.com/google/schedviz.git
$ cd schedviz
$ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
sabarabc commented 4 years ago

I suspect the yarn program you have installed is actually part of cmdtest, not the JavaScript package manager. To fix, uninstall cmdtest and install yarn following the instructions for your OS here: https://www.yarnpkg.com/en/docs/install

rakyll commented 4 years ago

Sorry for confirming this late but yes, it was due to the wrong yarn.