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

Insufficient setup guide #14

Open
Haegi opened this issue Nov 12, 2020 · 0 comments
Open

Insufficient setup guide #14

Haegi opened this issue Nov 12, 2020 · 0 comments

Comments

@Haegi
Copy link

Haegi commented Nov 12, 2020

When trying to use the git-http-mock-server I am unable to start the server.
First I initialized my directory with npm init and provided it with some pseudo information.

{
  "name": "example",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "dependencies": {},
  "devDependencies": {
    "git-http-mock-server": "^2.0.0"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}

Then followed the README and installed the git-http-mock-server with:

npm install --save-dev git-http-mock-server

When executing git-http-mock-server it returns:

command not found: git-http-mock-server

Running it with npx fixes the problem but this is not documented in the README.

npx git-http-mock-server
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