leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

Stuck on missing plugin install

Open terror opened this issue 5 years ago • 3 comments

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

terror avatar Oct 16 '20 23:10 terror

I encountered the same problem, any solutions?

cultivater avatar Dec 10 '20 09:12 cultivater

I encountered the same problem, any solutions?

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

terror avatar Dec 11 '20 03:12 terror

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.

ghost avatar Jan 05 '21 07:01 ghost