Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

No declaration file found for module 'lemonsqueezy.ts' when import package: "lemonsqueezy.ts" #29

Closed
YesnielX opened this issue Sep 30, 2023 · 5 comments

Comments

@YesnielX
Copy link

Error when import package:

No declaration file found for module 'lemonsqueezy.ts'. '/home/xxxx/my-amazing-project/.pnpm/[email protected]/node_modules/lemonsqueezy.ts/dist/index.mjs' has an implicit form type "any".

There are types in '/home/xxxx/my-amazing-project/node_modules/lemonsqueezy.ts/dist/index.d.ts', but this result could not be resolved by respecting package.json "exports". The 'lemonsqueezy.ts' library may need to update its package.json or typings.

I use pnpm and the latest version of Node.js

@luyongfugx
Copy link

is your issues fixed ?

@YesnielX
Copy link
Author

is your issues fixed ?

Ohh yes, I have solved it

@0xd669
Copy link

0xd669 commented Dec 11, 2023

@YesnielX Excuse me, but how did you resolve it?

@adxmcollins
Copy link

@sunghyunzz I'm assuming they used something like patch-package.

The change that needs to be made is here: #33

@bar-lavie
Copy link

Still facing the same issue,

Next 14.2.1 (fresh install)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants