Laravel npm install getting warnings - npm WARN deprecated graceful-fs
<p>I'm new to Laravel, so I'd like some help please. I'm following the training from Laracasts on <a href="https://laracasts.com/series/laravel-5-from-scratch/episodes/6" rel="nofollow noreferrer">how to manage css and js</a>.</p>

<p>When I try to run <code>npm install</code> I get some warnings like</p>

<p><code>npm WARN install Couldn't install optional dependency: Unsupported</code></p>

<p>I also try to install gulp with <code>npm install --global gulp</code>, but I get this</p>

<pre><code>npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases &gt;= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@&lt;3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases &gt;= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
</code></pre>

<p>so basically if I try to run the <code>gulp</code> command I get the <code>No command 'gulp' found</code> from the command line. </p>

<p>Any ideas how to fix this?</p>

<p>Just some additional info: I'm on vm Ubuntu 14.04 and my node.js and npm versions are:</p>

<pre><code>node -v
v5.4.1

npm -v
3.3.12
</code></pre>

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

<p>This is the error I get when I try to run <code>npm install --global gulp</code></p>

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