ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.04k stars 1.29k forks source link

🐛[BUG] No matching version found for @ant-design/pro-utils@1.35.2 #4782

Closed kangtaku closed 2 years ago

kangtaku commented 2 years ago

https://github.com/ant-design/pro-components/issues/4772

It still re-produce in my local, doesn't seems to be solved.

github-actions[bot] commented 2 years ago

以下的 Issues 可能会帮助到你 / The following issues may help you

Dunqing commented 2 years ago

this version exists and appears to work image

try this? https://github.com/ant-design/pro-components/issues/4772#issuecomment-1059948290

9hnd5 commented 2 years ago

this version exists and appears to work image

try this? #4772 (comment)

I have tried but I still have the same issue. Any idea to temporarily resolve it?

xyy7260 commented 2 years ago

At present, neither of the company's two products can be updated, which should be caused by this problem

caoquy2000 commented 2 years ago

@xyy7260 I think there is a problem publishing @ant-design/pro-utils on npmjs

xyy7260 commented 2 years ago

@caoquy2000 I think so

Dunqing commented 2 years ago

It seems that only a new version can be released to fix the problem

xyy7260 commented 2 years ago

@1247748612 你们多久能发布

Ynewtime commented 2 years ago

Same here.

npm registry: https://registry.npmjs.org/

Check @ant-design/pro-utils versions first:

❯ pnpm view @ant-design/pro-utils

@ant-design/pro-utils@1.35.2 | MIT | deps: 8 | versions: 137
@ant-design/pro-utils
https://github.com/ant-design/pro-components/tree/master/packages/utils#readme

keywords: antd, admin, ant-design, ant-design-pro

dist
.tarball: https://registry.npmjs.org/@ant-design/pro-utils/-/pro-utils-1.35.2.tgz
.shasum: 789b4c5d4d63085e02ab24c2ae68c6084bc9a8f1
.integrity: sha512-LZfMr821QHD54A9PyRKRl2Xy4FYxJ9gIXMrq4kqTJMBeZr9W7xkx2ZjoeFJqFKnrY3xAf1GzRgz1dMO+VIbc3g==
.unpackedSize: 566.0 kB

dependencies:
@ant-design/icons: ^4.3.0       @babel/runtime: ^7.16.3         moment: ^2.27.0                 react-sortable-hoc: ^2.0.0
@ant-design/pro-provider: 1.6.0 classnames: ^2.2.6              rc-util: ^5.0.6                 swr: ^1.2.0

maintainers:
- yesmeck <yesmeck@gmail.com>
- afc163 <afc163@gmail.com>
- vthinkxie <vthinkxie@gmail.com>
- zombiej <smith3816@gmail.com>
- chenshuai2144 <wasd2144@hotmail.com>
- vagusx <onlylae@sina.com>
- dahong <darryshaw@gmail.com>
- ycjcl868 <45808948@qq.com>
- wynterding <wynterding@gmail.com>
- yutingzhao1991 <yutingzhao1991@sina.cn>
- arvinxx <arvinx@foxmail.com>
- rdmclin2 <rdmclin2@gmail.com>
- wendellhu95 <wendellhu95@outlook.com>

dist-tags:
latest: 1.35.2        next: 1.24.7-alpha.0

published 3 days ago by chenshuai2144 <wasd2144@hotmail.com>

Try install @ant-design/pro-table@latest:

❯ pnpm i @ant-design/pro-table@latest
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @ant-design/pro-utils@1.35.2

The latest release of @ant-design/pro-utils is "1.35.1".

Other releases are:
  * next: 1.24.7-alpha.0

If you need the full list of all 136 published versions run "$ pnpm view @ant-design/pro-utils versions".
../..                                    | Progress: resolved 392, reused 371, downloaded 0, added 0
caoquy2000 commented 2 years ago

@xyy7260 i define "@ant-design/pro-descriptions": "^1.0.1" in package.json but it always find @ant-design/pro-utils@1.35.2

Dunqing commented 2 years ago

lock the version to the previous minor version to temporarily avoid this problem

锁定 @ant-design/pro-* 版本到上一个小版本来暂时避免此问题

E.G

@ant-design/pro-table current version is 2.66.1

image

you should lock the version to ~2.65.0

xyy7260 commented 2 years ago

@xyy7260 我在 package.json 中定义了 "@ant-design/pro-descriptions": "^1.0.1" 但它总能找到@ant-design/pro-utils@1.35.2

Does this work

yw-mao commented 2 years ago

@xyy7260 我在 package.json 中定义了 "@ant-design/pro-descriptions": "^1.0.1" 但它总能找到@ant-design/pro-utils@1.35.2

Does this work

It works for me

    "@ant-design/pro-card": "~1.17.0",
    "@ant-design/pro-descriptions": "~1.9.0",
    "@ant-design/pro-form": "~1.54.0",
    "@ant-design/pro-layout": "~6.33.0",
    "@ant-design/pro-list": "~1.20.0",
    "@ant-design/pro-table": "~2.65.0",
GuoQqing commented 2 years ago

遇到了同样的问题

Ynewtime commented 2 years ago

If you keep the version of @ant-design/pro-table to 2.65.0, it works. But when you try to upgrade the @ant-design/pro-table version to 2.66.1, it fails.

kangtaku commented 2 years ago

It works with ~ express in front of version such as "@ant-design/pro-table": "~2.65.0" .

cjbi commented 2 years ago

Still can't work

chenshuai2144 commented 2 years ago
image

用了私有的库的记得 sync 一下

mengtongun commented 2 years ago

image @chenshuai2144

Ynewtime commented 2 years ago

@chenshuai2144

不是私有库的问题,你看我这条回复:

https://github.com/ant-design/pro-components/issues/4782#issuecomment-1060150366

用的是官方的 npm registry,同样出现了问题。

我创个 Codesandbox 给你复现下:

https://codesandbox.io/s/cocky-rui-xrm96z?file=/package.json:214-298

ohaTgxK9956562414460 commented 2 years ago

已经持续2天了,

image
ohaTgxK9956562414460 commented 2 years ago

已经持续2天了, image

更改一下为淘宝npm 镜像地址:yarn config set registry https://registry.npm.taobao.org

Ynewtime commented 2 years ago

已经持续2天了, image

更改一下为淘宝npm 镜像地址:yarn config set registry https://registry.npm.taobao.org

亲测淘宝 npm 镜像可以,那么问题来了,官方源反而不行?

Lind-pro commented 2 years ago

已经持续2天了,图片

改一下为淘宝npm镜像地址:yarn config set registry https://registry.npm.taobao.org

亲测淘宝npm可以镜像,问题来了,官方源那么不行吗?

测试了淘宝镜像也不行

Dunqing commented 2 years ago

@ant-design/pro-utils@1.35.3 released

Who can verify that this version works?