vue.js Router 설정 후에 개발서버 띄우니 아래와 같은 에러 발생
WARNING in ./src/routes/Home.vue?vue&type=template&id=6f54a75b (./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[6].use[0]!./src/routes/Home.vue?vue&type=template&id=6f54a75b) 3:23-42
export 'createElementBlock' (imported as '_createElementBlock') was not found in 'vue' (possible exports: BaseTransition, Comment, Fragment, KeepAlive,
Static, Suspense, Teleport, Text, Transition, TransitionGroup, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineEmit, defineProps, devtools, getCurrentInstance, getTransitionRawChildreonActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onUnmounted, onUpdated, openBlock, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, transformVNodeArgs, triggerRef, unref, useContext, useCssModule, useCssVars, useSSRContext, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers, withScopeId)
@ ./src/routes/Home.vue?vue&type=template&id=6f54a75b 1:0-249 1:0-249
@ ./src/routes/Home.vue 1:0-65 3:16-22 13:64-15:3 14:29-35 13:2-15:4
@ ./src/routes/index.js 3:0-30 14:15-19
@ ./src/main.js 3:0-39 4:19-25
webpack 5.27.1 compiled with 2 warnings in 80 ms
페이지가 로드되지 않았다.
npm i vue@next 명령어 실행 후
npm run dev
다시 띄우니 정상
'개발일지 > 오늘의 에러' 카테고리의 다른 글
spring batch meta data schema table 없다고 나올때 (0) | 2023.07.11 |
---|---|
MacOS 특정포트의 프로세스 킬 (1) | 2023.05.17 |
스프링 부트 롬복 entity 관련에러: Caused by: org.hibernate.AnnotationException: No identifier specified for entity: XXXX.... (0) | 2022.04.24 |
스프링부트 롬복 환경설정 필요 - 롬복 maven은 추가했으나 이클립스에 getter setter 뜨지 않을 때 (0) | 2022.04.24 |
vue create 명령 수행 시 vue : 이 시스템에서 스크립트를 실행할 수 없으므로 $경로$ 파일을 로드 할 수 없습니다. 에러 처리 (0) | 2022.02.05 |