-
Notifications
You must be signed in to change notification settings - Fork 1
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
Could not find a declaration file for module 'files-from-path' #36
Comments
Similar problem:
|
This is also happening to me. I am attempting to use this in a Docker Image with Typescript. My package.json has I was able to get past this compilation error by doing ts-ignore EDIT: it seems that |
@mpoletiek @talentlessguy I was able to solve this temporarily by adding |
🙏 Will try that.... At least I can hopefully run build.
…On Thu, Jan 18, 2024, 16:56 magror ***@***.***> wrote:
@mpoletiek <https://github.com/mpoletiek> @talentlessguy
<https://github.com/talentlessguy> I was able to solve this by adding //
@ts-ignore above my import statement. It seems that this dependency does
not have typescript set up properly. (there is a types folder but clearly
it isn't connected or something)
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEU3KMSIWCYX6WJYG55SZZ3YPGSCBAVCNFSM6AAAAABBTCAMPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGM2DSOJWGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks, that worked for me. |
Seems like package.json is incorrectly formatted
exports
must also have atypes
field:https://github.com/web3-storage/files-from-path/blob/2398128eae1bf9e1963c63e9488ee0c81ba07487/package.json#L27-L32
The text was updated successfully, but these errors were encountered: