title: How to push React with .Net core application to heroku?
body: <p>I have completed making one application using react in front end and .net core at backend. Now I need to publish this repository to heruko. Locally, when I do dotnet build and run it it works fine but while pushing it to heroku i am getting an error</p>
  <blockquote>
  <p>:   /bin/sh: 2: /tmp/tmp35fd435a650b4b94a93ab28064f9c447.exec.cmd: npm: not found
  remote: /tmp/build_46ea6d26/API/API.csproj(50,3): error MSB3073: The command &quot;npm install&quot; exited with code 127.
  remote:  !     Push rejected, failed to compile ASP.NET Core app.
  remote:
  remote:  !     Push failed
  remote: Verifying deploy...
  remote:
  remote: !       Push rejected to librarymanagementsysteminsight.
  remote:
  To <a href="https://git.heroku.com/librarymanagementsysteminsight.git" rel="nofollow noreferrer">https://git.heroku.com/librarymanagementsysteminsight.git</a>
  ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'https://git.heroku.com/librarymanagementsysteminsight.git'</p>
  </blockquote>
  <p>What am I missing here?</p>