plewin / tp-link-modem-router

Goodies for TP-Link modem routers
GNU General Public License v3.0
82 stars 17 forks source link

yarn error #27

Open chpins opened 1 year ago

chpins commented 1 year ago

Hi,

Problem to install :

cd tp-link-modem-router yarn install 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

Thanks

plewin commented 1 year ago

Hi,

It seems to me that the yarn command you have is not yarn, the package manager for nodejs.

You need yarn the package manager for nodejs to install this software.

Best regards,

lihas commented 1 year ago

I had installed incorrect yarn binary. So I removed it and installed the correct one. Here are the steps I followed.

  1. sudo apt remove cmdtest
  2. sudo apt install npm
  3. sudo npm install --global yarn

Now yarn install will work