[Error] json-server is not recognized as an internal or external command (ok)

https://stackoverflow.com/questions/55547572/json-server-is-not-recognized-as-an-internal-or-external-command

First, you need to check json-server installed globally or not. or you can install it globally by

npm install -g json-server
If you install it locally in your project, use npx to run it

npx json-server --watch db.json

Last updated

Was this helpful?