Can't resolve 'babel-polyfill'
See original GitHub issueI’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:
- Created 5 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
I had the same problem. Installing the package solves the issue.