title: "Route Not Found" in console window when Durandal is trying to load first page of app
body: <p>I'm getting "Route not found" in the console window on trying to load an app converted from 1.2 to 2.0.  Is there any way I can debug what route it's trying to find at the point of failure please?  It would be handy if it said, "cannot find route:/viewmodels/wrongfolder/startup" or something!</p>
  
  <p>Please be aware that ALL of this was working perfectly prior to upgrading from 1.2 to 2.0, so it's differences in the Durandal settings that I need to address. No files have been removed or lost or moved, so it's not that things have changed in the app outside of the new versions of scripts being updated by nuget.</p>
  
  <p>main.js and  config.js live in root of "app" folder. Shell.js is in app/viewmodels and shell.html is in app/views. All views/viewmodels are in the relevant folders below the main /app folder.</p>
  
  <p>I have a "config.js" file with routes returned:</p>
  
  <pre><code>var routes = [{
      route: 'home',
      moduleId: 'home',
      title: 'Home',
      nav: true
  }, {
      route: 'labTool',
      moduleId: 'labTool',
      title: 'Lab Tool',
      nav: true
  }];
  
  var startModule = 'labTool';
  </code></pre>
  
  <p>main.js:</p>
  
  <pre><code>//specify which plugins to install and their configuration
  app.configurePlugins({
      router: true,
      dialog: true,
      widget: false
  });
  
  app.start().then(function () {
      viewLocator.useConvention();
      router.makeRelative({ moduleId: 'viewmodels' });
      app.setRoot('viewmodels/shell');
  
      router.handleInvalidRoute = function (route, params) {
          logger.logError('No route found', route, 'main', true);
      };
  });
  </code></pre>
  
  <p>Shell.js:</p>
  
  <pre><code>    var inEditMode = ko.observable(false); //set edit mode to false at start
  
      var shell = {
          activate: activate,
          router: router,
          inEditMode: inEditMode
      };
      return shell;
  
  
      function activate() {
          return datacontext.primeData()
              .then(boot)
              .fail(failedInitialization);
      }
  
      function boot() {
          logger.log('Application Loaded!', null, system.getModuleId(shell), true);
          router.map(config.routes).buildNavigationModel();
          return router.activate(config.startModule);
      }
  
      function failedInitialization(error) {
          var msg = 'App initialization failed: ' + error.message;
          logger.logError(msg, error, system.getModuleId(shell), true);
      }
  </code></pre>
  
  <p>Some of the code may still need editing to handle the change from 1.2 to 2.0 but I think I have most of it now.</p>