Error: Script error
The error often looks like this in the console:
You do this by changing your karma configuration. In my
karma.conf.js file I would tweak the value as below:
Voila! A HTTP Not Found (404) for a resource I had declared in one of my require scripts. In this example, I intentionally added it in to cause that error, but this technique is useful for when you just can’t work out why something is not working.