title: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
body: <p>From researching BLE Beacons I have came across Hacktimote Project. Cloning, updating dependencies, and running, I have came across this error: </p>
  
  <p>TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string</p>
  
  <p>I have narrowed this error down to:</p>
  
  <pre><code>    module.exports = {
  
    output: {
  
      path: path.join(__dirname, 'www'),
      filename: '[name].js',
      chunkFilename: '[chunkhash].js'
  </code></pre>
  
  <p>When placing <code>publicPath: '',</code></p>
  
  <p>the project runs, however, nothing displays on the webpage. </p>
  
  <p>App has been developed with: </p>
  
  <p>Angularjs, ionic-sdk, webpack, gulp and cordova plugins</p>
  
  <p>The link to the repo is: </p>
  
  <p><a href="https://github.com/Hacktimote/SlackBooking/tree/master/client" rel="nofollow noreferrer">https://github.com/Hacktimote/SlackBooking/tree/master/client</a></p>