You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything was working fine until we migrated project1 to [email protected].
After the migration, we get this error whenever we import something from vue-demi in the library:
11:00:16 [vite] Error when evaluating SSR module /@fs/Users/facundo.allemand/projects/traveler-frontend/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@getyourguide/compass/index.ts?v=e717953f:
TypeError: __vite_ssr_import_0__.defineComponent is not a function
at eval (/@fs/Users/facundo.allemand/projects/traveler-frontend/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@getyourguide/compass/components/c-button/c-button.vue:33:41)
at async instantiateModule (/Users/facundo.allemand/projects/traveler-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-971d9e33.js:56177:9)
This is the example content of the component producing the error:
I have a problem after migrating a project to
[email protected]
.Before the migration, this was the setup:
library:
[email protected]
project1:
[email protected]
project2:
[email protected]
Everything was working fine until we migrated project1 to
[email protected]
.After the migration, we get this error whenever we import something from
vue-demi
in thelibrary
:This is the example content of the component producing the error:
We have the
exclude: ["vue-demi"],
from the vite config, and we followed all the setup instructions.The text was updated successfully, but these errors were encountered: