dumi
dumi copied to clipboard
bug: Cannot read properties of undefined (reading 'directory')
Version
v2.3.8
OS Version
window11 22631.3672
Node.js Version
v20.14.0
Browser Version
Edge 125.0.2535.92
Link to minimal reproduction
None
Steps to reproduce
- mkdir tempDemo && cd tempDemo && npx create-dumi
- yarn add vue
- yarn add -D @dumijs/preset-vue
- yarn start
What is expected?
Can operate normally
What is actually happening?
yarn run v1.22.22 $ npm run dev
[email protected] dev dumi dev
info - dumi v2.3.8
info - Vue v3.4.27
fatal - TypeError: Cannot read properties of undefined (reading 'directory')
at Hook.fn (F:\tempDemo\node_modules@dumijs\preset-vue\dist\common.js:42:91)
at F:\tempDemo\node_modules@umijs\core\dist\service\service.js:136:38
at _next6 (eval at create (F:\tempDemo\node_modules@umijs\bundler-utils\compiled\tapable\index.js:1:8410),
Any additional comments? (optional)
None
+1
may I ask how to solve this?
may I ask how to solve this?
The previously fixed PR was rolled back due to a bug, so for now, let's define the repository in package.json and then close msfu
may I ask how to solve this?
The previously fixed PR was rolled back due to a bug, so for now, let's define the
repositoryin package.json and then closemsfu
thank you. but i usage scenario is dumi. no existent msfu.
https://d.umijs.org/config#mfsu
I have tested it but it still failed: dumijs - mfsu
I have tested it but it still failed: dumijs - mfsu
checkout this:https://github.com/jeffwcx/dumi-vue-demo
thank you!
@lifegit I will fix it as soon as possible
@lifegit I will fix it as soon as possible
windows system is error: Path contains invalid characters: D:\project.dumi\tmp\plugin-preset-vue:vue3
fatal - Error: Path contains invalid characters: D:\project\.dumi\tmp\plugin-preset-vue:vue3
at checkPath (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\utils\compiled\fs-extra\index.js:1:15482)
at e.exports.makeDirSync (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\utils\compiled\fs-extra\index.js:1:15230)
at Proxy.fn (D:\project\node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected][email protected]\node_modules\@umijs\preset-umi\dist\registerMethods.js:113:28)
at Hook.fn (D:\project\node_modules\.pnpm\@[email protected][email protected][email protected][email protected][email protected]\node_modules\@dumijs\preset-vue\dist\vue\techStack\index.js:39:9)
at D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\core\dist\service\service.js:184:26
at _next17 (eval at create (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\bundler-utils\compiled\tapable\index.js:1:8410), <anonymous>:51:18)
at eval (eval at create (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\bundler-utils\compiled\tapable\index.js:1:8410), <anonymous>:76:1) {
code: 'EINVAL'
}
fatal - A complete log of this run can be found in:
fatal - D:\project\demos\node_modules\.cache\logger\umi.log
fatal - Consider reporting a GitHub issue on https://github.com/umijs/umi/issues
@lifegit I will fix it as soon as possible
windows system is error: Path contains invalid characters: D:\project.dumi\tmp\plugin-preset-vue:vue3
fatal - Error: Path contains invalid characters: D:\project\.dumi\tmp\plugin-preset-vue:vue3 at checkPath (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\utils\compiled\fs-extra\index.js:1:15482) at e.exports.makeDirSync (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\utils\compiled\fs-extra\index.js:1:15230) at Proxy.fn (D:\project\node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected][email protected]\node_modules\@umijs\preset-umi\dist\registerMethods.js:113:28) at Hook.fn (D:\project\node_modules\.pnpm\@[email protected][email protected][email protected][email protected][email protected]\node_modules\@dumijs\preset-vue\dist\vue\techStack\index.js:39:9) at D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\core\dist\service\service.js:184:26 at _next17 (eval at create (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\bundler-utils\compiled\tapable\index.js:1:8410), <anonymous>:51:18) at eval (eval at create (D:\project\node_modules\.pnpm\@[email protected]\node_modules\@umijs\bundler-utils\compiled\tapable\index.js:1:8410), <anonymous>:76:1) { code: 'EINVAL' } fatal - A complete log of this run can be found in: fatal - D:\project\demos\node_modules\.cache\logger\umi.log fatal - Consider reporting a GitHub issue on https://github.com/umijs/umi/issues
+++++1 demo不靠谱
遇到了同样的问题,请问这个 PR 什么时候会发版呢🤔?