Perhaps this answer is not a solution for this specific question, but, nevertheless, this topic I found is looking for a similar problem: an abnormal error and a timeout for loading in the console, so it may be useful to post it here.
The text plugin does not seem to work correctly if referenced twice in different paths (from my experience).
eg. if you reference the full path first:
define(["js/libs/text!somefile.html"], ...)
and then config requireJS path and use an alias for it:
require.config({paths: { "text": "js/libs/text.js" }}); define(["text!somefile.html"], ...)
it loads the same module twice, and the second define causes an error. Correct me if I am wrong.
source share