The last analysis has failed. If it keeps on failing after several attempts. Analysis ID: "AXGOYsmv4LlwtK4Glr_V"

  • ALM used: GitHub
  • CI system used: none
  • Scanner command used when applicable (auto)
  • Javascript (NodeJS, NestJS, Typescript)
  • Error observed: doesn’t scan. See this message on top of the screen:
The last analysis has failed. If it keeps on failing after several attempts, please contact us on Community forum and provide the following failing analysis ID: "AXGOYsmv4LlwtK4Glr_V".
  • Steps to reproduce: just make a commit to master, and the auto scanner starts, and then fails.

Welcome to the community!

The analysis fails because of this error:

ERROR: Language of file 'pm2.config.js' can not be decided because
the file matches patterns of both sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
and sonar.lang.patterns.ts : **/*.ts,**/*.js

Please adjust your configuration to remove js as a pattern for one of the languages.