I sometimes have the same issue. For me, it usually happens when another asynchronous request is blocking the server (that can handle only one request at a time on my dev machine) and a view is requested.
I don't know yet how to catch this, but in order to increase/disable the timeout:
requirejs.config({
waitSeconds: 0 // 0 disables the timeout completely, default is 7 seconds
});