AppWorks icon indicating copy to clipboard operation
AppWorks copied to clipboard

代码质量监测 扫描失败

Open isLiuyinghao opened this issue 4 years ago • 10 comments

插件名/Extension: app doctor

您的本地环境信息/Your local environment information

  • 操作系统及其版本/System and Version:
  • Node version: v14.9.0
  • npm version: 6.14.8

您遇到的问题及复现步骤/What are your problems and how to reproduce them

使用 质量检测仪进行代码质量监测时, 出现扫描失败的情况

报错截图

image

代码结构

image

image

您期待的正确结果/The right result you're looking forward to

isLiuyinghao avatar Jan 13 '22 03:01 isLiuyinghao

image 可以打开控制台有什么报错出现吗

luhc228 avatar Feb 16 '22 03:02 luhc228

你好,很高兴可以回复我的bug

  1. 当我点击 打开质量检测仪时

控制台出现了如下的报错

Message ID: @.***>

  1. 当我要进行项目代码质量检查时:

以上,就是全部的报错了,期待您的修复

isLiuyinghao avatar Feb 16 '22 03:02 isLiuyinghao

Same Error

ScreenShot: image

full short message: "Command failed with exit code 1: /Applications/Visual Studio Code.app/Contents/MacOS/Electron /Users/yinxing/.vscode/extensions/iceworks-team.iceworks-doctor-1.1.7/node_modules/@appworks/doctor/lib/workers/eslint/index.js /Users/yinxing/Project/lp/tmp/12/lp-benefits-brand /Users/yinxing/.vscode/extensions/iceworks-team.iceworks-doctor-1.1.7/node_modules/@appworks/doctor/lib/tmp/ rax-ts undefined"

yinxing-ws avatar Feb 16 '22 09:02 yinxing-ws

Same as here:

image

roark47 avatar Apr 12 '22 08:04 roark47

可以 发下 eslintrc 文件 和 package.json 的内容吗

fyangstudio avatar Apr 13 '22 03:04 fyangstudio

#1003

fyangstudio avatar Apr 21 '22 08:04 fyangstudio

文件太多导致失败:originalMessage: 'spawn ENAMETOOLONG',
由于文件太多,导致命令参数过长

wangzhengbo avatar Aug 15 '22 06:08 wangzhengbo

具体失败的是jscodeshift.js命令,jscodeshift.js会将所有扫描的文件拼接起来作为参数传递

wangzhengbo avatar Aug 15 '22 06:08 wangzhengbo

@fyangstudio 请问下,文件太多导致的问题,会不会考虑提供修复呢?

wangzhengbo avatar Aug 15 '22 06:08 wangzhengbo

Windows 10下的问题

wangzhengbo avatar Sep 08 '22 10:09 wangzhengbo