Skip to content

bug: 使用Vue Library安装的时候generate files会一直卡着不动 #2283

@luchanan

Description

@luchanan

Version

v2.4.20

OS Version

win10

Node.js Version

20.15.1

Browser Version

chrome

Link to minimal reproduction

Steps to reproduce

使用了npx create-dumi安装,选择Vue Library(其他没有问题),然后会一直卡在generate files,除非自己手动ctrl+v退出。

√ Pick template type » Vue Library
√ Pick NPM client » npm
√ Input NPM package name ... 2
√ Input project description ... 1
√ Input project author (Name <email@example.com>) ... 1
Write: .dumirc.ts
Copy:  .editorconfig
Copy:  .eslintrc.js
Write: .gitignore
Copy:  .husky/commit-msg
Copy:  .husky/pre-commit
Copy:  .prettierignore
Copy:  .prettierrc.js
Copy:  .stylelintrc
Copy:  docs/guide.md
Write: docs\index.md
Write: LICENSE
Write: package.json
Write: README.md
Write: src\Bar\Bar.test.ts
Write: src\Bar\index.md
Copy:  src/Bar/index.ts
Copy:  src/Bar/RootBar.vue
Copy:  src/Foo/Foo.less
Write: src\Foo\Foo.test.ts
Write: src\Foo\index.md
Copy:  src/Foo/index.tsx
Copy:  src/index.ts
Write: tsconfig.build.json
Write: tsconfig.json
Copy:  vite.config.mts
Copy:  vitest.config.mts

> 2@0.0.1 prepare
> husky install && dumi setup

fatal: not a git repository (or any of the parent directories): .git
husky - git command not found, skipping install
info  - dumi v2.4.20
info  - Vue v3.5.13
info  - generate files

What is expected?

期望能像react那样generate files可以成功。

> prepare
> husky install && dumi setup

fatal: not a git repository (or any of the parent directories): .git
husky - git command not found, skipping install
info  - dumi v2.4.20
info  - generate files

added 1584 packages, and audited 1585 packages in 4m

What is actually happening?

卡在generate files不动,等很久也是这样

Any additional comments? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions