[Help]: Cannot find module 'embla-carousel/components/Options' or its corresponding type declarations. #726
-
SummaryI've installed 'shadcn/ui' in a Laravel Inertia + React environment and used it to set up 'embla-carousel-react'. However, after configuring, when I attempt a yarn build, I encounter an error. It seems there's an issue with a file within node_modules, and I'm unsure how to resolve this. Can you help? ` 9 var globalOptions: Partial<import("embla-carousel/components/Options").OptionsType> | undefined; Found 1 error in node_modules/embla-carousel-react/esm/components/useEmblaCarousel.d.ts:9 error Command failed with exit code 2. If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox exampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @khlee0620, Thank you for your question. Have you read this in the docs? It may be what you're looking for. Note Don't forget to switch to the You didn't share any information about package versions and your setup so I'm just guessing here. Best, |
Beta Was this translation helpful? Give feedback.
Hi @khlee0620,
Thank you for your question. Have you read this in the docs? It may be what you're looking for.
Note
Don't forget to switch to the
React
tab.You didn't share any information about package versions and your setup so I'm just guessing here.
Best,
David