Home > Blockchain >  The libman package manager freezes in initialization
The libman package manager freezes in initialization

Time:03-07

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 enter image description here

CodePudding user response:

There are two ways to work around this:

  1. Use a different console. As mentioned in the VS Developer Community issue:

But the Package Manager Console isn't a real command line, and doesn't provide the ability for a program to read input.

  1. Avoid any prompts for user input. For libman init, add the -y or --useDefault parameter. For libman install, make sure you have provided the provider name and destination path libman.json file (using the defaultProvider and defaultDestination properties), or as parameters (see libman install --help).
  • Related