vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

in hot reloading, html.js file didn't generate

Open chenpengyu119 opened this issue 2 years ago • 0 comments

title: the vuepress is running, after upload a file, js file didn't generate. It alert "*.html.js" doesn't exist. detail is below

vuepress version:
vite v2.9.14 dev server running at:

error message:
16:05:18 [vite] Internal server error: Failed to resolve import "/opt/vuepress-test/docs/.vuepress/.temp/pages/c4289a4d-6408-4ef1-bc00-763ada7577f8.html.js" from "docs/.vuepress/.temp/internal/pagesData.js". Does the file exist? Plugin: vite:import-analysis File: /opt/vuepress-test/docs/.vuepress/.temp/internal/pagesData.js 483| "v-3706649a": () => import(/* webpackChunkName: "v-3706649a" /"/opt/vuepress-test/docs/.vuepress/.temp/pages/404.html.js").then(({ data }) => data), 484| // path: /c4289a4d-6408-4ef1-bc00-763ada7577f8.html 485| "v-4c736402": () => import(/ webpackChunkName: "v-4c736402" /"/opt/vuepress-test/docs/.vuepress/.temp/pages/c4289a4d-6408-4ef1-bc00-763ada7577f8.html.js").then(({ data }) => data), | ^ 486| // path: /898caf9f-14b7-41b5-b756-67f7b2e068ae.html 487| "v-769674ed": () => import(/ webpackChunkName: "v-769674ed" */"/opt/vuepress-test/docs/.vuepress/.temp/pages/898caf9f-14b7-41b5-b756-67f7b2e068ae.html.js").then(({ data }) => data), at formatError (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:39080:46) at TransformContext.error (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:39076:19) at normalizeUrl (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:58354:26) at async TransformContext.transform (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:58503:57) at async Object.transform (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:39317:30) at async doTransform (/opt/vuepress-test/node_modules/vite/dist/node/chunks/dep-c9998dc6.js:50037:29) 16:05:40 [vite] Internal server error: Failed to resolve import "/opt/vuepress-test/docs/.vuepress/.temp/pages/c4289a4d-6408-4ef1-bc00-763ada7577f8.html.js" from "docs/.vuepress/.temp/internal/pagesData.js". Does the file exist?

chenpengyu119 avatar Nov 29 '22 08:11 chenpengyu119