Vue-cli: Cannot find @vue/cli-plugin-babel@^3.1.1

Created on 2 Nov 2018  Â·  9Comments  Â·  Source: vuejs/vue-cli

Version

3.1.1

Reproduction link

https://gist.github.com/johnsardine/830a1abd0a7fee649724c6c04feb6eb5

Node and OS info

Node 9.11.1 / npm 5.6.0 / OSX 10.14

Steps to reproduce

Copy package.json from gist provided. Run npm i

What is expected?

The project should install correctly

What is actually happening?

Vue CLI v3.1.1
✨  Creating project in /Users/sardinha/Dev/project.
âš™ Installing CLI plugins. This might take a while...

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/cli-plugin-babel@^3.1.1
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 'project'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sardinha/.npm/_logs/2018-11-02T16_07_23_412Z-debug.log
 ERROR  command failed: npm install --loglevel error

Most helpful comment

I am still facing this issue with v3.1.2 but it works when i downgrade to v3.1.0 (with a warning that thise version is no longer maintained). Is this the only work-around or a temporary bug in latest version?

All 9 comments

same on

Windows 10 / Node 10.13.0 / NPM 6.4.1

it then gives choice to install older version through selection and _freezes_ after selection

It looks like 3.1.1 has only been on npm for 2 hours, so maybe the other dependencies are going to be up soon. For now using npm install -g @vue/cli@^3.1.0

same on
node v8.11.3
npm 6.4.1

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/cli-plugin-babel@^3.1.1
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 'smmart'
npm ERR! notarget

looks like it was just added, (20 min ago)

note discreprency between dates and versions on npm

https://www.npmjs.com/search?q=vue%20cli
and
https://www.npmjs.com/package/@vue/cli-plugin-babel

Seems like npm had some issues with the latest release, but it's resolved now.

I am still facing this issue with v3.1.2 but it works when i downgrade to v3.1.0 (with a warning that thise version is no longer maintained). Is this the only work-around or a temporary bug in latest version?

I have figured my issues are down to NVM and locking a version of Vue. Trying to debug it.

So do i, v3.2.1 is not existed, use v3.1.0 worked for me.

@Jmingzi Please upgrade your global @vue/cli version.

@Jmingzi Please upgrade your global @vue/cli version.

I tried doing that but on Linux there's an issue with installing packages globally through NVM and through NPM - if you do the wrong sequence it locks it to a version regardless of any update queries. A common issue it seems.

I ended up uninstalling NVM, then Vue by removing it from the global installs folder manually. Then reinstalling everything.

Was this page helpful?
0 / 5 - 0 ratings