Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json-server should be a dev dependency #3

Open
Luke-McMahon opened this issue Apr 6, 2023 · 0 comments
Open

Json-server should be a dev dependency #3

Luke-McMahon opened this issue Apr 6, 2023 · 0 comments

Comments

@Luke-McMahon
Copy link

npm run server
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

> [email protected] server
> json-server -p3001 --watch db.json

'json-server' is not recognized as an internal or external command,
operable program or batch file.
npm install -D json-server
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

added 60 packages, and audited 1544 packages in 6s

240 packages are looking for funding
  run `npm fund` for details

7 high severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm run server
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

> [email protected] server
> json-server -p3001 --watch db.json


  \{^_^}/ hi!

  Loading db.json
  Oops, db.json doesn't seem to exist
  Creating db.json with some default data

  Done

  Resources
  http://localhost:3001/posts
  http://localhost:3001/comments
  http://localhost:3001/profile

  Home
  http://localhost:3001

  Type s + enter at any time to create a snapshot of the database
  Watching...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant