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...
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...