umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.61k stars 1.18k forks source link

fix: preset-vue #2143

Closed jeffwcx closed 4 months ago

jeffwcx commented 5 months ago

🤔 这个变动的性质是?/ What is the nature of this change?

🔗 相关 Issue / Related Issue

2141

💡 需求背景和解决方案 / Background or solution

mfsu: {
 shared: {
   ...msfuConfig.shared,
   vue: { singleton: true },
 },
},

@PeachScript @Jinbao1001

📝 更新日志 / Changelog

Language Changelog
🇺🇸 English fix preset-vue
🇨🇳 Chinese 修复preset-vue
vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dumi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 4:35pm
Jinbao1001 commented 5 months ago

+1

lifegit commented 3 months ago

+1, currently still exists.

fatal - TypeError: Cannot read properties of undefined (reading 'directory') at Hook.fn (/ui-pro/node_modules/.pnpm/@dumijs+preset-vue@2.3.0dumi@2.4.7@babel+core@7.24.7@swc+helpers@0.5.1@types+node@20.5.1__s4uoca4yeixx4ez3l74iass7zu/node_modules/@dumijs/preset-vue/dist/common.js:42:91) at /ui-pro/node_modules/.pnpm/@umijs+core@4.3.10/node_modules/@umijs/core/dist/service/service.js:136:38 at _next10 (eval at create (/ui-pro/node_modules/.pnpm/@umijs+bundler-utils@4.3.10/node_modules/@umijs/bundler-utils/compiled/tapable/index.js:1:8410), :85:18) at eval (eval at create (/ui-pro/node_modules/.pnpm/@umijs+bundler-utils@4.3.10/node_modules/@umijs/bundler-utils/compiled/tapable/index.js:1:8410), :110:1) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) fatal - A complete log of this run can be found in: fatal - /ui-pro/myapp/node_modules/.cache/logger/umi.log fatal - Consider reporting a GitHub issue on https://github.com/umijs/umi/issues