ITADN

UNEXPECTED ERROR: If this is a bug in WebTorrent, report it! OPEN AN ISSUE: https://github.com/webtorrent/webtorrent-cli/issues

#326ClosedDMTarmey 创建于 2024-11-16
stale
D
DMTarmeycommented
<!-- D npm install -g webtorrent-cli Run shell command? (Y)es/(N)o/(D)on't ask again [Yes]: y Running npm install -g webtorrent-cli npm warn deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm warn deprecated ecstatic@4.1.4: This package is unmaintained and deprecated. See the GH Issue 259. changed 331 packages in 42s 64 packages are looking for funding run `npm fund` for details Add command output to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: y You can use /undo to undo and discard each aider commit. ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── index.js package.json test-connection.js > git clone https://github.com/webtorrent/webtorrent-cli.git cd webtorrent-cli https://github.com/webtorrent/webtorrent-cli.git Add URL to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: y Scraping https://github.com/webtorrent/webtorrent-cli.git... ... done. To proceed with using the WebTorrent CLI from the cloned repository, you need to install its dependencies and link it globally. Here are the steps: 1 Install the dependencies for the WebTorrent CLI. 2 Link the package globally so you can use the webtorrent command from anywhere. Run the following commands: npm install npm link After running these commands, you should be able to use the webtorrent command globally. You can then try running: webtorrent -g This will execute the WebTorrent CLI with the -g option. If you encounter any issues, please let me know! Tokens: 17k sent, 135 received. Cost: $0.04 message, $1.54 session. npm install npm link Run shell commands? (Y)es/(N)o/(S)kip all/(D)on't ask again [Yes]: y Running npm install up to date, audited 2091 packages in 13s 294 packages are looking for funding run `npm fund` for details 21 vulnerabilities (8 moderate, 8 high, 5 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. Running npm link added 1 package, and audited 3 packages in 647ms 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities Add command output to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: y webtorrent -g Run shell command? (Y)es/(N)o/(S)kip all/(D)on't ask again [Yes]: y Running webtorrent -g Error: Unknown argument: g UNEXPECTED ERROR: If this is a bug in WebTorrent, report it! OPEN AN ISSUE: https://github.com/webtorrent/webtorrent-cli/issues DEBUG INFO: webtorrent-cli 5.1.2, webtorrent 2.5.5, node v22.11.0, linux x64, exit 1 Add command output to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: y ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── index.js package.json test-connection.js > O NOT POST LINKS OR REFERENCES TO COPYRIGHTED CONTENT IN YOUR ISSUE. --> **What version of this package are you using?** **What operating system, Node.js, and npm version?** **What happened?** **What did you expect to happen?** **Are you willing to submit a pull request to fix this bug?**
关闭于 2025-01-16 3 条评论