Just dipping my toes into ES6! After completing all the webpack installation steps, I excitedly started creating some files following this picture
https://i.sstatic.net/LYXCy.png
Once I moved on to writing code in index.js and tried running it with the command
npm run build
I was bombarded with errors like those shown in the image below
https://i.sstatic.net/9t2In.png
I've been scouring the web for a solution but no luck so far. Any suggestions to help me out would be greatly appreciated!
Your input means a lot to me!