Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStatus wont compile: The "[email protected]" library could not be resolved by the "cdnjs" provider

I have the eShopOnContainers solution here: https://github.com/dotnet-architecture/eShopOnContainers. I have been actively working on a variation of it for the last few years. I attempted to compile it this morning and the WebStatus project causes this error:

libman.json(0,0): Error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider

I have found this: https://github.com/aspnet/LibraryManager/issues/685 and this: https://issuemode.com/issues/cdnjs/cdnjs/94570425 (updated yesterday)

So far I have tried what is suggested in the articles:

dotnet tool install -g Microsoft.Web.LibraryManager.Cli (installs version 2.1.75) libman cache clean libman restore

Is there anything else I can try? My Libman.json looks like this:

{
  "version": "1.0",
  "defaultProvider": "cdnjs",
  "libraries": [
    {
      "library": "[email protected]",
      "destination": "wwwroot/lib/jquery/"
    },
    {
      "provider": "unpkg",
      "library": "[email protected]",
      "files": [
        "dist/css/bootstrap.css",
        "dist/css/bootstrap.css.map",
        "dist/css/bootstrap.min.css",
        "dist/css/bootstrap.min.css.map",
        "dist/js/bootstrap.js",
        "dist/js/bootstrap.min.js"
      ],
      "destination": "wwwroot/lib/bootstrap/"
    }
  ]
}
like image 498
w0051977 Avatar asked Oct 25 '25 19:10

w0051977


1 Answers

Try this:

-Right click libman.json

  • Disable Client-Side libraries on build

Build the project

like image 183
Ivannick de Freijtas Avatar answered Oct 28 '25 05:10

Ivannick de Freijtas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!