typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
72.83k stars 7.02k forks source link

Logs not logging in terminal #1581

Open neldivad opened 3 months ago

neldivad commented 3 months ago
npx json-server --watch data/db.json --port 3500
$ npx json-server --watch data/db.json --port 3500
--watch/-w can be omitted, JSON Server 1+ watches for file changes by default
JSON Server started on PORT :3500
Press CTRL-C to stop
Watching data/db.json...

(˶ᵔ ᵕ ᵔ˶)

Index:
http://localhost:3500/

Static files:
Serving ./public directory if it exists

Endpoints:
http://localhost:3500/bruh
http://localhost:3500/items

Expect printed logs when URL is accessed or when update request is made, but terminal is silent.

Did not install npm -i json-server, using json-server out of box via npx.

Shub3am commented 3 months ago

just tested, facing same.

in fact, nothing is being printed on any flags whatsoever

Nivedhatest commented 2 months ago

Even i am facing the same issue thereby no log are getting captured. Screenshot 2024-07-31 191116

Kushagra-Gupta-2607 commented 2 months ago

Can i pick this up this issue?

bbelbuken commented 3 weeks ago

Anyone find any solution to this ?