Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

第三方node依赖,路径错误 #590

Closed
@Axe-hyx

Description

@Axe-hyx

🐛 Bug Report

开启插件后,会读取.vscode-insiders目录下extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/lib/config.js文件更新js文件,该文件中plugin字段路径错误,导致无法正常启动插件

To Reproduce

code vs使用1.47.0,vscode-leetcode使用0.17.0,默认配置,会出现如下错误

$ proxychains node"/home/switch/.vscode-insiders/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/bin/leetcode"[WARN] Installing missing plugins, might take awhile ...(node:10727) Warning: Accessing non-existent property'padLevels' of module exports inside circular dependency(Use`node --trace-warnings ...` to show where the warning was created)⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/cpp.lint.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/cpp.run.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/github.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/lintcode.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/cookie.chrome.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK⠋ Downloading https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/tree/master/plugins/cookie.firefox.js[proxychains] Strict chain  ...  127.0.0.1:1088  ...  raw.githubusercontent.com:443  ...  OK[ERROR] HTTP Error: 404

Expected behavior

插件应该正常更新

Extension Output

我修改了extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/lib/config.js中的plugin字段为'https://raw.githubusercontent.com/leetcode-tools/leetcode-cli-plugins/master/plugins/$name.js',
之后用proxy更新,回复到正常状态

Your Environment

  • os: archlinux, [majaro distro]
  • extension settings: default
  • nodejs version: v14.3.0
  • vscode version: v1.47.0
  • extension version: v0.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp