Skip to content

node-fetch-h2 not installed #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
br0p0p opened this issue Apr 5, 2023 · 0 comments
Open

node-fetch-h2 not installed #518

br0p0p opened this issue Apr 5, 2023 · 0 comments

Comments

@br0p0p
Copy link

br0p0p commented Apr 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant