VSCode Salesforce扩展执行SFDX: Deploy This Source to Org命令无响应问题排查求助
VSCode Salesforce扩展执行SFDX: Deploy This Source to Org命令无响应问题排查求助
我最近在做Trailhead的Lightning Web Components基础练习,SFDX: Authorize an Org命令完全正常,能通过弹出的浏览器顺利登录Playground并完成授权。
遇到的问题
但当我右键点击force-app/main/default文件夹,选择SFDX: Deploy This Source to Org时,部署对话框一直卡在加载状态——不管等几个小时都没进展,最后只能点取消。更头疼的是,完全没有任何有意义的错误提示,根本不知道问题出在哪。

已尝试的解决方法
- 重启电脑,问题依旧存在
- 创建了全新的Playground环境,结果还是一样卡着
- 把Salesforce CLI Integration扩展降级到几个月前的版本,问题仍然没有解决
版本信息
VSCode版本(通过帮助 > 关于查看)
Version: 1.95.3 (user setup) Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813 Date: 2024-11-13T14:50:04.152Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631
sf version命令输出
(node:23332) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) @salesforce/cli/2.67.7 win32-x64 node-v22.11.0
sf plugins --core命令输出
(node:21808) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) @oclif/plugin-autocomplete 3.2.8 (core) @oclif/plugin-commands 4.1.8 (core) @oclif/plugin-help 6.2.16 (core) @oclif/plugin-not-found 3.2.25 (core) @oclif/plugin-plugins 5.4.15 (core) @oclif/plugin-search 1.2.14 (core) @oclif/plugin-update 4.6.10 (core) @oclif/plugin-version 2.2.15 (core) @oclif/plugin-warn-if-update-available 3.1.21 (core) @oclif/plugin-which 3.2.17 (core) apex 3.6.2 (core) api 1.3.2 (core) auth 3.6.73 (core) data 3.11.3 (core) deploy-retrieve 3.15.11 (core) info 3.4.18 (core) limits 3.3.39 (core) marketplace 1.3.4 (core) org 5.1.4 (core) packaging 2.9.0 (core) schema 3.3.40 (core) settings 2.4.4 (core) sobject 1.4.45 (core) telemetry 3.6.20 (core) templates 56.3.29 (core) trust 3.7.41 (core) user 3.6.2 (core) Uninstalled JIT Plugins: community 3.3.2 custom-metadata 3.3.37 dev 2.5.0 devops-center 1.2.26 env 3.0.33 functions 1.23.0 signups 2.6.1 @salesforce/sfdx-plugin-lwc-test 1.2.1 @salesforce/sfdx-scanner 4.7.0
有没有大佬能指点一下,具体该怎么做才能解决这个部署无响应的问题?
备注:内容来源于stack exchange,提问作者CodeMed
相关产品推荐
相关产品推荐

