Vue-cli: npm ERR! notarget No matching version found for @apollographql/apollo-tools@^0.4.6

Created on 18 Apr 2020  路  6Comments  路  Source: vuejs/vue-cli

Version

4.3.1

Environment info

I can't install vue.

Steps to reproduce

npm install -g @vue/cli

What is expected?

vue-cli installed

What is actually happening?

npm ERR! code ETARGET

npm ERR! notarget No matching version found for @apollographql/apollo-tools@^0.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 'apollo'
.

Most helpful comment

Duplicate of #5402, this title is more precise though!

Workaround
yarn global add @vue/cli

All 6 comments

Duplicate of #5402, this title is more precise though!

Workaround
yarn global add @vue/cli

For whats it worth, I just looked at the npmjs registry and there is only a 0.4.6-alpha.0 for apollo-tools registered.

https://www.npmjs.com/package/@apollographql/apollo-tools

For whats it worth, I just looked at the npmjs registry and there is only a 0.4.6-alpha.0 for apollo-tools registered.

https://www.npmjs.com/package/@apollographql/apollo-tools

I did the same, :(

It is solved by apollo team, they had some issue.
Everything OK with @vue/cli now

I can confirm this. Issue can be closed.

Confirmed, it is working now!

Was this page helpful?
0 / 5 - 0 ratings