question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't resolve 'babel-polyfill'

See original GitHub issue

I’m getting this error on gatsbyjs site:

Failed to compile
./node_modules/react-insta-stories/dist/index.es.js
Module not found: Error: Can't resolve 'babel-polyfill' in '/Users/.../node_modules/react-insta-stories/dist'

Do I need babel-polyfill package installed?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
mohitk05commented, Feb 5, 2019

Checked this one, installing babel-polyfill solves the issue. @niklaskeerl it’s better to install it as a dev dependency!

npm install --save-dev babel-polyfill

6reactions
niklaskeerlcommented, Feb 4, 2019

I had the same problem. Installing the package solves the issue.

npm install --save babel-polyfill
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with babel-polyfill and webpack - Stack Overflow
The key error there is Cannot resolve babel-polyfill in... This means webpack isn't able to find that module in your node_modules folder.
Read more >
@babel/polyfill - npm
Provides polyfills necessary for a full ES2015+ environment. Latest version: 7.12.1, last published: 2 years ago.
Read more >
babel/polyfill
The polyfill is provided as a convenience but you should use it with @babel/preset-env and the useBuiltIns option so that it doesn't include...
Read more >
Can't resolve 'babel-polyfill' in 'C:Userssourcereposfrontendsrc
Hi everyone, I was looking into asynchronous requests with redux tonight and hit the following error: Module not found: Can't resolve ...
Read more >
can t resolve babel-polyfill
@babel/polyfill Provides polyfills necessary for a full ES2015+ environment This package has been deprecated in favor of separate inclusion of required parts of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found