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

Bug:  ERR_PNPM_CATALOG_ENTRY_NOT_FOUND_FOR_SPEC  No catalog entry 'ant-design-vue' was found for catalog 'default'. #5391

Closed
5 tasks done
ilaipi opened this issue Jan 14, 2025 · 2 comments

Comments

@ilaipi
Copy link

ilaipi commented Jan 14, 2025

Version

Vben Admin V5

Describe the bug?

把 web-antd 删掉之后,新增了一个 web-arco,执行install的时候报这个错,貌似没有执行后续的install

image

Reproduction

1, git clone 项目
2, 删除 web-antd
3, 改名 web-naive 为 web-arco。在pnpm-workspace.yaml 中把不需要的删掉,新增了 '@arco-design/web-vue': ^2.56.3
在web-arco 中的package.json,新增了 "@arco-design/web-vue": "catalog:",

然后执行 pnpm install 就报这个错,哪里定义了默认的?

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700KF
    Memory: 37.61 GB / 63.82 GB
  Binaries:
    Node: 22.10.0 - ~\AppData\Local\fnm_multishells\38540_1736845195238\node.EXE
    npm: 10.9.0 - ~\AppData\Local\fnm_multishells\38540_1736845195238\npm.CMD
    pnpm: 9.15.3 - ~\AppData\Local\fnm_multishells\38540_1736845195238\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527

Relevant log output

No response

Validations

@mynetfan
Copy link
Collaborator

playground 也使用了ant design vue,所以你不能在删除掉apps/web-antd后就直接删掉了pnpm-workspace.yaml中的ant design vue

@ilaipi
Copy link
Author

ilaipi commented Jan 14, 2025

我试了一下,应该是 playground 和 docs 两个都有依赖这个。

如果用其它的库,打包的话应该不会包括antd对吧?

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants