‘json-server’ is not recognized as an internal or external command,
operable program or batch file.
json-server : The term 'json-server' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ json-server --watch src/data/db.json --port 4906030
+ CategoryInfo : ObjectNotFound: (json-server:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Just re-installed and it works now
Install via yarn did not work 🙁
use this instead
npm i json-server
npm install -g json-server