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

  • Thread starter Thread starter Kalai.Mamani
  • Start date Start date
K

Kalai.Mamani

Guest
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" />
</Exec>

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

Thanks
Kalai

Continue reading...
 

Similar threads

Back
Top