-
Notifications
You must be signed in to change notification settings - Fork 88
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
Vue-CLI to Vite #478
Comments
✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "vue-cron-editor-buefy". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "vue-cron-editor-buefy". The package may have incorrect main/module/exports specified in its package.json.
node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40970:10:
40970 │ throw new Error(`Failed to resolve entry for package "${id}". ` +
╵ ^
at packageEntryFailure (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40970:11)
at resolvePackageEntry (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40966:9)
at tryNodeResolve (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40773:20)
at Context.resolveId (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40581:28)
at Object.resolveId (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39254:55)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async resolve (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39466:26)
at async /home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39626:34
at async callback (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:933:28)
at async handleRequest (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:713:30)
This error came from the "onResolve" callback registered here:
node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39616:18:
39616 │ build.onResolve({
╵ ~~~~~~~~~
at setup (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39616:19)
at handlePlugins (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:855:23)
at Object.buildOrServe (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1149:7)
at /home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:2110:17
at new Promise (<anonymous>)
at Object.build (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:2109:14)
at Object.build (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1956:51)
at /home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39414:54
at Array.map (<anonymous>)
at scanImports (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39414:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async discoverProjectDependencies (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:39855:31)
at async Timeout.warmUp [as _onTimeout] (/home/sano2/dkwork3/praeco-toVite/node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:50469:36)
The plugin "vite:dep-scan" was triggered by this import
script:/home/sano2/dkwork3/praeco-toVite/src/components/config/ConfigLimitExcecution.vue?id=0:2:31:
2 │ import VueCronEditorBuefy from 'vue-cron-editor-buefy';
╵ ~~~~~~~~~~~~~~~~~~~~~~~
ERROR Build failed with 1 error: 22:54:17
node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40970:10: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "vue-cron-editor-buefy". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "vue-cron-editor-buefy". The package may have incorrect main/module/exports specified in its package.json. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vite
https://ja.vitejs.dev/
Webpack to Vite
https://github.com/originjs/webpack-to-vite
https://dev.classmethod.jp/articles/vite-index-html-read-env-variables/
https://qiita.com/manak1/items/9f61d514980ab1ec2e19
The text was updated successfully, but these errors were encountered: