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
In our CI environment the following error occurs during vite build:
"Fragment" is not exported by "node_modules/@vueuse/core/node_modules/vue-demi/lib/index.mjs", imported by "node_modules/@vueuse/core/index.mjs".
file: /builds/.../node_modules/@vueuse/core/index.mjs:3:135
1: import { noop, makeDestructurable, toValue, isClient, tryOnScopeDispose, isIOS, tryOnMounted, computedWithControl, isObject, objectOmit, promiseT...
2: export * from '@vueuse/shared';
3: import { isRef, ref, shallowRef, watchEffect, computed, inject, isVue3, version, defineComponent, h, TransitionGroup, shallowReactive, Fragment, ...
^
4:
5: function computedAsync(evaluationCallback, initialState, optionsOrRef) {
error during build:
RollupError: "Fragment" is not exported by "node_modules/@vueuse/core/node_modules/vue-demi/lib/index.mjs", imported by "node_modules/@vueuse/core/index.mjs".
What seems odd to me is that the error message says it could not import from vue-demi/lib/index.mjs, but actually it should import from vue-demi/lib/v2.7/index.mjs.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Funnily enough, the problem is due to a misconfigured gitlab-ci cache. I wonder if the cause of this issue is related to #2972 and was cached at that moment and therefore occurred from then on.
I'm writing this in case anyone else has this problem too
Describe the bug
In our CI environment the following error occurs during
vite build
:What seems odd to me is that the error message says it could not import from
vue-demi/lib/index.mjs
, but actually it should import fromvue-demi/lib/v2.7/index.mjs
.Reproduction
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: