Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[提问]: 关于版本适配问题 #737

Open
ZERO-LOVER opened this issue Feb 20, 2025 · 0 comments
Open

[提问]: 关于版本适配问题 #737

ZERO-LOVER opened this issue Feb 20, 2025 · 0 comments
Labels

Comments

@ZERO-LOVER
Copy link

你好,我看现在vuepress-theme-vdoing最新版本是1.12.9,如果把vuepress1.x升到vuepress2.x,是不是主题插件就不能用了,不能版本匹配。我升级到vuepress2.0后,build会报错如下:

error TypeError: Cannot destructure property 'sourceDir' of 'ctx' as it is undefined.
at module.exports (E:\project\blog\node_modules.pnpm\[email protected]\node_modules\vuepress-theme-vdoing\index.js:19:11)
at file:///E:/project/blog/docs/.vuepress/config.ts.5254f4ed.mjs:20:10
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:246:24)
at async loadUserConfig (file:///E:/project/blog/node_modules/.pnpm/@vuepress[email protected]/node_modules/@vuepress/cli/dist/index.js:80:18)
at async CAC. (file:///E:/project/blog/node_modules/.pnpm/@vuepress[email protected]/node_modules/@vuepress/cli/dist/index.js:212:26)
 ELIFECYCLE  Command failed with exit code 1.

请博主帮忙解答下,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant