-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building after last update #63
Comments
Can't reproduce on my side, can you try a clean install or provide a minimal reproduction? Thanks |
For me it's the same error after upgrading to |
Can I have the content of |
Unfortunately I can not share the repo, since it belongs to the company I'm working for :( // vue-demi/lib/index.esm.mjs
import Vue from 'vue'
import VueCompositionAPI from '@vue/composition-api'
function install(_vue) {
_vue = _vue || Vue
if (_vue && !_vue['__composition_api_installed__'])
Vue.use(VueCompositionAPI)
}
install(Vue)
var isVue2 = true
var isVue3 = false
var Vue2 = Vue
var version = Vue.version
/**VCA-EXPORTS**/
export { computed, createApp, createRef, customRef, defineAsyncComponent, defineComponent, del, getCurrentInstance, h, inject, isRaw, isReactive, isReadonly, isRef, markRaw, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onServerPrefetch, onUnmounted, onUpdated, provide, proxyRefs, reactive, readonly, ref, set, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, useCSSModule, useCssModule, warn, watch, watchEffect } from '@vue/composition-api'
/**VCA-EXPORTS**/
export {
Vue,
Vue2,
isVue2,
isVue3,
version,
install,
} |
Still having the same error after update 0.8.1 error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs |
i m having the same issue on osx with node v15.14.0. |
FYI: this also relates to: vuejs/apollo#1190 |
0.9.0 released. Would need some help to confirm if it's a fix. Thanks! |
@antfu i m having @vueuse/core as a dependency so i could try that one specifically |
This seems to have fixed it for us |
@antfu 0.9.0 fixes the issue with vuejs/vue-apollo (vuejs/apollo#1190), thanks! |
Try this - vueuse/vueuse#718 (comment) it works for me |
Hi,
After the last update for version 0.8, i cannot run build on my app:
RROR Failed to compile with 42 errors7:36:04 PM
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'computed' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'createApp' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'customRef' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'defineComponent' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'del' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'getCurrentInstance' from non EcmaScript module (only default export is available)
error in ./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.esm.mjs
Can't reexport the named export 'h' from non EcmaScript module (only default export is available)
The text was updated successfully, but these errors were encountered: