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

No matching version found for @vue/cli-plugin-router@^4.4.6 #5616

Closed
dumplings opened this issue Jun 24, 2020 · 1 comment
Closed

No matching version found for @vue/cli-plugin-router@^4.4.6 #5616

dumplings opened this issue Jun 24, 2020 · 1 comment

Comments

@dumplings
Copy link

Version

4.4.6

Environment info

Environment Info:

  System:
    OS: macOS 10.15.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.16.1/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v12.16.1/bin/npm
  Browsers:
    Chrome: 83.0.4103.116
    Edge: Not Found
    Firefox: Not Found
    Safari: 13.1
  npmGlobalPackages:
    @vue/cli: 4.4.6

Steps to reproduce

vue create project-name

What is expected?

Normal installation

What is actually happening?

No matching version found for @vue/cli-plugin-router@^4.4.6.


when i do vue create project-name, i will receive:

🗃  Initializing git repository...
⚙️  Installing CLI plugins. This might take a while...

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/cli-plugin-router@^4.4.6.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@vue/cli-service'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/hejingguo/.npm/_logs/2020-06-24T08_34_46_284Z-debug.log
 ERROR  command failed: npm install --loglevel error
@haoqunjiang
Copy link
Member

It exists in both npm and yarn registry
https://www.npmjs.com/package/@vue/cli-plugin-router
https://yarnpkg.com/package/@vue/cli-plugin-router

If you are using a custom registry, maybe it failed to sync with the upstream in time.
As for cnpmjs.org and npm.taobao.org, I've just manually clicked the sync button and they should be in sync now.

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

No branches or pull requests

2 participants