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
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import vuex from "./vuex";
import './index.css'
import LoadScript from 'vue-plugin-load-script'
import { SlatePlugin } from 'slate-vue'
const app = createApp(App)
app.use(router)
app.use(LoadScript)
app.use(vuex)
app.use(SlatePlugin)
app.mount("#app")
Run dev vite
❯ npm run dev-nathan
> [email protected] dev-nathan
> > mongodb.log && mkdir -p mongodb && mongod --dbpath ./mongodb --logpath ./mongodb.log --config /usr/local/etc/mongod.conf --logRotate reopen & vite
Pre-bundling dependencies:
vue
vue-plugin-load-script
slate-vue
vuex
vue-router
(...and 11 more)
(this will be run only when your dependencies or config have changed)
> node_modules/vite/dist/node/chunks/dep-713b45e1.js:29682:7: error: [plugin: vite:dep-pre-bundle] Missing "./enable-check" export in "vue-tsx-support" package
29682 │ throw new Error(
╵ ^
at bail (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:29682:8)
at resolve$1 (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:29758:10)
at resolveExports (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:30261:12)
at resolveDeepImport (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:30277:26)
at tryNodeResolve (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:30019:11)
at Context.resolveId (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:29880:28)
at Object.resolveId (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:42340:55)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:68238:27
at async /Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:62832:34
node_modules/vite/dist/node/chunks/dep-713b45e1.js:62818:18: note: This error came from the "onResolve" callback registered here
62818 │ build.onResolve({ filter: /^[\w@][^:]/ }...
╵ ~~~~~~~~~
at setup (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:62818:19)
at handlePlugins (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:756:23)
at Object.buildOrServe (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1044:7)
at /Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1895:17
at new Promise (<anonymous>)
at Object.build (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1894:14)
at Object.build (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1749:51)
at optimizeDeps (/Users/norsegaud/project-flipflop/node_modules/vite/dist/node/chunks/dep-713b45e1.js:63070:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
node_modules/slate-vue/dist/index.es.js:1:6: note: The plugin "vite:dep-pre-bundle" was triggered by this import
1 │ import"vue-tsx-support/enable-check";import{componen...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error when starting dev server:
Error: Build failed with 1 error:
node_modules/vite/dist/node/chunks/dep-713b45e1.js:29682:7: error: [plugin: vite:dep-pre-bundle] Missing "./enable-check" export in "vue-tsx-support" package
at failureErrorWithLog (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1493:15)
at /Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1151:28
at runOnEndCallbacks (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:941:63)
at buildResponseToResult (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1149:7)
at /Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:1258:14
at /Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:629:9
at handleIncomingPacket (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:726:9)
at Socket.readFromStdout (/Users/norsegaud/project-flipflop/node_modules/esbuild/lib/main.js:596:7)
at Socket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:315:12)
The text was updated successfully, but these errors were encountered:
NorseGaud
changed the title
Failing in vue3/vite
Failing in vue3/vite | Missing "./enable-check" export in "vue-tsx-support" package
Nov 20, 2021
main.js
Run dev vite
The text was updated successfully, but these errors were encountered: