Open danushk opened 3 years ago
I have following in my package.json.
` "scripts": {
"serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "json": "json-server --watch db.json --port 5000"
}, ` and when i run "npm run json" i get the output shown below in the screenshot
https://i.imgur.com/RQayaiw.png
But when accessed through the browser - i get the following - not accessible - connection refused.
screenshot is here
How to fix this ?
Any word on this? I'm getting the same issue.
I can open the json-server in brwoser . Then I want to use ngrok to conect the server, but it can't work.
I have following in my package.json.
`
"scripts": {
}, ` and when i run "npm run json" i get the output shown below in the screenshot
https://i.imgur.com/RQayaiw.png
But when accessed through the browser - i get the following - not accessible - connection refused.
screenshot is here
How to fix this ?