acacode / acacode/swagger-typescript-api

`node-fetch-h2` not installed

Aperta
#518 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This package imports a dependency - `node-fetch-h2` - but it is not installed by this package, at least directly. This causes the import to fail for PNPM because of its strictness regarding access to subdependencies.

The error I see is this:

```
Error: Cannot find module 'node-fetch-h2'
```

The solution is either to use `node-fetch` instead (which **is** declared as a dependency) or include `node-fetch-h2` in the dependencies.

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.