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

Insufficient setup guide

Aperta
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
21
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.