Skip to content

No matching version found for @vue/vue3-jest@27 #406

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

Closed
awulkan opened this issue Oct 27, 2021 · 3 comments · Fixed by #407
Closed

No matching version found for @vue/vue3-jest@27 #406

awulkan opened this issue Oct 27, 2021 · 3 comments · Fixed by #407

Comments

@awulkan
Copy link
Contributor

awulkan commented Oct 27, 2021

Hey, I'm having trouble installing @vue/vue3-jest@27 in a Vue 3 project.
Does anyone know what might be wrong? Is the version not published yet? I'm just following what the README file told me to install.

> npm install --save-dev @vue/vue3-jest@27
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/vue3-jest@27.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
@afontcu
Copy link
Member

afontcu commented Oct 27, 2021

Hi! 👋 Yeah you're right, the current command on the README won't work because the released versions of @27 are beta, and npm needs to be told to install beta versions or avoid specifying a version at all.

Try npm install --save-dev @vue/vue3-jest@^27.0.0-alpha and see if it works.

Fancy to open up a PR? 🙏 😄

@awulkan
Copy link
Contributor Author

awulkan commented Oct 27, 2021

Simply typing npm install --save-dev @vue/vue3-jest seems to have worked. It installed version ^27.0.0-alpha.3. Should I change it to that if I open a PR?

@afontcu
Copy link
Member

afontcu commented Oct 27, 2021

yeah, I guess that would work, too. thanks!

awulkan added a commit to awulkan/vue-jest that referenced this issue Oct 27, 2021
Closes vuejs#406 
Specifying the version number makes the installation fail. 
Omitting the version number results in installing the correct alpha version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants