I have a program that has a reset button implemented. It has been working perfectly fine for weeks until today and all I did was install browserify so that I can use BigDecimal. I get the error
(index):18 Uncaught ReferenceError: reset is not defined
at HTMLButtonElement.onclick ((index):18)
Which is just referring to
<button type="button" onclick="reset();">Reset</button>
It seems that my index.html cannot reach my script.js file. It asks me if I want to remove my unused declaration for reset() but I am definitely calling it in index.html and it's worked flawlessly in the past. In my index.html I have a script tag referring to bundle.js, which is from browserify. If I move it to the top of my page then I get different errors.