typicode / json-server

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

I have a problem opening Json-server --watch.db.json #1537

Open fatush254 opened 5 months ago

fatush254 commented 5 months ago

It's giving me this ;Syntax Error: unexpected token '||='

textbook commented 5 months ago

You're apparently using Node 14 or earlier, which is out of support generally and not supported by json-server (post v0) specifically: https://node.green/#ES2021-features-Logical-Assignment

fatush254 commented 2 months ago

Okay

fatush254 commented 2 months ago

How do I get node version 20