-
Notifications
You must be signed in to change notification settings - Fork 30
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
TypeScript declarations broken in 9.0.4 #169
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Hello, I also have this same problem Waiting for a fix, until then will downgrade I guess. |
To which version we should downgrade.? |
I downgraded to 9.0.2 and it works fine. |
Bump, this is still an issue. node_modules/ipfs-utils/dist/src/files/glob-source.d.ts:10:14 - error TS2503: Cannot find namespace 'fs'. 10 content: fs.ReadStream | undefined; Found 1 error in node_modules/ipfs-utils/dist/src/files/glob-source.d.ts:10 A naive temporary solution is to patch the glob-source.d.ts file making it import fs. |
Hello,
after recent clean install of project dependencies (after removal of package-lock) we stumbled upon a build failure:
After examining the contents of that file, it looks like the
fs
has no reference. It worked in 9.0.2, so I downgraded and found that there's a missing part at the top:that causes the build to fail.
I'm not too sure what changed between the versions, but the downgrade definitely did the trick.
The text was updated successfully, but these errors were encountered: