Protractor still not available after global npm installation
<p>Now I'm having other issues where <code>Protractor</code> is not found after installing using <code>npm -g</code> .</p>

<p><strong><em>Some background:</em></strong></p>

<p>I was previously having issues with npm installs, but it works now that I have set the correct proxy settings at the client site - i.e. .npmrc file exists under c:\Users(myUserName) which contains the registry and proxy keys.</p>

<p>For example, I install Protractor as follows :</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>  C:\Projects\prot-test&gt;npm install -g protractor

  C:\Users\...\AppData\Roaming\npm\webdriver-manager -&gt; C:\Users   \...\AppData\Roaming\npm\node_modules\protractor\bin\webdriver-manager

  C:\Users\...\AppData\Roaming\npm\protractor -&gt; C:\Users\...\AppDataRoam
ing\npm\node_modules\protractor\bin\protractor

  C:\Users\...\AppData\Roaming\npm    `-- protractor@4.0.9</code></pre>
</div>
</div>
</p>

<p>However, as soon as I check the installation, it cannot find it :</p>

<pre><code>C:\Projects\prot-test&gt;protractor --version
'protractor' is not recognized as an internal or external command, operable program or batch file.
</code></pre>

<p>****** <strong><em>UPDATE</em></strong> ******</p>

<p>It does appear to be a Win 7 environment issue with <code>PATH</code> not getting updated (i.e. I'm pretty much on lock-down at the client site).</p>

<p>For example, manually navigating to ..\npm directory seems to be required :</p>

<pre><code>C:\Users\..\AppData\Roaming\npm&gt;protractor --version
</code></pre>

<p>Version 4.0.9</p>

<pre><code>C:\Users\..\AppData\Roaming\npm&gt;
</code></pre>

<p>Your advice is appreciated....
Bob</p>