skygragon / leetcode-cli

A cli tool to enjoy leetcode!
MIT License
3.64k stars 457 forks source link

Stuck on missing plugin install #219

Open terror opened 3 years ago

terror commented 3 years ago

After running leetcode version, it seems to get stuck on downloading missing plugins, in particular this one.

Screen Shot 2020-10-16 at 7 15 38 PM

npm -v == 6.14.8 node -v == 14.7.0 os == MacOS Catalina 10.15.7

cultivater commented 3 years ago

I encountered the same problem, any solutions?

terror commented 3 years ago

I encountered the same problem, any solutions?

I have not found a solution. It seems like project development has halted.

ghost commented 3 years ago

You can install the plugin manually.

  1. Download the ${plugin}.js file from https://github.com/skygragon/leetcode-cli-plugins/tree/master/plugins
  2. cp the ${plugin}.js file into ~/.lc/ directory.
  3. Modify ~/.lc/plugins.json. Rewrite the Boolean value of the related plugin from false to true.