sfxcode / formkit-primevue

PrimeVue (v4, v3) support for the FormKit validation Framwork
https://sfxcode.github.io/formkit-primevue
MIT License
103 stars 9 forks source link

Bug: File '/node_modules/@sfxcode/formkit-primevue/dist/index.d.ts' is not a module. #39

Closed kswzr closed 6 months ago

kswzr commented 6 months ago

Hello,

when running vue-tsc over our code base we get the following error:

File '/app/node_modules/@sfxcode/formkit-primevue/dist/index.d.ts' is not a module.

The file is imported as:

import { primeInputs } from '@sfxcode/formkit-primevue';
TraceGroupJ commented 6 months ago

I have the same issue. Replicated with barebones new vite/vue project. I have tried 1.8.6 which does not have this issue in my environment, I can first replicate it at 1.9.0 getting the repo and npm run dev locally is fine. Perhaps the issue relates to switching to unbuild? Also when looking locally at the repo - the index.d.ts that is in the src folder reports many errors, again perhaps this is my environment.

sfxcode commented 6 months ago

Hi @kswzr , @TraceGroupJ ,

can you test again the latest version 1.9.8 ?

Thx,

Tom

TraceGroupJ commented 6 months ago

Hi Tom, Thanks for quick response, 1.9.8 is building & running ok for me now on barebones vite project.