vue-cli3 warning for core-js version
See original GitHub issueVersion
3.5.1
Environment info
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz
Binaries:
Node: 10.3.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.9.2 - C:\Users\schbrain\AppData\Roaming\npm\yarn.CMD
npm: 6.1.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.17763.1.0
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0-beta.3
@vue/babel-plugin-transform-vue-jsx: 1.0.0-beta.3
@vue/babel-preset-app: 3.5.1
@vue/babel-preset-jsx: 1.0.0-beta.3
@vue/babel-sugar-functional-vue: 1.0.0-beta.3
@vue/babel-sugar-inject-h: 1.0.0-beta.3
@vue/babel-sugar-v-model: 1.0.0-beta.3
@vue/babel-sugar-v-on: 1.0.0-beta.3
@vue/cli-overlay: 3.5.1
@vue/cli-plugin-babel: ^3.5.0 => 3.5.1
@vue/cli-plugin-e2e-cypress: ^3.5.0 => 3.5.1
@vue/cli-plugin-eslint: ^3.5.0 => 3.5.1
@vue/cli-plugin-unit-mocha: ^3.5.0 => 3.5.1
@vue/cli-service: ^3.5.0 => 3.5.1
@vue/cli-shared-utils: 3.5.1
@vue/component-compiler-utils: 2.6.0
@vue/eslint-config-standard: ^4.0.0 => 4.0.0
@vue/preload-webpack-plugin: 1.1.0
@vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.2
vue: ^2.6.6 => 2.6.10
vue-eslint-parser: 2.0.3
vue-hot-reload-api: 2.3.3
vue-lazyload: 1.2.6
vue-loader: 15.7.0
vue-router: ^3.0.1 => 3.0.2
vue-style-loader: 4.1.2
vue-template-compiler: ^2.5.21 => 2.6.10
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
vue create a project npm run serve
What is expected?
no warning
What is actually happening?
We noticed you’re using the useBuiltIns
option without declaring a core-js version. Currently, we assume version 2.x when no version is passed
. Since this default version will likely change in future versions of Babel, we recommend explicitly setting the core-js version you are using via the c orejs
option.
You should also be sure that the version you pass to the corejs
option matches the version specified in your package.json
’s dependencies
section. I
f it doesn’t, you need to run one of the following commands:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:36
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Migrate from v3 - Vue CLI
In Vue CLI v3, the required core-js version is 2.x, it is now upgraded to 3.x. This migration is automated if you upgrade...
Read more >core-js dependencies warning [vue] - Stack Overflow
It is not a problem with your application or library itself, it's a warning by a dependency of a dependency of a dependency...
Read more >Upgrade Guide — Vuetify
Upgrade Guide. # Upgrading from v1.5.x to v2.0.x. Version 2 contains non backwards compatible breaking changes.
Read more >Is your Vue app not working in IE 11? Here's how to fix it.
Method 1: Use core-js upfront: If you've used Vue Cli 3 to generate your app, then core-js comes built in. Core-js is a...
Read more >Vue JS CLI 3 (Vue 3) Part 3 - Liquid Web
In the third part of our series, we will be using the Vue.js framework to ... node bin/install.js setting up Git hooks Done...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 3.5.2
@dotmartin as a last resort, try to install core-js@2 as the project’s dependency. I’m still thinking about how to fully resolve this issue.