DEV Community

Discussion on: Create a React component library with Vite and Typescript

Collapse
 
yazankhatib profile image
Yazan Alkhatib

I'm trying to deploy the app which I'm using to import and test my package, it's building alright in development but when trying to deploy to Vercel or Netlify I'm getting the following error:

src/App.tsx(2,22): error TS2307: Cannot find module 'yaa-grid' or its corresponding type declarations.
error Command failed with exit code 2.

I'm expecting that it's something that has to do with the types file

Collapse
 
arthurseredaa profile image
Hey! I'm Arthur

I have same issue but in development(

Collapse
 
nicolaserny profile image
Nicolas Erny

I will investigate more when I have some time.
Perhaps, we need to upgrade some dependencies...