admin管理员组文章数量:1320822
I am a newbie to JSON so I am still figuring out what it's all about. In the course I am taking on YT, they use the command npx json-server -p 3500 -w data/db.json
in the terminal to install json server to the project. In theory this is supposed to allow me to get requests in the terminal as well when I refresh the localhost page. Is there a step I am missing?? Anything I still need to install? I have node.js and npm installed already.
This is my terminal window
I am trying to get something like this in which i can see the requests posted in the terminal at the very end.
I have tried installing globally and locally instead using npm
command instead of npx
, however not even that worked.
本文标签: reactjsTerminal not receiving JSONServer requests when npx jsonserver w dbjson is usedStack Overflow
版权声明:本文标题:reactjs - Terminal not receiving JSON-Server requests when npx json-server -w db.json is used - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742081969a2419754.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论