While trying to run my project on an android emulator, the device throws this error emulator screenshot. I cannot seem to figure out what I am doing wrong. I am still quite new to react
firstly install babel polyfill
npm install --save @babel/polyfill
then import on top of index.js .
i mean on very top before any import
import "@babel/polyfill";
if got no answer so
module.exports = {
entry: ["@babel/polyfill", "./app/js"],
};
use it this way on your webpack.config.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With