Skip to content

Insufficient setup guide #14

Open
Open
@Haegi

Description

@Haegi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions