The*_*ght 2 windows cmd json-server
我已经在 Windows 中使用 npm 安装了 json-server 。现在,当我尝试从 Windows 命令提示符运行 json-server 命令时,出现以下错误: json-server is not recognized as an internal or external command, operable program or batch file.
json-server is not recognized as an internal or external command, operable program or batch file.
有人知道这里需要更改什么吗?
小智 6
试试这个(5.2.0之后的npm版本): npx json-server db.json
npx json-server db.json
归档时间:
7 年,4 月 前
查看次数:
11990 次
最近记录:
5 年,4 月 前