Skip to content
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

Multiple core-js modules not found in gatsby 2 #345

Closed
decimoseptimo opened this issue Jul 20, 2019 · 6 comments
Closed

Multiple core-js modules not found in gatsby 2 #345

decimoseptimo opened this issue Jul 20, 2019 · 6 comments

Comments

@decimoseptimo
Copy link

In a gatsby 2 default starter, either simplebar or react-simplebar throw

These dependencies were not found:
⠀
* core-js/modules/es.array.filter in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.array.for-each in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.array.reduce in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.function.name in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.object.assign in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.parse-int in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.regexp.exec in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.string.match in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/es.string.replace in ./node_modules/simplebar/dist/simplebar.esm.js
* core-js/modules/web.dom-collections.for-each in ./node_modules/simplebar/dist/simplebar.esm.js

Your environment

Software Version(s)
SimpleBar 4.1.0
Browser chrome 75
npm/Yarn npm 5.6.0
Operating System win 10
@Grsmto
Copy link
Owner

Grsmto commented Jul 21, 2019

ref gatsbyjs/gatsby#15601

@Grsmto
Copy link
Owner

Grsmto commented Sep 25, 2019

As a temporary work around and until Gatsby upgrade to core-js v3, I released a version of the package built with core-js 2:

[email protected]
[email protected]
[email protected]

@yurii-tk
Copy link

yurii-tk commented Feb 26, 2020

@Grsmto could you please update simplebar-angular as well, as I`m constantly facing the issue with dependencies were not found
Thanks in advance!

@decimoseptimo
Copy link
Author

@Grsmto given that gatsbyjs/gatsby#15601 is closed, do you think it would be safe to assume this is solved?

@barbalex
Copy link

I use this in up to date gatsby projects and it works well for me

@Grsmto
Copy link
Owner

Grsmto commented Jan 19, 2023

This should be solved now since we don't ship with core-js anymore.

@Grsmto Grsmto closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants