Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 运行ts项目的声纳扫描仪时出错_Angular_Sonarqube - Fatal编程技术网

Angular 运行ts项目的声纳扫描仪时出错

Angular 运行ts项目的声纳扫描仪时出错,angular,sonarqube,Angular,Sonarqube,我正在为ts项目进行声纳分析。但在分析过程中会出现以下错误。请让我知道问题的原因是什么 信息:------------------------------------------------------------------------ 信息:执行失败 信息:------------------------------------------------------------------------ 信息:总时间:31.904s 信息:最终内存:11M/262M 信息:-----------

我正在为ts项目进行声纳分析。但在分析过程中会出现以下错误。请让我知道问题的原因是什么

信息:------------------------------------------------------------------------ 信息:执行失败 信息:------------------------------------------------------------------------ 信息:总时间:31.904s 信息:最终内存:11M/262M 信息:------------------------------------------------------------------------ 错误:SonarQube扫描仪执行期间出错 错误:无法突出显示文件src/app/Footer/Download/Download.component.spec.ts
错误:原因:3不是指针的有效行。文件src/app/Footer/Download/Download.component.spec.ts有一行

你能发布
Download.component.spec.ts
filefirst几行代码从“@angular/core/testing”导入{async,ComponentFixture,TestBed};从“./download.component”导入{FooterDownloadComponent};描述('FooterDownloadComponent',()=>{let component:FooterDownloadComponent;let fixture:ComponentFixture;