Search code examples
npmcommandinstallationjson-server

Already installed JSON Server But show message Command Not Found


I already installed in other computers by npm the json-server. But on my MacBook Pro the command was run with successful and when I will execute the command json-server db.json is showed the message:

Errors Screenshot enter image description here

My versions:

node -v and npm -v enter image description here


Solution

  • I did fix this following these steps:

    https://gist.github.com/rcugut/c7abd2a425bb65da3c61d8341cd4b02d