To resolve NPM dependencies, you should first run "npm install" command on the relevant folders before executing the plugin. Doing whitesource scan for node_modules directory and when scanning ,in resolving dependency. Reference: https://whitesource.atlassian.net/wiki/spaces/WD/pages/34209870/NPM+Plugin https://stackoverflow.com/questions/72784118/unable-resolve-npm-dependencies-while- whitesource-scan-in-jenkins