acacode / acacode/swagger-typescript-api

`node-fetch-h2` not installed

Open
#518 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.