Browse Source

Warn if yarn is not available.

pull/12972/head
maliming 4 years ago
parent
commit
a14c650780
No known key found for this signature in database GPG Key ID: 96224957E51C89E
  1. 5
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs

5
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs

@ -54,6 +54,11 @@ public class InstallLibsService : IInstallLibsService, ITransientDependency
return;
}
if (!IsYarnAvailable())
{
Logger.LogWarning("YARN is not installed, which may cause package inconsistency, please use YARN instead of NPM. visit https://classic.yarnpkg.com/lang/en/docs/install/ and install YARN");
}
Logger.LogInformation($"Found {projectPaths.Count} projects.");
foreach (var projectPath in projectPaths)
{

Loading…
Cancel
Save