I used the libman package manager on Visual Studio 2022 very well, however, the libman freezes in package console manager for a long time today when I use the libman init
command.
The libman --version works well.
PM> libman --version
2.1.161+abc97ecc7d.RR
I found the similar problem in the Visual Studio community but it didn't have any solutions or workarounds.
I clean the cache of libman by below command, however, the issue doesn't resolve.
PM> libman cache clean
Cache cleaned.
PM> libman clean
libman : libman.json was not `found:C:\Users\user\source\repos\BlazorServerTestDynamicAccess\libman.json`
What can I do to resolve this issue?
There are two ways to work around this:
libman init
, add the-y
or--useDefault
parameter. Forlibman install
, make sure you have provided the provider name and destination path libman.json file (using thedefaultProvider
anddefaultDestination
properties), or as parameters (seelibman install --help
).