I wonder if anyone has had a similar problem with Durandal.js.
I am getting an intermittent "View Not Found. Searched for" error, which is hard to replicate as only happens very occasionally.
It appears to spawn from the file viewEngine.js when the createView function is unable to locate the view. However the view is present and works 99% of the time.
Anyone had similar issues, or know of a way in which I can track down and fix this issue?
Thanks.
In my case it was require.js causing the problem.
In main.js add the following and add the waitSeconds parameter:
require.config({
waitSeconds : 0
});
This prevents require.js from timing out when trying to load files.
http://requirejs.org/docs/api.html#config-waitSeconds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With