Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Update babel dependencies to core-js 3 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rldorado
Copy link

@rldorado rldorado commented Sep 8, 2020

Hi

I'm using vue 2.6 and I'm having this dependency problem with your library when I add core-js (as babel-polyfill is deprecated, you can check it here). Here's the log:

yarn run v1.22.4
$ vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin

ERROR Failed to compile with 6 errors 3:17:19 PM

These dependencies were not found:

* core-js/library/fn/object/create in ./node_modules/babel-runtime/core-js/object/create.js
* core-js/library/fn/object/get-prototype-of in ./node_modules/babel-runtime/core-js/object/get-prototype-of.js
* core-js/library/fn/object/set-prototype-of in ./node_modules/babel-runtime/core-js/object/set-prototype-of.js
* core-js/library/fn/promise in ./node_modules/babel-runtime/core-js/promise.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/object/create core-js/library/fn/object/get-prototype-of core-js/library/fn/object/set-prototype-of core-js/library/fn/promise core-js/library/fn/symbol core-js/library/fn/symbol/iterator

I've updated your library to make it able to work with last core-js version. If you can evaluate and approve I'd be thankful as I could use your library from NPM directly.

Thank you and kind regards.

@colinscz
Copy link

colinscz commented Sep 9, 2020

@claudiocro can you have a look at this and support us on the update?

Many thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants