The command line cannot be called directly after yarn global installation

< H1 > the command line cannot be called directly after global installation of yarn < / H1 > < H2 > Environment < / H2 >
  • Windows : Windows 10 LTSC
  • nodejs : v10.15.1
  • npm : 6.4.1
  • yarn : 1.13.0
  • git : 2.18.0.windows
< H2 > scene < / H2 >

when we use npm to globally install live-server , we can directly type live-server to start the http server.

   

Jun.27,2022
The global installation directory of
npm has been added to the environment variable path .
yarn has not been added to the environment variable path . To add it yourself, yarn global bin View the global installation directory and add it manually

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf1bc3-3a14b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf1bc3-3a14b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?