-
Notifications
You must be signed in to change notification settings - Fork 5.6k
docker-compose build command is failing #756
Comments
@kedarbindu I had the same issue. I got it resolved on its own upon building once again. EDIT: Actually I experienced it with eShopOnContainers. |
Still same issue here with both eShopOnConatiners and eShopOnWeb I did update the dotnet CLI too. [WORKAROUND] After this i could build the project with "dotnet build" |
It seems Cdnjs updated the API. |
* fix issue #756 * update all nuget package
* fix issue dotnet-architecture/eShopOnWeb#756 * update all nuget package
* fix issue dotnet-architecture#756 * update all nuget package
I am trying to clone and build (using docker-compose build) this repository on an Ubuntu 20.04 VM. However, this fails while trying to restore some dependencies using libman. This is the error I get: libman.json: error LIB002: The [email protected] library could not be resolved by the cdnjs provider [/app/src/Web/Web.csproj]
here is a slightly longer log console log:
`Step 7/11 : RUN dotnet publish -c Release -o out
---> Running in ca18bec26643
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /app/src/Web/Web.csproj (in 3.62 sec).
4 of 5 projects are up-to-date for restore.
Restore operation started
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider [/app/src/Web/Web.csproj]
One or more libraries failed to restore
The command '/bin/sh -c dotnet publish -c Release -o out' returned a non-zero code: 1
ERROR: Service 'eshopwebmvc' failed to build : Build failed
`
Searching for this error lead me to this issue aspnet/LibraryManager#685 (comment)
I have tried the solution mentioned in this post (from the same issue): aspnet/LibraryManager#685 (comment) but it did not resolve it for me.
Can you please help?
The text was updated successfully, but these errors were encountered: