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: @redocly/openapi-core 404 #5474

Closed
5 tasks done
MarcoPai opened this issue Feb 5, 2025 · 5 comments
Closed
5 tasks done

Bug: @redocly/openapi-core 404 #5474

MarcoPai opened this issue Feb 5, 2025 · 5 comments

Comments

@MarcoPai
Copy link

MarcoPai commented Feb 5, 2025

Version

Vben Admin V5

Describe the bug?

本地 Node 20,pnpm 9.15.5
安装的时候提示:
 ERR_PNPM_FETCH_404  GET https://registry.npmmirror.com/@redocly/openapi-core/-/openapi-core-1.28.1.tgz: Not Found - 404

Reproduction

 ERR_PNPM_FETCH_404  GET https://registry.npmmirror.com/@redocly/openapi-core/-/openapi-core-1.28.1.tgz: Not Found - 404

System Info

  System:
    OS: macOS 15.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 744.26 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.0 - ~/.nvm/versions/node/v20.12.0/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.0/bin/npm
    pnpm: 9.15.5 - ~/.nvm/versions/node/v20.12.0/bin/pnpm
    bun: 1.1.12 - ~/.bun/bin/bun
    Watchman: 2024.07.15.00 - /usr/local/bin/watchman
  Browsers:
    Chrome: 132.0.6834.160
    Edge: 129.0.2792.79
    Safari: 18.2

Relevant log output

Validations

@M69W
Copy link

M69W commented Feb 5, 2025

这个应该是源的问题。
https://www.npmjs.com/package/@redocly/openapi-core

@MarcoPai
Copy link
Author

MarcoPai commented Feb 5, 2025

我查了vben官方用的淘宝源只支持1.28.0,但是我看提示的1.28.1
不知道是哪个package关联了这个版本的。全局都没搜到

@hbalxzdl
Copy link

hbalxzdl commented Feb 5, 2025

我查了vben官方用的淘宝源只支持1.28.0,但是我看提示的1.28.1 不知道是哪个package关联了这个版本的。全局都没搜到

删除pnpm-lock.yaml,重新 install

@cnguu
Copy link

cnguu commented Feb 5, 2025

用npm源安装就行了

@mynetfan
Copy link
Collaborator

mynetfan commented Feb 5, 2025

淘宝源的问题。屏蔽.npmrc文件的第一行后重新运行pnpm i就可以了

@mynetfan mynetfan closed this as completed Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants