POSIdev-community / AI.Plugin.VSCode

PT AI IDE Plugin for Visual Studio Code
Other
22 stars 0 forks source link

It fails in scan stage #2

Closed OchirDarmaev closed 4 months ago

OchirDarmaev commented 1 year ago

vscode

Version: 1.76.0 Commit: 92da9481c0904c6adfe372c12da3b7748d74bdcb Date: 2023-03-01T10:23:06.752Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Darwin arm64 21.6.0 Sandboxed: No

extention

PT Application Inspector v1.2.0

os

Mac Air M1 2020 macOsVenture 13.2.1

Output

Scanning started
VFSSetup 0%
VFSSetup 1%
VFSSetup 2%
VFSSetup 3%
VFSSetup 4%
VFSSetup 5%
VFSSetup 6%
VFSSetup 7%
VFSSetup 8%
VFSSetup 9%
VFSSetup 10%
VFSSetup 11%
VFSSetup 12%
VFSSetup 13%
VFSSetup 14%
VFSSetup 15%
VFSSetup 16%
VFSSetup 17%
VFSSetup 18%
VFSSetup 19%
VFSSetup 20%
VFSSetup 21%
VFSSetup 22%
VFSSetup 23%
VFSSetup 24%
VFSSetup 25%
VFSSetup 26%
VFSSetup 27%
VFSSetup 28%
VFSSetup 29%
VFSSetup 30%
VFSSetup 31%
VFSSetup 32%
VFSSetup 33%
VFSSetup 34%
VFSSetup 35%
VFSSetup 36%
VFSSetup 37%
VFSSetup 38%
VFSSetup 39%
VFSSetup 40%
VFSSetup 41%
VFSSetup 42%
VFSSetup 43%
VFSSetup 44%
VFSSetup 45%
VFSSetup 46%
VFSSetup 47%
VFSSetup 48%
VFSSetup 49%
VFSSetup 50%
VFSSetup 51%
VFSSetup 52%
VFSSetup 53%
VFSSetup 54%
VFSSetup 55%
VFSSetup 56%
VFSSetup 57%
VFSSetup 58%
VFSSetup 59%
VFSSetup 60%
VFSSetup 61%
VFSSetup 62%
VFSSetup 63%
VFSSetup 64%
VFSSetup 65%
VFSSetup 66%
VFSSetup 67%
VFSSetup 68%
VFSSetup 69%
VFSSetup 70%
VFSSetup 71%
VFSSetup 72%
VFSSetup 73%
VFSSetup 74%
VFSSetup 75%
VFSSetup 76%
VFSSetup 77%
VFSSetup 78%
VFSSetup 79%
VFSSetup 80%
VFSSetup 81%
VFSSetup 82%
VFSSetup 83%
VFSSetup 84%
VFSSetup 85%
VFSSetup 86%
VFSSetup 87%
VFSSetup 88%
VFSSetup 89%
VFSSetup 90%
VFSSetup 91%
VFSSetup 92%
VFSSetup 93%
VFSSetup 94%
VFSSetup 95%
VFSSetup 96%
VFSSetup 97%
VFSSetup 98%
VFSSetup 99%
VFSSetup 100%
Initialize 0%
Initialize 25%
Initialize 50%
Initialize 100%
Precheck 0%
Precheck 100%
Precheck 33%
Precheck 100%
Scan 0%
Scan 1%
Scan 12%
Scan 13%
Scan 14%
Scan 15%
Scan 16%
Scan 17%
Scan 18%
Scan 20%
Scan 21%
Scan 23%
Scan 26%
Scan 32%
Scan 34%
Scan 36%
Scan 37%
Scan 38%
Scan 41%
Scan 45%
Scan 47%
Scan 50%
Scan 51%
Scan 55%
Scan 63%
Scan 69%
Scan 73%
Scan 76%
Scan 77%
Scan 78%
Scan 79%
Scan 81%
Scan 87%
Scan 90%
Scan 93%
Scan 96%
Scan 97%
Scan 98%
Scan 99%
Scan 100%
Finalize 0%
Finalize 33%
Finalize 100%
Done 0%
Scanning finished
The VFSSetup stage was completed in 24814 milliseconds(58.27% of Total Time)
The Initialize stage was completed in 1 milliseconds(0.00% of Total Time)
The Precheck stage was completed in 1 milliseconds(0.00% of Total Time)
The Scan stage was completed in 17731 milliseconds(41.64% of Total Time)
The Finalize stage was completed in 35 milliseconds(0.08% of Total Time)
Scan Results:
Scanned File Count: 2159
Scanned Duration: 00:00:43.1465943
Total Vulnerability Count: 6
High Level Vulnerability Count: 1
Medium Level Vulnerability Count: 1
Low Level Vulnerability Count: 0
Potential Level Vulnerability Count: 4

We run into an error:
Error in the JavaScript module
This error is critical
Level: Error
The error happened on stage: Precheck

project

microservice on the nest.js

vldF commented 1 year ago

Hello! Thank you for using our VSCode extension

There could be a few errors look like your. Can you perform some diagnostics?

  1. When you start a scan, the stage named "precheck" starts. Could you check is node process runs in the stage?
  2. Also, could you turn the Analyzer log level option in settings to Trace and attach logs to this issue? Logs are located in your project in .ai/Logs. Please, attach the last ones (that were written on the Trace level)

Also, you could try to reboot your machine -- sometimes this move helps :)