I am running this function from “index.js” :
Which I want to call this module from my file “homeTab.js” :
When I load the page in Chrome, this is what my console log says:
My question is: Why does Chrome show an error at Line 1 in main.js? Is there a way to get Chrome to show what line the error is on in my homeTab.js file? And can I also get it to show where the error is in my index.js file?
Thanks in advance for your help!
PS. I am using Chrome, npm, webpack, and “npm webpack --watch”