-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[ipfs-http-client@52.0.2] Typescript compilation fails when package is imported #3839
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. |
Looks like This should be fixed by |
It works. Thanks a lot. 🚀 |
chore(cleanup): fix unfinished renaming chore(types): workaround ipfs-http-client problem ipfs/js-ipfs#3839 chore(types): added more types for the upload feature chore(upload): small code cleanup, do not throw on wrong file input chore(jest): switch to jest chore(ci): fix build chore(ci): fix caching on ci chore(uploader): tests, wip chore(cleanup): wrap up alpha version of image upload
I could not get workaround to work. Core error still exists. The import path is incorrect. Currently: Should be: |
Version:
"ipfs-http-client": "52.0.2",
Platform:
Ubuntu 20.04
Subsystem:
Typescript 4.3.5
Severity:
Critical - Comilation fails as soon as the package is imported.
Description:
So I checked the package in the
node_modules
, and there is indeed nodist
folder.Steps to reproduce the error:
Workaround
Add
postinstall
to the scripts in your npm package:The text was updated successfully, but these errors were encountered: