tnfe / wp2vite Goto Github PK
View Code? Open in Web Editor NEW一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。
Home Page: https://tnfe.github.io/wp2vite/
License: MIT License
一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。
Home Page: https://tnfe.github.io/wp2vite/
License: MIT License
1.compareVersion('3.0.0','2.0.0')判断有问题
2.getProType判断版本有问题
prepareEnv 方法里面用checkVueVersion来判断env.isVue2是否为true,当前版本为3.0.0,即compareVersion('3.0.0','2.0.0')结果也是true,并且getProType方法判断当前项目当env.isVue2为true时,就判断当前项目为vue2了
管理端用的vue-antd-admin,成功启动后空白页面,入口index.html之前再根目录public下,安装完直接再根目录生成了一个新的index.html。尝试更改vite.config的base index.html文件所在位置未果,请问我该何去何从...
作者你好:
有两个问题想请教
这个项目是别人的开源项目,基于vue3 elementPlus webpack,用wp2vite转换成vite报错
原项目地址:https://gitee.com/lolicode/scui
[plugin:vite-plugin-importer] unknown: Support for the experimental syntax 'jsx' isn't currently enabled (27:3):
Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.
npm run dev
'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
[wp2vite-error]:为获取到配置文件,请用参数输入 --config
我的webpack配置文件夹不在根目录,在build文件夹下,执行命令出现:
[wp2vite-env]:开始分析项目属性
[wp2vite-env]:项目属性分析完成
[wp2vite-webpack]:未传递webpack配置文件路径
如何解决这个问题?
原本package.json内只有stylus-loader": "^3.0.2","vue-style-loader": "^4.1.2",转化完成后报错
Error: vue-loader requires @vue/compiler-sfc to be present in the dependency tree
我用wp2vite改造一个create-react-app后,package.json里面的script变成了这样
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"serve": "serve -s build",
"deploy": "gh-pages -d build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"dev": "NODE_ENV=development vite",
"vite-start": "NODE_ENV=development vite",
"preview": "vite preview",
"vite-build": "vite build"
},
里面的dev和vite-start有问题,应该把NODE_ENV=development删去吧,不太清楚为什么这里要写这么一句。
VUE3项目转化vite后,再次使用npm run dev启动后,页面加载显示这个报错
runtime-core.esm-bundler.js?5c40:217 Uncaught TypeError: Object(...) is not a function
at Proxy.render (App.vue?d78c:8:1)
at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710:1)
at componentEffect (runtime-core.esm-bundler.js?5c40:4193:1)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42:1)
at effect (reactivity.esm-bundler.js?a1e9:17:1)
at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176:1)
at mountComponent (runtime-core.esm-bundler.js?5c40:4134:1)
at processComponent (runtime-core.esm-bundler.js?5c40:4094:1)
at patch (runtime-core.esm-bundler.js?5c40:3712:1)
at render (runtime-core.esm-bundler.js?5c40:4794:1)
希望提供对craco.config.js 转换识别的支持
npm run vite-start,控制台出现warn:Unrestricted file system access to "/es6-promise"
打开浏览器看到http://localhost:3000/es6-promise 状态为404NotFound。
尝试修改vite.config.js
server: { fs: { allow: ['..', '/es6-promise'] } }
不过没有效果,想问下这个问题怎么解决
npm i -g wp2vite
cd your_workspace/your_project
wp2vite 报错:command not found
vnodes.push({(title)})遇到返回元素无法解析错误
vuetify 无法使用
需要在每个tsx文件声明import React from 'react',webpack构建时不需要。必须每个tsx文件都手动声明嘛
环境
问题复现:
在vue
项目下,安装wp2vite
后执行wp2vite init
,提示:
[wp2vite-start]:wp2vite认为是Vue项目
[wp2vite-proxy]:开始处理
[wp2vite-proxy]:无src/setupProxy.js配置文件,处理结束.
[wp2vite-error]:Cannot find module 'glob'
D:\works\suyuan\vue-vben-admin\node_modules.bin\cross-env.cmd NODE_ENV=development vite
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/components/SvgIcon/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/icons/index.js:2:20: note: The plugin "vite:dep-scan" was triggered by this import
2 │ import SvgIcon from '@/components/SvgIcon/index.vue'
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/components/SvgIcon/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/icons/index.js:2:20: note: The plugin "vite:dep-scan" was triggered by this import
2 │ import SvgIcon from '@/components/SvgIcon/index.vue'
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/error-page/401.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:100:28: note: The plugin "vite:dep-scan" was triggered by this import
100 │ component: () => import('@/views/error-page/401.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/batch/SendList.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:333:32: note: The plugin "vite:dep-scan" was triggered by this import
333 │ component: () => import('@/views/code/batch/SendList.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/batch/CodeDetails.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:251:32: note: The plugin "vite:dep-scan" was triggered by this import
251 │ component: () => import('@/views/code/batch/CodeDetails.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/writeoff/List.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:398:32: note: The plugin "vite:dep-scan" was triggered by this import
398 │ component: () => import('@/views/writeoff/List.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/error-page/404.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:95:28: note: The plugin "vite:dep-scan" was triggered by this import
95 │ component: () => import('@/views/error-page/404.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/category.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:191:32: note: The plugin "vite:dep-scan" was triggered by this import
191 │ component: () => import('@/views/product/category.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/layout/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:7:19: note: The plugin "vite:dep-scan" was triggered by this import
7 │ import Layout from '@/layout/index.vue'
╵ ~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/genuine.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:284:32: note: The plugin "vite:dep-scan" was triggered by this import
284 │ component: () => import('@/views/statistics/genuine.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/redirect/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:79:32: note: The plugin "vite:dep-scan" was triggered by this import
79 │ component: () => import('@/views/redirect/index.vue')
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/box/List.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:309:32: note: The plugin "vite:dep-scan" was triggered by this import
309 │ component: () => import('@/views/box/List.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/login/Login.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:64:28: note: The plugin "vite:dep-scan" was triggered by this import
64 │ component: () => import('@/views/login/Login.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/login/admin/Login.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:69:28: note: The plugin "vite:dep-scan" was triggered by this import
69 │ component: () => import('@/views/login/admin/Login.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/BatchManage.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:245:32: note: The plugin "vite:dep-scan" was triggered by this import
245 │ component: () => import('@/views/code/BatchManage.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/Home.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:52:32: note: The plugin "vite:dep-scan" was triggered by this import
52 │ component: () => import('@/views/Home.vue'),
╵ ~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/add.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:178:32: note: The plugin "vite:dep-scan" was triggered by this import
178 │ component: () => import('@/views/product/add.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/list.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:172:32: note: The plugin "vite:dep-scan" was triggered by this import
172 │ component: () => import('@/views/product/list.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/AddCategory.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:201:32: note: The plugin "vite:dep-scan" was triggered by this import
201 │ component: () => import('@/views/product/AddCategory.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/point/List.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:358:32: note: The plugin "vite:dep-scan" was triggered by this import
358 │ component: () => import('@/views/point/List.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: [plugin: vite:dep-scan] error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/code-apply/CodeApplyList.vue'
44968 │ let raw = fs__default.ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/error-page/401.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^readFileSync(path, 'utf-8');
╵
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
note: node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: This error came from the "onLoad" callback registered here
note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad 44967 │ build.({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ onLoad~~~~~~({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
src/router/index.js:239:32:
note: src/router/index.js:100:28: The plugin "vite:dep-scan" was triggered by this import
note: The plugin "vite:dep-scan" was triggered by this import
239 │ component: () => import('@/views/code/code-apply/CodeApplyList.vue' 100 │ component: () => import(),
╵ '@/views/error-page/401.vue'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: [plugin: vite:dep-scan] error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/ad/ad.vue'
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/redirect/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:79:32: note: 534 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/ad/ad.vue'),
╵ 79 │ component: () => import(~~~~~~~~~~~~~~~~~~~'@/views/redirect/index.vue'
)
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/total.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/layout/index.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:7:19: note: 278 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/statistics/total.vue'),
╵ 7 │ import Layout from ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/layout/index.vue'
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/article/category.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/Home.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:52:32: note: 510 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/article/category.vue'),
╵ 52 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/Home.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/enterprise/list.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/genuine.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:284:32: note: 440 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/enterprise/list.vue'),
╵ 284 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/statistics/genuine.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/logout/logout.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/counterfeit.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:290:32: note: 580 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/logout/logout.vue'),
╵ 290 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/statistics/counterfeit.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/code-apply/DoneDetails.vue'
[plugin: vite:dep-scan] 44968 │ let raw = fs__default.ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/CodeManage.vue'
readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:233:32: note: 256 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/code/code-apply/DoneDetails.vue'),
╵ 233 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/code/CodeManage.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/CertifyResultList.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/category.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:191:32: note: 272 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/code/CertifyResultList.vue'),
╵ 191 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/product/category.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/user/FansList.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/list.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:172:32: note: 470 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/user/FansList.vue'),
╵ 172 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/product/list.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/user/user.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/total.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:278:32: note: 480 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/user/user.vue'),
╵ 278 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~'@/views/statistics/total.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/system/daemon.vue'
[plugin: vite:dep-scan] 44968 │ let raw = fs__default.ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/AddCategory.vue'
readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:201:32: note: 549 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/system/daemon.vue'),
╵ 201 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/product/AddCategory.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/statistics/counterfeit.vue'
[plugin: vite:dep-scan] 44968 │ let raw = fs__default.ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/BatchManage.vue'
readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:245:32: note: 290 │ component: () => import(The plugin "vite:dep-scan" was triggered by this import
'@/views/statistics/counterfeit.vue'),
╵ 245 │ component: () => import(~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'@/views/code/BatchManage.vue'
),
╵
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error: [plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/express/ExpressList.vue'
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/product/add.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ 44968 │ let raw = fs__default.^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵
^ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
note:
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44967 │ build.This error came from the "onLoad" callback registered here
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 44967 │ build.~~~~~~onLoad
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:178:32: 339 │ component: () => import(note: '@/views/express/ExpressList.vue'The plugin "vite:dep-scan" was triggered by this import
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 │ component: () => import(
'@/views/product/add.vue'
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~ > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error:
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/backup/backup.vue'
> node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: 44968 │ let raw = fs__default.[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/login/Login.vue'
readFileSync(path, 'utf-8');
╵ ^ 44968 │ let raw = fs__default.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ^note:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44967 │ build.note: onLoadThis error came from the "onLoad" callback registered here
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~ 44967 │ build.
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ src/router/index.js:540:32: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:64:28: 540 │ component: () => import(note: '@/views/backup/backup.vue'The plugin "vite:dep-scan" was triggered by this import
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 │ component: () => import(
'@/views/login/Login.vue'
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~ > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error:
[plugin: vite:dep-scan] > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/enterprise/employee.vue'
error: [plugin: vite:dep-scan] 44968 │ let raw = fs__default.ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/error-page/404.vue'
readFileSync(path, 'utf-8');
╵ ^ 44968 │ let raw = fs__default.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
readFileSync(path, 'utf-8');
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ^note:
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
This error came from the "onLoad" callback registered here
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44967 │ build.note: onLoadThis error came from the "onLoad" callback registered here
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~ 44967 │ build.
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ src/router/index.js:452:32: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
The plugin "vite:dep-scan" was triggered by this import
src/router/index.js:95:28: 452 │ component: () => import(note: '@/views/enterprise/employee.vue'The plugin "vite:dep-scan" was triggered by this import
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 │ component: () => import(
'@/views/error-page/404.vue'
),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38:
error:
[plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/system/system-update.vue'
> node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: 44968 │ let raw = fs__default.error: [plugin: vite:dep-scan] readFileSync(path, 'utf-8');
╵ ^ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/CertifyResultList.vue'
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
44968 │ let raw = fs__default. node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: readFileSync(path, 'utf-8');
╵ This error came from the "onLoad" callback registered here
^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
44967 │ build.
onLoad node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ note: ~~~~~~This error came from the "onLoad" callback registered here
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
44967 │ build. src/router/index.js:558:32: onLoadnote: ({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ The plugin "vite:dep-scan" was triggered by this import
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
558 │ component: () => import(
'@/views/system/system-update.vue' src/router/index.js:272:32: ),
╵ note: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The plugin "vite:dep-scan" was triggered by this import
272 │ component: () => import( > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: '@/views/code/CertifyResultList.vue'error: ),
╵ [plugin: vite:dep-scan] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/CodeManage.vue'
44968 │ let raw = fs__default. > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: readFileSync(path, 'utf-8');
╵ [plugin: vite:dep-scan] ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/code-apply/DoneDetails.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44968 │ let raw = fs__default.note: This error came from the "onLoad" callback registered here
readFileSync(path, 'utf-8');
╵ ^ 44967 │ build.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
This error came from the "onLoad" callback registered here
src/router/index.js:233:32: 44967 │ build.note: onLoadThe plugin "vite:dep-scan" was triggered by this import
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~ 233 │ component: () => import(
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
'@/views/code/CodeManage.vue'
),
╵ src/router/index.js:256:32: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note:
The plugin "vite:dep-scan" was triggered by this import
256 │ component: () => import( > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: '@/views/code/code-apply/DoneDetails.vue'error: ),
╵ [plugin: vite:dep-scan] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/set/set.vue'
44968 │ let raw = fs__default. > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: readFileSync(path, 'utf-8');
╵ [plugin: vite:dep-scan] ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/point/List.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44968 │ let raw = fs__default.note: This error came from the "onLoad" callback registered here
readFileSync(path, 'utf-8');
╵ ^ 44967 │ build.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
This error came from the "onLoad" callback registered here
src/router/index.js:528:32: 44967 │ build.note: onLoadThe plugin "vite:dep-scan" was triggered by this import
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~ 528 │ component: () => import(
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise ()
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map ()
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
'@/views/set/set.vue'
),
╵ src/router/index.js:358:32: ~~~~~~~~~~~~~~~~~~~~~note:
The plugin "vite:dep-scan" was triggered by this import
358 │ component: () => import( > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: '@/views/point/List.vue'error: ),
╵ [plugin: vite:dep-scan] ~~~~~~~~~~~~~~~~~~~~~~~~
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/writeoff/statictics/index.vue'
44968 │ let raw = fs__default. > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: readFileSync(path, 'utf-8');
╵ error: ^[plugin: vite:dep-scan]
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/login/admin/Login.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: 44968 │ let raw = fs__default.This error came from the "onLoad" callback registered here
readFileSync(path, 'utf-8');
╵ 44967 │ build.^onLoad
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
note:
This error came from the "onLoad" callback registered here
src/router/index.js:404:32: note: 44967 │ build.The plugin "vite:dep-scan" was triggered by this import
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 404 │ component: () => import(~~~~~~'@/views/writeoff/statictics/index.vue'
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
),
╵
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/router/index.js:69:28:
note:
The plugin "vite:dep-scan" was triggered by this import
> node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: 69 │ component: () => import(error: '@/views/login/admin/Login.vue'[plugin: vite:dep-scan] ),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/enterprise/my-enterprise/list.vue'
44968 │ let raw = fs__default. > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: readFileSync(path, 'utf-8');
╵ [plugin: vite:dep-scan] ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/enterprise/list.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44968 │ let raw = fs__default.note: This error came from the "onLoad" callback registered here
readFileSync(path, 'utf-8');
╵ ^ 44967 │ build.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
This error came from the "onLoad" callback registered here
src/router/index.js:446:32: note: 44967 │ build.The plugin "vite:dep-scan" was triggered by this import
onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ 446 │ component: () => import(~~~~~~'@/views/enterprise/my-enterprise/list.vue'
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
),
╵
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/router/index.js:440:32:
note:
The plugin "vite:dep-scan" was triggered by this import
> node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: 440 │ component: () => import(error: '@/views/enterprise/list.vue'[plugin: vite:dep-scan] ),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/article/article.vue'
44968 │ let raw = fs__default. > node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: readFileSync(path, 'utf-8');
╵ [plugin: vite:dep-scan] ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/batch/CodeDetails.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: 44968 │ let raw = fs__default.note: This error came from the "onLoad" callback registered here
readFileSync(path, 'utf-8');
╵ ^ 44967 │ build.
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
onLoad
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: ~~~~~~note:
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
This error came from the "onLoad" callback registered here
src/router/index.js:504:32: 44967 │ build.note: onLoadThe plugin "vite:dep-scan" was triggered by this import
({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ ~~~~~~ 504 │ component: () => import(
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
'@/views/article/article.vue'
),
╵ src/router/index.js:251:32: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note:
The plugin "vite:dep-scan" was triggered by this import
251 │ component: () => import('@/views/code/batch/CodeDetails.vue'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/code/code-apply/CodeApplyList.vue'
44968 │ let raw = fs__default.readFileSync(path, 'utf-8');
╵ ^
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44968:39
at callback (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:869:34)
at handleRequest (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:652:36)
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:699:7)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44967:18: note: This error came from the "onLoad" callback registered here
44967 │ build.onLoad({ filter: htmlTypesRE, namespace: 'html' }, async ({ path }) => {
╵ error when starting dev server:
Error: Build failed with 40 errors:
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/components/SvgIcon/index.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/layout/index.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/Home.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/ad/ad.vue'
node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:44968:38: error: [plugin: vite:dep-scan] ENOENT: no such file or directory, open '/works/suyuan-gz/suyuan-front/.src/views/article/article.vue'
...
at failureErrorWithLog (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1449:15)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1131:28
at runOnEndCallbacks (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:921:63)
at buildResponseToResult (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1129:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1236:14
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:609:9
at handleIncomingPacket (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:706:9)
at Socket.readFromStdout (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314: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)
at setup (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44967:19)
at handlePlugins (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:736:23)
at Object.buildOrServe (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1024:7)
at D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1748:17
at new Promise (<anonymous>)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1747:14)
at Object.build (D:\works\suyuan-gz\suyuan-front\node_modules\esbuild\lib\main.js:1623:51)
at D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:54
at Array.map (<anonymous>)
at scanImports (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:44896:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async optimizeDeps (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:66514:30)
at async runOptimize (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70343:48)
at async Server.httpServer.listen (D:\works\suyuan-gz\suyuan-front\node_modules\vite\dist\node\chunks\dep-0ed4fbc0.js:70357:17)
初始化的时候提示的错误e is not a function
使用的是react-app-rewired
script-loader!
worker-loader!
[wp2vite版本] : wp2vite/2.0.1 win32-x64 node-v12.18.2
[项目demo]: ant-design Pro 版 https://github.com/vueComponent/ant-design-vue-pro.git
[报错信息]:
$ npm run dev
[email protected] dev ******\ant-design-vue-pro
vite
failed to load config from \ant-design-vue-pro\vite.config.js
error when starting dev server:
TypeError: (0 , import_vite_plugin_importer.usePluginImport) is not a function
at vite_config_default (\ant-design-vue-pro\vite.config.js:81:55)
at loadConfigFromFile (\ant-design-vue-pro\node_modules\vite\dist\node\chunks\dep-c1a9de64.js:75511:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async resolveConfig (\ant-design-vue-pro\node_modules\vite\dist\node\chunks\dep-c1a9de64.js:75096:28)
at async createServer (\ant-design-vue-pro\node_modules\vite\dist\node\chunks\dep-c1a9de64.js:73625:20)
at async CAC. (\ant-design-vue-pro\node_modules\vite\dist\node\cli.js:13963:24)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: vite
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! ******\AppData\Roaming\npm-cache_logs\2021-08-11T06_22_05_914Z-debug.log
vue.config.js entry 与 proxy内环境变量无法读取
想把项目改成vite的,解决了一堆报错,终于运行起来了。可是最后还是不行。感觉应该是 dev server 的问题。
http://localhost:8080/
{
"code": 404,
"data": null,
"message": "Not Found"
}
vite.config.js
/* eslint-disable */
import { viteExternalsPlugin } from 'vite-plugin-externals'
import * as path from 'path'
import { createVuePlugin } from 'vite-plugin-vue2'
// @see https://cn.vitejs.dev/config/
export default ({ command, mode }) => {
let rollupOptions = {}
let optimizeDeps = {}
let alias = {
node_modules: path.resolve(__dirname, './node_modules'),
public: path.resolve(__dirname, './public'),
src: path.resolve(__dirname, 'src'), // 这里改动了
'@': path.resolve(__dirname, 'src'), // 这里改动了
vue$: 'vue/dist/vue.runtime.esm-bundler.js'
}
let proxy = {
'/node': {
ws: false,
target: 'http://121.41.5.6:8812',
changOrigin: true,
pathRewrite: {
'^/node': ''
}
},
'/': {
ws: false,
target: 'http://121.41.5.6:9090',
changOrigin: true,
pathRewrite: {
'^/': ''
}
}
}
// todo 替换为原有变量
let define = {
'process.env.NODE_ENV': command === 'serve' ? '"development"' : '"production"',
'process.env.VUE_APP_BASE_API': '""'
}
let esbuild = {}
return {
base: './', // index.html文件所在位置
root: './', // js导入的资源路径,src
resolve: {
extensions: ['.js', '.json', '.mjs'],
alias
},
define: define,
server: {
// https: true,
host: '0.0.0.0',
port: 8080,
// 代理
proxy
},
build: {
target: 'es2015',
minify: 'terser', // 是否进行压缩,boolean | 'terser' | 'esbuild',默认使用terser
manifest: false, // 是否产出maifest.json
sourcemap: false, // 是否产出soucemap.json
outDir: 'build', // 产出目录
rollupOptions
},
esbuild,
optimizeDeps,
plugins: [
createVuePlugin(),
viteExternalsPlugin({
lodash: '_',
echarts: 'echarts',
ssh2: 'ssh2'
})
],
css: {
preprocessorOptions: {
less: {
// 支持内联 JavaScript
javascriptEnabled: true
}
}
}
}
}
(!) "base" option should end with a slash.
src/test.js:3:4: error: Unexpected "<"
3 │test ..... demo....
╵ ^
error when starting dev server:
Error: Build failed with 1 error:
src/test.js:3:4: error: Unexpected "<"
at failureErrorWithLog (/Documents/code/login/node_modules/esbuild/lib/main.js:1224:15)
[wp2vite-start]:wp2vite认为是Vue项目 [wp2vite-error]:The "path" argument must be of type string. Received undefined
请问这个怎么解决?
希望能支持umi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.