You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`import { useKatexCopy } from "${CLIENT_FOLDER}composables/katex.js";`,
);
setups.add(`useKatexCopy();`);
}
15:43:20 [vite] Pre-transform error: Failed to resolve import "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client/composables/katex.js" from "docs/.vuepress/.temp/md-enhance/config.js". Does the file exist?
15:43:21 [vite] Internal server error: Failed to resolve import "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client/composables/katex.js" from "docs/.vuepress/.temp/md-enhance/config.js". Does the file exist?
Plugin: vite:import-analysis
File: D:/workspace/VuePress/vuepress-solid-template/docs/.vuepress/.temp/md-enhance/config.js:9:31
7 | import "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/katex@0.16.10/node_modules/katex/dist/katex.min.css";
8 | import "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client/styles/katex.scss";
9 | import { useKatexCopy } from "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client/composables/katex.js";
| ^
10 | import Mermaid from "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client/components/Mermaid.js";
11 | import { injectMermaidConfig } from "D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vuepress-plugin-md-enhance@2.0.0-rc.35_katex@0.16.10_markdown-it@14.1.0_mermaid@10.9.0_typesc_ji4ahd6houioimezwo6cnvzy3u/node_modules/vuepress-plugin-md-enhance/lib/client//index.js";
at formatError (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50863:46)
at TransformContext.error (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNL at TransformContext.error (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50857:19)
at normalizeUrl (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66092:33)
at async file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66247:47
at async Promise.all (index 8)
at async TransformContext.transform (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66168:13)
at async Object.transform (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:51172:30)
at async loadAndTransform (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:53923:29)
at async viteTransformMiddleware (file:///D:/workspace/VuePress/vuepress-solid-template/node_modules/.pnpm/vite@5.2.8_@types+node@20.12.7/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:63775:32)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Package name
vuepress-plugin-md-enhance
Which operating system are you using?
Describe the bug
It appears that the name of the file has been changed. Cannot import
useKatexCopy
.vuepress-theme-hope/packages/md-enhance/src/node/prepare/prepareConfigFile.ts
Lines 112 to 117 in bda2f08
Additional context
No response
The text was updated successfully, but these errors were encountered: