Running gulp gives "path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path));"
<p>In my Wordpress project I'm using <strong>Laravel Elixir</strong> to deal with assets. Everything was working till today.</p>

<p>Now every time I run <code>gulp</code> I'm getting:</p>

<pre><code>$ gulp
path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received { includePaths:
   [ 'bower_components/foundation-sites/scss/',
     'bower_components/slick-carousel/slick' ] }
    at assertPath (path.js:7:11)
    at Object.join (path.js:1211:7)
    at prefixOne (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/tasks/GulpPaths.js:143:43)
    at GulpPaths.prefix (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/tasks/GulpPaths.js:153:20)
    at GulpPaths.src (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/tasks/GulpPaths.js:44:25)
    at getPaths (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/tasks/recipes/sass.js:33:33)
    at Function.&lt;anonymous&gt; (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/tasks/recipes/sass.js:21:33)
    at Function.&lt;anonymous&gt; (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/bootstrap/EnableExtension.js:16:18)
    at /Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/gulpfile.js:7:9
    at global.Elixir (/Users/slick/Code/Komarnicki2/wp-content/themes/komarnicki/node_modules/laravel-elixir/dist/index.js:21:5)
</code></pre>

<p><a href="https://i.stack.imgur.com/Nay1z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nay1z.png" alt="enter image description here"></a></p>

<p>I thought that maybe there is something wrong with my <code>node_modules</code> directory, so I did <code>rm -rf node_modules</code> and then <code>npm install</code> as usual. Everything was pulled but at the end I saw:</p>

<blockquote>
<pre><code>├── UNMET PEER DEPENDENCY stream-browserify@*
</code></pre>
</blockquote>

<p><a href="https://i.stack.imgur.com/iCAnD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iCAnD.png" alt="enter image description here"></a></p>

<p>I have no idea whether this unmet dependency is the reason. If this can help, this is the output of particular versions of the software I have:</p>

<p><code>node -v</code></p>

<blockquote>
  <p>v7.0.0</p>
</blockquote>

<p><code>npm -v</code></p>

<blockquote>
  <p>3.10.8</p>
</blockquote>

<p><code>gulp -v</code></p>

<blockquote>
  <p>[12:26:22] CLI version 3.9.1 
  [12:26:22] Local version 3.9.1</p>
</blockquote>

<p>Here is <a href="https://gist.github.com/komarnicki/269aa177d32495fcc48c94e811eb962a" rel="nofollow noreferrer">my gulpfile.js</a>.</p>

<p>It doesn't like an array from <code>includePaths</code>? Can I ask for some help? Thank you.</p>

<p>edit:</p>

<p>This is my package.json:</p>

<pre><code>{
  "name": "slick",
  "version": "1.0.0",
  "devDependencies": {
    "gulp": "^3.9.1",
    "laravel-elixir": "^6.0.0-2"
  }
}
</code></pre>