How to install NodeJs in /ClientApp folder? + Core 2.2 React RRS feed

  • Question

  • Hi,

    I have created .NET Core 2.2 react project (using VS 2017 or VS 2019) and build using Docker file (Linux) and installed Nodejs as below.

    Docker file
    RUN curl -sL https://deb.nodesource.com/setup_10.x |  bash -
    RUN apt-get install -g nodejs

    .csproj file

    <Exec Command="node --version" ContinueOnError="true">
          <Output TaskParameter="ExitCode" PropertyName="ErrorCode" />

    The command “node –version” in .csproj file fails. Could you please help how to install NodeJS in /ClientApp folder?


    Sunday, November 10, 2019 8:35 PM


  • ASP.NET Core can be discussed at the ASP.NET forums.


    • Marked as answer by Kalai.Mamani Monday, November 11, 2019 1:20 PM
    Sunday, November 10, 2019 9:30 PM