Skip to content

Bug: pnpm reinstall 会删除lock文件,重新安装后导致子包 vite ts 报错 #6402

Open
@kk-9595

Description

@kk-9595

Version

Vben Admin V5

Describe the bug?

秒速如下
如果没有引用 "../../internal/vite-config/node_modules/vite/dist/node",则无法命名 "default" 的推断类型。这很可能不可移植。需要类型注释。ts(2742)

Reproduction

pnpm reinstall

System Info

pnpm reinstall

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions