User configuration file not found, using default themeConfig.
User configuration file not found, using default themeConfig.
文章分页动态路由: []
分类动态路由: [ { params: { name: '随便说说' } } ]
标签动态路由: [ { params: { name: 'Hello' } } ]
x Build failed in 2.09s
✖ building client + server bundles...
build error:
[vite-plugin-pwa:build] Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs'
[vite-plugin-pwa:build] Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs'
Error: Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs'
ELIFECYCLE Command failed with exit code 1.
执行 pnpm dev 是正常的, 但 pnpm build 时输出如下 : 貌似是缺少了 .vitepress/theme/assets/toolsData.mjs 文件 ? 但目录里并没有这个文件怎么办呢
vitepress v1.4.0
User configuration file not found, using default themeConfig. User configuration file not found, using default themeConfig. 文章分页动态路由: [] 分类动态路由: [ { params: { name: '随便说说' } } ] 标签动态路由: [ { params: { name: 'Hello' } } ] x Build failed in 2.09s ✖ building client + server bundles... build error: [vite-plugin-pwa:build] Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs' [vite-plugin-pwa:build] Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs' Error: Could not load /root/docs/.vitepress/theme/assets/toolsData.mjs (imported by pages/tools.md): ENOENT: no such file or directory, open '/root/docs/.vitepress/theme/assets/toolsData.mjs' ELIFECYCLE Command failed with exit code 1.