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

Gatsy app build failure - simplebar-react - 2.0.3-corejs2 #396

Closed
KrishnaPrasanthVemuganti opened this issue Oct 24, 2019 · 2 comments
Closed

Comments

@KrishnaPrasanthVemuganti

Getting below error when using "simplebar-react": "2.0.3-corejs2"

failed Building development bundle - 9.075s

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.array.filter' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.array.for-each' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.array.iterator' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.object.assign' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.object.to-string' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.parse-int' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.string.iterator' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/es.weak-map' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

ERROR #98123 WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/Users/krishna/Working/krishnaprasanth.com/node_modules/simplebar/dist'

File: node_modules/simplebar/dist/simplebar-core.esm.js

package.json

"dependencies": {
    "@emotion/core": "^10.0.22",
    "gatsby": "^2.17.2",
    "gatsby-plugin-react-helmet": "^3.1.13",
    "gatsby-plugin-sass": "^2.1.20",
    "gatsby-plugin-typography": "^2.3.14",
    "node-sass": "^4.13.0",
    "react": "^16.11.0",
    "react-burger-menu": "^2.6.11",
    "react-dom": "^16.11.0",
    "react-helmet": "^5.2.1",
    "react-icons": "^3.7.0",
    "react-spinners": "^0.6.1",
    "react-typography": "^0.16.19",
    "simplebar-react": "2.0.3-corejs2",
    "typography": "^0.16.19",
    "typography-theme-github": "^0.16.19"
  },
  "devDependencies": {
    "prettier": "^1.18.2"
  }

This was fixed #387. Was working fine in simplebar-react@2.0.2-corejs2-1

@Grsmto
Copy link
Owner

Grsmto commented Oct 24, 2019

I released a new version that hopefully fixed this. simplebar-react@2.0.4-corejs2

@Grsmto Grsmto closed this as completed Oct 24, 2019
@garciaalvaro
Copy link

@Grsmto I still get these errors with the latest version. Is there any way around it? Thanks.

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

3 participants