title: ASP.NET Core application won't run: no DIST folder and "Cannot find module './wwwroot/dist/vendor-manifest.json'"
body: <p>I have pulled an existing ASP.NET Core application that previously worked on a different computer.</p>
  
  <p>When I run the application on this computer, I get the following error:</p>
  
  <pre><code>AggregateException: One or more errors occurred. (Cannot find module './wwwroot/dist/vendor-manifest.json'
  Error: Cannot find module './wwwroot/dist/vendor-manifest.json'
  at Function.Module._resolveFilename (module.js:547:15)
  at Function.Module._load (module.js:474:25)
  </code></pre>
  
  <p>If I Google that, I <a href="https://github.com/aspnet/JavaScriptServices/issues/99" rel="noreferrer">end up here</a>, but if I run that I get:</p>
  
  <pre><code>PM&gt; webpack --config webpack.config.vendor.js
  webpack : C:\node_modules\webpack-cli\bin\webpack.js:242
  At line:1 char:1
  + webpack --config webpack.config.vendor.js
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (C:\node_modules...\webpack.js:242:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
  
                  throw err;
                  ^
  
  Error: Cannot find module 'C:\Users\LarsHoldgaard\Documents\Github\Likvido.CreditRisk\Likvido.CreditRisk\webpack.config.vendor.js'
      at Function.Module._resolveFilename (module.js:547:15)
  </code></pre>
  
  <p>Now, this is weird to me.</p>
  
  <p>I have tried to run the <code>npm install</code> and <code>aspnet restore</code>. I can run the Grunt (task runner) without failures. <code>NPM</code> / <code>Node</code> is in my PATH and I run on Windows.</p>
  
  <p>I do not have a <code>wwwroot/DIST</code> folder from any of these actions, which I guess is the problem. </p>
  
  <p>Any idea what I am doing wrong here? :-)</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Marc asked me if it is in the tree. Apparently, it is:</p>
  
  <p><a href="https://i.stack.imgur.com/BhDzi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BhDzi.png" alt="enter image description here"></a></p>
  
  <p>I am unsure how this changes things.</p>