title: Defining AspNetCoreHostingModel in csproj throws Failed to start 'npm' exception
body: <p>The ASP.NET Core 2.2 update has this new <code>AspNetCoreHostingModel</code> property that can be set to <code>InProcess</code> or <code>OutOfProccess</code>. If I add the property in the <code>csproj</code> and it doesn't matter to which option I set, I get the following error:</p>
  
  <pre><code>AggregateException: One or more errors occurred. (One or more errors occurred. (Failed to start 'npm'. To resolve this:
  [1] Ensure that 'npm' is installed and can be found in one of the PATH directories.
  Current PATH enviroment variable is: (there are some 20 paths before this last one);C:\Program Files\nodejs;
  Make sure the executable is in one of those directories, or update your PATH.
  </code></pre>
  
  <p>The path to <code>npm</code> is already stated there, so what else can be the problem?</p>