vinejs / vine

VineJS is a form data validation library for Node.js
https://vinejs.dev
MIT License
1.06k stars 21 forks source link

"Cannot find module '@vinejs/vine/types' or its corresponding type declarations." #52

Open Ramank200 opened 4 months ago

Ramank200 commented 4 months ago

Package version

2.0.0

Describe the bug

getting error "Cannot find module '@vinejs/vine/types' or its corresponding type declarations." I'm installing my package using npm i @vinejs.vine , I was trying to import schematypes from @vinejs/vine/types

Reproduction repo

No response

RomainLanz commented 4 months ago

Hey @Ramanakablah! 👋🏻

What version of Node.js are you using, and in which project are you installing Vine.js?

Ramank200 commented 4 months ago

Node version is 20.12.2 and the project is a typescript project (Customer response management ) System.

On Mon, 13 May 2024 at 13:20, Romain Lanz @.***> wrote:

Hey @Ramanakablah https://github.com/Ramanakablah! 👋🏻

What version of Node.js are you using, and in which project are you installing Vine.js?

— Reply to this email directly, view it on GitHub https://github.com/vinejs/vine/issues/52#issuecomment-2106882569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6PQ34R7WC6UBVVD26YTCTZCBWEFAVCNFSM6AAAAABHP76ICOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWHA4DENJWHE . You are receiving this because you were mentioned.Message ID: @.***>

RomainLanz commented 3 months ago

Could you please ensure you have correctly set your tsconfig option?

Have a look at this issue: https://github.com/vinejs/vine/issues/3