title: angular-route error Arguments to path.json must be strings
body: <p>I am having a hard time figuring out what this error means. 
  I have the following <code>bower.json</code>:</p>
  
  <pre><code>    ...
  "dependencies":{
  "angular-route":"~1.2.18",
  "angular":"~1.2.18"
  }
  </code></pre>
  
  <p>Upon installing my bower packages through <code>bower install</code> I get the following error:</p>
  
  <pre><code>bower angular-route#~1.2.20      error Arguments to path.join must be strings
  Stack trace:
  TypeError: Arguments to path.join must be strings
      at path.js:360:15
      at Array.filter (native)
      at Object.exports.join (path.js:358:36)
      at GitHubResolver._checkout (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/lib/core/resolvers/GitHubResolver.js:54:21)
      at /home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/lib/core/resolvers/GitResolver.js:69:21
      at _fulfilled (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:798:54)
      at self.promiseDispatch.done (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:827:30)
      at Promise.promise.promiseDispatch (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:760:13)
      at /home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:574:44
      at flush (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:108:17)
  Console trace:
  Trace
      at StandardRenderer.error (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/lib/renderers/StandardRenderer.js:72:17)
      at Logger.&lt;anonymous&gt; (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/bin/bower:111:22)
      at Logger.EventEmitter.emit (events.js:95:17)
      at Logger.emit (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
      at /home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/lib/commands/index.js:40:20
      at _rejected (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/q/q.js:797:24)
      at /home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/q/q.js:823:30
      at Promise.when (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/q/q.js:1035:31)
      at Promise.promise.promiseDispatch (/home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/q/q.js:741:41)
      at /home/ubuntu/.nvm/v0.10.26/lib/node_modules/bower/node_modules/q/q.js:557:44
  System info:
  Bower version: 1.3.7
  Node version: 0.10.26
  OS: Linux 3.13.0-29-generic x64
  </code></pre>
  
  <p>Now, I have to mention that I have done the same thing for about a week, and everything was working correctly, with exactly the same setup. 
  I have noticed that <a href="https://github.com/angular/angular.js" rel="noreferrer">https://github.com/angular/angular.js</a> has released a new version 1.2.20 recently, but even installing that I get the same error. </p>
  
  <p>Some context: I am using nodejs, express and angular in my application. I can provide more info if needed (e.g., package.json, main server file).
  Any help would be highly appreciated.</p>