I was having the same issue. Even simple scripts that were just a console.log('Hello World'); weren't running. I have no idea why, but for whatever reason if I moved my script tag to be above the html it worked fine. If the script was at the bottom, it didn't run.
Hope that helps.