title: 'Cannot find module' error using karma-browserify on Windows
body: <p>I'm attempting to set up unit testing on an Angular/Browserify project using Karma, Karma-Jasmine, and Karma-Browserify. I'm on a Windows machine, for reference. <code>karma-cli</code> is on my global npm path, and <code>karma</code>, <code>karma-jasmine</code>, <code>karma-browserify</code>, and <code>browserify</code> are all local npm installs, using <code>-D</code>.</p>
  
  <p>I'm trying to pull in a single spec file, which looks like:</p>
  
  <pre><code>var PhoneListCtrl = require('../../../public/js/app/controllers/phone-list');
  
  describe('PhoneListCtrl', function() {
      var scope,
      ctrl;
  
      beforeEach(function() {
          scope = {};
          ctrl = new PhoneListCtrl(scope);
      });
  
      it('should create "phones" model with 3 phones', function() {
          expect(scope).not.toBe(undefined);
      });
  });
  </code></pre>
  
  <p>And I get the following error every time:</p>
  
  <pre><code>Uncaught Error: Cannot find module 'Cc/gGH'
  </code></pre>
  
  <p>I get this exact same error after cloning the following repos, installing karma and all plugins, and attempting to run their example test suites:</p>
  
  <p><a href="https://github.com/xdissent/karma-browserify" rel="noreferrer">https://github.com/xdissent/karma-browserify</a><br>
  <a href="https://github.com/waye929/angular-browserify" rel="noreferrer">https://github.com/waye929/angular-browserify</a></p>
  
  <p>What on earth am I doing wrong? The test spec module is found correctly, and karma seems to be finding all necessary plugins/preprocessors, but it appears that karma-browserify is tripping on the <code>require</code> statement in a spec every time, for reasons I cannot fathom.</p>
  
  <p>I've uninstalled and reinstalled karma and all related plugins numerous times now, to no avail.</p>