Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

core-js/modules ? #711

Closed
seb-jean opened this issue Jan 20, 2019 · 1 comment · Fixed by #712
Closed

core-js/modules ? #711

seb-jean opened this issue Jan 20, 2019 · 1 comment · Fixed by #712
Labels

Comments

@seb-jean
Copy link

Hi,
I use Yarn and Symfony.

When I updated places.js to version 1.15.2 and tape comman "yarn encore dev", I have error below :

These dependencies were not found:

  • core-js/modules/es6.array.iterator in ./node_modules/places.js/src/createAutocompleteSource.js, ./node_modules/places.js/src/formatHit.js and 4 others
  • core-js/modules/es6.array.sort in ./node_modules/places.js/src/formatHit.js
  • core-js/modules/es6.function.name in ./node_modules/places.js/src/formatInputValue.js, ./node_modules/places.js/src/formatDropdownValue.js
  • core-js/modules/es6.object.assign in ./node_modules/places.js/src/places.js, ./node_modules/places.js/src/createAutocompleteSource.js and 1 other
  • core-js/modules/es6.object.keys in ./node_modules/places.js/src/places.js, ./node_modules/places.js/src/createAutocompleteDataset.js and 4 others
  • core-js/modules/es6.promise in ./node_modules/places.js/src/createReverseGeocodingSource.js
  • core-js/modules/es6.regexp.match in ./node_modules/places.js/src/findCountryCode.js
  • core-js/modules/es6.regexp.replace in ./node_modules/places.js/src/formatInputValue.js, ./node_modules/places.js/src/formatDropdownValue.js and 1 other
  • core-js/modules/es6.regexp.search in ./node_modules/places.js/src/createAutocompleteSource.js
  • core-js/modules/es6.regexp.split in ./node_modules/places.js/src/createReverseGeocodingSource.js, ./node_modules/places.js/src/createAutocompleteSource.js and 1 other
  • core-js/modules/web.dom.iterable in ./node_modules/places.js/src/createReverseGeocodingSource.js, ./node_modules/places.js/src/createAutocompleteSource.js and 4 others

To install them, you can run: npm install --save core-js/modules/es6.array.iterator core-js/modules/es6.array.sort core-js/modules/es6.function.name core-js/modules/es6.object.assign core-js/modules/es6.object.keys core-js/modules/es6.promise core-js/modules/es6.regexp.match core-js/modules/es6.regexp.replace core-js/modules/es6.regexp.search core-js/modules/es6.regexp.split core-js/modules/web.dom.iterable

Image

It's normal ?

Thanks :)

@JonathanMontane
Copy link
Contributor

@seb-jean No this is not normal and is due to us adding polyfills in the latest release to support IE 11. However it seems that our pinned version of @babel/node relied on @babel/polyfills#7.0.0 which had a bug where it did not include correctly import its core-js dependency. We are fixing the issue right now.

As a temporary workaround, you can:

  • downgrade to 1.15.1 for now
  • add @babel/polyfill to your devDependencies (it should fix the issue).

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

Successfully merging a pull request may close this issue.

2 participants