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

Install error, cannot install @vitejs/[email protected] #311

Closed
8 of 9 tasks
lk101 opened this issue Dec 12, 2023 · 4 comments
Closed
8 of 9 tasks

Install error, cannot install @vitejs/[email protected] #311

lk101 opened this issue Dec 12, 2023 · 4 comments

Comments

@lk101
Copy link

lk101 commented Dec 12, 2023

Related plugins

Describe the bug

Prompt in shell is below:

 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @babel/helper-create-class-features-plugin@^7.23.6

This error happened while installing the dependencies of @vitejs/[email protected]
at @babel/[email protected]

The latest release of @babel/helper-create-class-features-plugin is "7.23.5".

Other releases are:

  • next: 8.0.0-alpha.4
  • esm: 7.21.4-esm.4

If you need the full list of all 86 published versions run "$ pnpm view @babel/helper-create-class-features-plugin versions".

Reproduction

none.url

Steps to reproduce

pnpm install @vitejs/plugin-vue-jsx

System Info

 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @babel/helper-create-class-features-plugin@^7.23.6

This error happened while installing the dependencies of @vitejs/[email protected]
 at @babel/[email protected]

The latest release of @babel/helper-create-class-features-plugin is "7.23.5".

Other releases are:
  * next: 8.0.0-alpha.4
  * esm: 7.21.4-esm.4

If you need the full list of all 86 published versions run "$ pnpm view @babel/helper-create-class-features-plugin versions".

Used Package Manager

pnpm

Logs

 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @babel/helper-create-class-features-plugin@^7.23.6

This error happened while installing the dependencies of @vitejs/[email protected]
at @babel/[email protected]

The latest release of @babel/helper-create-class-features-plugin is "7.23.5".

Other releases are:

  • next: 8.0.0-alpha.4
  • esm: 7.21.4-esm.4

If you need the full list of all 86 published versions run "$ pnpm view @babel/helper-create-class-features-plugin versions".

Validations

@sxzz
Copy link
Member

sxzz commented Dec 12, 2023

Cannot reproduce. Please try to clean your pnpm cache and try again.

❯ pnpm install @vitejs/plugin-vue-jsx
Packages: +92
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 125, reused 89, downloaded 3, added 92, done

dependencies:
+ @vitejs/plugin-vue-jsx 3.1.0

Done in 7.3s

@sxzz sxzz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
@lk101
Copy link
Author

lk101 commented Dec 12, 2023

按照说明查看的@babel/plugin-transform-typescript版本,latest版确实为7.23.6,直接pnpm v @babel/plugin-transform-typescript通过tarball的url也能够将该版本下载下来,但是直接使用pnpm i命令安装时就提示错误

BTW,前段时间vue版本更新的时候,也遇到过同样的问题

registry使用的是https://registry.npmmirror.com

@lk101
Copy link
Author

lk101 commented Dec 12, 2023

Cannot reproduce. Please try to clean your pnpm cache and try again.

❯ pnpm install @vitejs/plugin-vue-jsx
Packages: +92
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 125, reused 89, downloaded 3, added 92, done

dependencies:
+ @vitejs/plugin-vue-jsx 3.1.0

Done in 7.3s

OK, I will try again, thanks.

@lk101
Copy link
Author

lk101 commented Dec 12, 2023

Cannot reproduce. Please try to clean your pnpm cache and try again.

❯ pnpm install @vitejs/plugin-vue-jsx
Packages: +92
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 125, reused 89, downloaded 3, added 92, done

dependencies:
+ @vitejs/plugin-vue-jsx 3.1.0

Done in 7.3s

It really works, thanks a lot.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2023
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