Problem with npm run build carousel embla

jgrnrtTRIAL

a year ago

Hello,
i somehow cant run my npm run build in here. I've used to have a problem with the embla-carousel dependency in dev enviroment, but that somehow fixed itself.
But now its not working here?

0.635 > build
0.635 > tsc && vite build
0.635
11.79 node_modules/embla-carousel-react/esm/components/useEmblaCarousel.d.ts(9,39): error TS2307: Cannot find module 'embla-carousel/components/Options' or its corresponding type declarations.

It should load the dependency where the Options are defined.

Thank you

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

Archived

1 Replies

a year ago

Please make sure your folder and filename casing is the same locally and on github.


jgrnrtTRIAL

a year ago

This thread can be closed. Thank you for your response. I was able to fix the problem. I had to implement a missing type manually, which was not automatically imported from a dependency when I ran npm run build.

Status changed to Archived jgrnrt about 1 year ago


Problem with npm run build carousel embla - Railway Help Station