isomorphic-git / isomorphic-git/git-http-mock-server

Insufficient setup guide

Offen
#14 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
21
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.
```json
{
"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:
```bash
npm install --save-dev git-http-mock-server
```

When executing `git-http-mock-server` it returns:
```bash
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
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.