已经安装了JSON Server,但是显示消息Command Not Found [英] Already installed JSON Server But show message Command Not Found

查看:701
本文介绍了已经安装了JSON Server,但是显示消息Command Not Found的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过npm json服务器安装在其他计算机上了.但是在我的MacBook Pro上,命令已成功运行,当我执行命令json-server db.json时,显示以下消息:

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:

错误屏幕截图

我的版本:

节点-v和npm -v

推荐答案

我确实按照以下步骤进行了修复:

I did fix this following these steps:

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

这篇关于已经安装了JSON Server,但是显示消息Command Not Found的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆