bmpenuelas / systemverilog-formatter-vscode

Beautify SystemVerilog code in VSCode through Verible
MIT License
15 stars 4 forks source link

TypeError: Cannot read properties of undefined (reading 'body') #17

Closed ARC-MX closed 2 weeks ago

ARC-MX commented 2 years ago

我在一个新机器上安装这个插件,是安装在vscode远程宿主机上的,发现一运行就报这个错误不知道是为什么 单独下载verible 使用verible-verilog-format是正常的。 SystemVerilog: Indexing: Unable to process file: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv TypeError: Cannot read properties of undefined (reading 'body') Auto Indexing: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv SystemVerilog: Indexing: Unable to process file: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv TypeError: Cannot read properties of undefined (reading 'body') Auto Indexing: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv SystemVerilog: Indexing: Unable to process file: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv TypeError: Cannot read properties of undefined (reading 'body') Auto Indexing: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv SystemVerilog: Indexing: Unable to process file: file:///data/mxwang/Project/FPGA/ZCU104/wpu_acc_mig_base/wpu_acc_mig_base.srcs/sim_1/imports/new/tb_axi_mig_wrapper.sv TypeError: Cannot read properties of undefined (reading 'body')

bmpenuelas commented 2 years ago

Hi, can you please describe your issue in English?

Also please attach the console logs when you get the error. Click Help > Toggle Developer Tools, go to the Console tab, and run the command that makes it fail.

bmpenuelas commented 2 weeks ago

Closing since no more info was provided, feel free to reopen it if you can provide more info to reproduce the issue and logs.