Fixing the transcoder on windows

This commit is contained in:
Zoe Roux 2021-08-19 17:31:50 +02:00
parent 18c98fb4f1
commit d6c720319e
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit 3315700b84e8aaa8cd66edcd35257ec06bff5efc
Subproject commit 48782f895a40f28eda5e861fcaa624c0eab54076

View File

@ -35,6 +35,11 @@
<Target Name="PublishRunWebpack" BeforeTargets="BeforeBuild;PrepareForPublish;GetCopyToOutputDirectoryItems"
Condition="'$(SkipWebApp)' != 'true' And '$(Configuration)' != 'Debug'">
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build -- --prod" />