Skip to content

npm run serve report the core-js error in multi page project when i import ant-design-vue #11512

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

Closed
w2819 opened this issue Jul 13, 2020 · 2 comments

Comments

@w2819
Copy link

w2819 commented Jul 13, 2020

Version

2.6.11

Reproduction link

https://github.com/miniai/demo.git

Steps to reproduce

git clone https://github.com/miniai/demo.git
npm install
npm run serve

What is expected?

npm run serve success

What is actually happening?

These dependencies were not found:

core-js/library/fn/array/from in ./node_modules/babel-runtime/core-js/array/from.js
core-js/library/fn/get-iterator in ./node_modules/babel-runtime/core-js/get-iterator.js
core-js/library/fn/is-iterable in ./node_modules/babel-runtime/core-js/is-iterable.js
core-js/library/fn/object/assign in ./node_modules/babel-runtime/core-js/object/assign.js
core-js/library/fn/object/define-property in ./node_modules/babel-runtime/core-js/object/define-property.js
core-js/library/fn/symbol in ./node_modules/babel-runtime/core-js/symbol.js
core-js/library/fn/symbol/iterator in ./node_modules/babel-runtime/core-js/symbol/iterator.js
To install them, you can run: npm install --save core-js/library/fn/array/from core-js/library/fn/get-iterator core-js/library/fn/is-iterable core-js/library/fn/object/assign core-js/library/fn/object/define-property core-js/library/fn/symbol core-js/library/fn/symbol
/iterator


vueComponent/ant-design-vue#2554

@posva
Copy link
Member

posva commented Jul 13, 2020

Hi, thanks for your interest but Github issues are for vue bug reports and feature requests only. This is a project setup question. You can ask questions on the forum, the Discord server or StackOverflow.

@posva posva closed this as completed Jul 13, 2020
@w2819 w2819 changed the title npm run serve report the core-js error in muti page project when i import ant-design-vue npm run serve report the core-js error in multi page project when i import ant-design-vue Jul 13, 2020
@w2819
Copy link
Author

w2819 commented Jul 13, 2020

em... i reduced some package's version, it works

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