-
Notifications
You must be signed in to change notification settings - Fork 76
Vite throws error starting with @elevenlabs/client 1.x #638
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hey folks,
Didn't see this mentioned before and couldn't find an obvious breaking change for this in the package history, so wanted to share. Starting with the 1.x line of the client package, running my Vite dev server seems to error out over the imports of the package's barrel file. Does anyone know what changed to cause this error? Is there a fix required on my end?
Error when evaluating SSR module /src/routes/(app)/(authenticated)/(app)/chat/+page.svelte: Cannot find module '/Users/tjnickerson/Documents/GitHub/Nickersoft/hello-app/node_modules/@elevenlabs/client/dist/BaseConversation' imported from /Users/tjnickerson/Documents/GitHub/Nickersoft/hello-app/node_modules/@elevenlabs/client/dist/index.js
at finalizeResolution (node:internal/modules/esm/resolve:275:11)
at moduleResolve (node:internal/modules/esm/resolve:865:10)
at defaultResolve (node:internal/modules/esm/resolve:991:11)
at nextResolve (node:internal/modules/esm/hooks:785:28)
at o (file:///Users/tjnickerson/Documents/GitHub/Nickersoft/hello-app/node_modules/@tailwindcss/node/dist/esm-cache.loader.mjs:1:69)
at nextResolve (node:internal/modules/esm/hooks:785:28)
at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:269:30)
at MessagePort.handleMessage (node:internal/modules/esm/worker:251:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working