Skip to content
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

Open
5 tasks
nsano-rururu opened this issue Jul 23, 2022 · 3 comments
Open
5 tasks

Vue-CLI to Vite #478

nsano-rururu opened this issue Jul 23, 2022 · 3 comments
Assignees
Labels
help wanted Extra attention is needed task
Milestone

Comments

@nsano-rururu
Copy link
Collaborator

nsano-rururu commented Jul 23, 2022

Vite
https://ja.vitejs.dev/

Webpack to Vite
https://github.com/originjs/webpack-to-vite


@nsano-rururu nsano-rururu added this to the 1.8.12 milestone Jul 23, 2022
@nsano-rururu nsano-rururu self-assigned this Jul 23, 2022
@nsano-rururu nsano-rururu changed the title migrate vue-cli to vite Migrating From Vue-CLI to vite Jul 23, 2022
@nsano-rururu nsano-rururu removed this from the 1.8.12 milestone Aug 1, 2022
@nsano-rururu nsano-rururu removed their assignment Sep 26, 2022
@nsano-rururu nsano-rururu reopened this Oct 2, 2022
@nsano-rururu nsano-rururu added this to the 1.8.12 milestone Oct 2, 2022
@nsano-rururu nsano-rururu added the help wanted Extra attention is needed label Oct 2, 2022
@nsano-rururu nsano-rururu modified the milestones: 1.8.12, 1.8.13 Oct 11, 2022
@nsano-rururu nsano-rururu self-assigned this Oct 12, 2022
@nsano-rururu nsano-rururu removed this from the 1.8.13 milestone Oct 15, 2022
@nsano-rururu nsano-rururu modified the milestones: 1.8.14, 1.8.15 Oct 23, 2022
@nsano-rururu nsano-rururu modified the milestones: 1.8.15, 1.8.13, 1.8.x, 1.9.x Dec 11, 2022
@nsano-rururu nsano-rururu removed their assignment Dec 25, 2022
@nsano-rururu nsano-rururu self-assigned this Jan 15, 2023
@nsano-rururu nsano-rururu changed the title Migrating From Vue-CLI to vite Vue-CLI to vite Jul 9, 2023
@nsano-rururu nsano-rururu changed the title Vue-CLI to vite Vue-CLI to Vite Jul 10, 2023
@nsano-rururu nsano-rururu modified the milestones: 1.9.x, 1.8.x Jul 10, 2023
@nsano-rururu nsano-rururu removed the help wanted Extra attention is needed label Jul 10, 2023
@nsano-rururu nsano-rururu modified the milestones: 1.8.x, 1.9.x Jul 28, 2023
@nsano-rururu nsano-rururu modified the milestones: 1.9.x, 2.0.x, 2.x.x, 1.9.0 Aug 11, 2023
@nsano-rururu
Copy link
Collaborator Author

✘ [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.

@nsano-rururu
Copy link
Collaborator Author

✘ [ERROR] Could not resolve "./later-cov"

    node_modules/later/index.js:8:35:
      8 │ require(process.env['LATER_COV'] ? "./later-cov" : "./later");
        ╵                                    ~~~~~~~~~~~~~


 ERROR  23:01:52 [vite] error while updating dependencies:                                                                                                          23:01:52
Error: Build failed with 1 error:
node_modules/later/index.js:8:35: ERROR: Could not resolve "./later-cov"
    at failureErrorWithLog (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1624:15)
    at /home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1266:28
    at runOnEndCallbacks (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1046:63)
    at buildResponseToResult (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1264:7)
    at /home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:1377:14
    at /home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:678:9
    at handleIncomingPacket (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:775:9)
    at Socket.readFromStdout (/home/sano2/dkwork3/praeco-toVite/node_modules/esbuild/lib/main.js:644:7)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

@nsano-rururu nsano-rururu modified the milestones: 1.9.0, 2.x.x Aug 13, 2023
@nsano-rururu nsano-rururu added the help wanted Extra attention is needed label Aug 15, 2023
@nsano-rururu nsano-rururu removed their assignment Dec 1, 2023
@nsano-rururu nsano-rururu removed this from the 2.x.x milestone Dec 1, 2023
@nsano-rururu nsano-rururu reopened this Dec 26, 2023
@nsano-rururu nsano-rururu added this to the 2.0.0 milestone Dec 26, 2023
@nsano-rururu nsano-rururu modified the milestones: 2.0.0, 2.x.x Jan 3, 2024
@nsano-rururu nsano-rururu removed this from the 2.x.x milestone Apr 13, 2024
@nsano-rururu nsano-rururu self-assigned this Sep 22, 2024
@nsano-rururu nsano-rururu added this to the 2.x.x milestone Sep 22, 2024
@nsano-rururu nsano-rururu reopened this Sep 22, 2024
@nsano-rururu
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed task
Projects
None yet
Development

No branches or pull requests

1 participant