NuroDev / lemonsqueezy.ts

🍋 JavaScript / TypeScript SDK for the Lemon Squeezy API
https://paka.dev/npm/lemonsqueezy.ts
MIT License
159 stars 16 forks source link

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

Closed YesnielX closed 11 months ago

YesnielX commented 11 months ago

Error when import package:

No declaration file found for module 'lemonsqueezy.ts'. '/home/xxxx/my-amazing-project/.pnpm/lemonsqueezy.ts@0.1.7/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 commented 11 months ago

is your issues fixed ?

YesnielX commented 11 months ago

is your issues fixed ?

Ohh yes, I have solved it

0xd669 commented 9 months ago

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

adxmcollins commented 8 months ago

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

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

bar-lavie commented 4 months ago

Still facing the same issue,

Next 14.2.1 (fresh install)