Closed gobengo closed 2 years 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.
I was able to recreate this issue only against ipfs-utils, not ipfs-core. So I will open an issue/PR there.
The good news is I think I also have a patch for ipfs-utils that will fix it (based on npm link testing)
Hi, Any solution to this yet? Ran into same issue.
@callezenwaka For now, adding "skipLibCheck": true
to tsconfig compilerOptions worked for me.
As per https://github.com/ipfs/js-ipfs/issues/4029#issuecomment-1023028735
reopening to track ipfs-core upgrading to the fixed ipfs-utils@9.0.6 (if needed)
Version: 0.14.2
Platform: Darwin MacBook-Pro.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
Subsystem:
ipfs-core package
npm publish
happens, since the error referencesnode_modules/ipfs-utils/dist/src/files/glob-source.d.ts
Severity: High (library not usable in this context)
Description:
Note: this issue is similar to https://github.com/ipfs/js-ipfs/issues/4029 , but a different ts error so not the same
Steps to reproduce the error:
import * as IPFS from 'ipfs-core'
tsc build
I tried clonging js-ipfs repo myself to
npm link
and find a fix, butnpm install
on my m1 mac fails becausenpm ERR! response status 404 Not Found on https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
which is https://github.com/node-webrtc/node-webrtc/issues/680