excubo-ag / WebCompiler

Apache License 2.0
149 stars 30 forks source link

Error code 127 #9

Closed nicolas63 closed 3 years ago

nicolas63 commented 3 years ago

On ci with github action i have this logs when webcompiler run /home/runner/test-integration/samples/jwt-with-blazor-app/src/JhipsterSampleApplication.Client/JhipsterSampleApplication.Client.csproj(73,5): error MSB3073: The command "webcompiler -r wwwroot/content/scss -o wwwroot/content/css -z disable -p disable" exited with code 127.

https://github.com/jhipster/jhipster-dotnetcore/pull/325/checks?check_run_id=1137238415

Can you help me ?

stefanloerwald commented 3 years ago

Hi @nicolas63

Unfortunately errors like that - when they happen as part of the MSBuild process - are hard to diagnose in a build pipeline. I recommend creating a separate build step before this one for the use of webcompiler, which should give you access to the error output of webcompiler. Then you should be able to identify the issue with the compilation process of the scss files.

elken commented 3 years ago

webcompiler: not found

You forgot to either setup webcompiler as a local tool and dotnet tool restore or install globally earlier.

nicolas63 commented 3 years ago

thanks for your help it's work