Analysis failing because of resources hoard when node_modules/
is present with lots of dependencies
#4490
Labels
type: bug
Exceptions and blocking issues during analysis
node_modules/
is present with lots of dependencies
#4490
It seems that our current implementation of dependencies inspection is quite resource hungry and could be optimized. When there are many of them, the analysis can timeout and fail as reported in this community ticket.
The current workaround is to analyze the code without its dependencies by simply deleting the
node_modules/
folder before running the analysis.However, we must optimize the dependencies inspection element. Some fixes can be:
sonar.exclusions
for the dependencies folder traversalThe text was updated successfully, but these errors were encountered: