Keep geeting errors when I use razor views for the updated Hot Towel Template-Collection of common programming errors
I am using the upgraded version of Hot Towel template which has new versions of Durandal, Knockout, Breeze, etc. for a Single Page Application. This process works fine with the older version but not the newest.
This is the error I get:
Unhandled exception at line 93, column 13 in [http://servername:50921/Scripts/durandal/viewEngine.js]
0x800a138f – Microsoft JScript runtime error: Unable to get value of the property ‘length’: object is null or undefined
I have changed the convention for the viewLocator in the main to use my ViewController.
viewLocator.useConvention('viewmodels', '../../view');
viewEngine.viewExtension = '/';
This use to work fine in the previous version of Hot Towel Template.
Please any ideas for the errors… will be grateful for any.
Thanks.