ipfs / js-ipfs-utils

IPFS utils
Other
23 stars 30 forks source link

npm install failed #225

Closed yuanpli closed 1 year ago

yuanpli commented 1 year ago

Node Version: 16.15.1

Error:

Error: [web3.storage@4.4.0 › ipfs-car@0.7.0 › ipfs-utils@9.0.9 › node-fetch@https://registry.npmjs.org/@achingbrain/node-fetch/-/node-fetch-2.6.7.tgz] Invalid Package, expected node-fetch but found @achingbrain/node-fetch

image

Why add achingbrain/node-fetch as the dependency? It is a temporary fork of node-fetch. It will not be updated or maintained.

welcome[bot] commented 1 year ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

achingbrain commented 1 year ago

The fork has the fix from https://github.com/node-fetch/node-fetch/pull/1172 applied - as soon as that's released it can be removed and the regular node-fetch module used.

Please chime in on https://github.com/node-fetch/node-fetch/issues/1676 if you'd like to see that happen - it's out of our control.

achingbrain commented 1 year ago

Fixed by #244