title: how to solve The NPM script 'start' exited without indicating that the Angular CLI
body: <p>i am facing this error please help me this when i publish my app in IIS with angularjs please help me  how to solve this error iam using .net core 2.1 and angularjs . In visual studio working fine I am facing this error in IIS</p>
  
  <pre><code>  services.AddSpaStaticFiles(configuration =&gt;
              {
                  configuration.RootPath = "ClientApp/dist";
              });
              });
  
  
  app.UseSpa(spa =&gt;
          {
              // To learn more about options for serving an Angular SPA from ASP.NET Core,
              // see https://go.microsoft.com/fwlink/?linkid=864501
  
              spa.Options.SourcePath = "ClientApp";
  
              if (env.IsDevelopment())
              {
                  spa.UseAngularCliServer(npmScript: "start");
              }
          });
  </code></pre>
  
  <p>Error Screenshot:
  <img src="https://i.stack.imgur.com/bY9Ox.jpg" alt="screenshot"></p>