I am using yarn v1.6.0 as a dependency manager, I have installed live-server globally by using the following command:
yarn global-add live-server
But when executed it like live server
, it is giving the following error:
'live-server' is not recognized as an internal or external command, operable program or batch file.
It is obvious my path is not configured Can some help which path should I use an environment variable?
node.js
is installed or not (if not: downloaded from internet)(command promt)node.js
go to command prompt type npm install -g live-server
(command promt).set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Get-ExecutionPolicy
.Get-ExecutionPolicy -list
.live-server
.problem solved.