Open Closed

Azure DevOps Build Pipeline failing to restore client libraries (abp install-libs) #8128


User avatar
0
Chris created

Hi Support, I'm creating a build pipeline which should create artifacts to deploy to my staging and production environments. It's failing to restore the client side libraries. The appsettings.secrets.json which has the abp license code included. What else do I need to add to my pipeline to build an Abp project which uses commercial modules?

  • ABP Framework version: v8.3.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:

[23:32:38 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli Checking extensions... [23:32:39 INF] Found 1 projects. [23:32:39 INF] D:\VSTSAgent_work\560\s\src[Redacted].Web [23:32:40 INF] Running Yarn on D:\VSTSAgent_work\560\s\src[Redacted].Web yarn install v1.22.4 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... ##[error]warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/bootstrap > bootstrap@5.3.3" has unmet peer dependency "@popperjs/core@^2.11.8". warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/jquery-validation-unobtrusive > @abp/jquery-validation > jquery-validation@1.21.0" has unmet peer dependency "jquery@^1.7 || ^2.0 || ^3.1". [4/4] Building fresh packages...

  • Steps to reproduce the issue: I've restored the solution and installed the abp cli I'm running the following task in my build pipeline:
  • task: PowerShell@2 displayName: 'Restore Client Side Libraries' inputs: targetType: inline script: | abp install-libs failOnStderr: true

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to use the latest yarn v1.22.x ?

    https://github.com/yarnpkg/yarn/releases

Made with ❤️ on ABP v9.1.0-preview. Updated on October 22, 2024, 09:35