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

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

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 6
  • Comments: 15 (3 by maintainers)

Most upvoted comments

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?

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

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

I’m incredibly stuck on this problem as well.

Have upgraded: global @vue/cli 4.5.13 node: v14.18.1 npm: 6.14.15

still cannot find ‘@vue/cli-plugin-babel’ although it is in devDependencies and on version 4.5.14

Other things I’ve tried: Delete package.lock file + node_modules and reinstall with npm install => no luck same error Restart Mac => no luck same error

What on earth is causing this? Anyone have a solid fix or solution to this? Or maybe even a workaround?

`Error: Cannot find module ‘@vue/cli-plugin-babel’ Require stack:

  • /usr/local/lib/node_modules/@vue/cli-service/lib/Service.js
  • /usr/local/lib/node_modules/@vue/cli-service/bin/vue-cli-service.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at idToPlugin (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:145:14) at /usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:184:20 at Array.map (<anonymous>) at Service.resolvePlugins (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:170:10) at new Service (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:32:25) at Object.<anonymous> (/usr/local/lib/node_modules/@vue/cli-service/bin/vue-cli-service.js:15:17) { code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js’, ‘/usr/local/lib/node_modules/@vue/cli-service/bin/vue-cli-service.js’ ] }`