Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Libraries could not be resolved by the "cdnjs" provider #1942

Closed
lfdesousa opened this issue Jul 25, 2022 · 2 comments
Closed

Libraries could not be resolved by the "cdnjs" provider #1942

lfdesousa opened this issue Jul 25, 2022 · 2 comments

Comments

@lfdesousa
Copy link

Hi,
While trying to do a docker-compose build I randomly get errors like the one below, is this also related with this issue ?
aspnet/LibraryManager#685

 ---> Running in e9466a7c9528
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /src/Web/WebStatus/WebStatus.csproj (in 11.01 sec).

  Restore operation started...
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/src/Web/WebStatus/WebStatus.csproj]

  One or more libraries failed to restore

The command '/bin/sh -c dotnet publish -c Release -o /app' returned a non-zero code: 1
ERROR: Service 'webstatus' failed to build : Build failed
@lfdesousa
Copy link
Author

I think that I found a solution here: d719444

I tried it locally and it is working for me

@erjain
Copy link
Contributor

erjain commented Jul 25, 2022

Hi @lfdesousa, thanks for reporting this issue and suggesting a solution. I am linking PR #1939 already created to resolve this issue. I am closing this issue, please feel free to reopen it in case of any further queries.

@erjain erjain closed this as completed Jul 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants