In case there are missing dependencies in npm cache, we should warn about them and not fail the build.
https://github.com/jfrog/build-info-go/pull/78 fix this issue partially - if the last dependency does not exist in the npm cache, an error may still be returned by CalculateNpmDependenciesList.
[x] I used gofmt for formatting the code before submitting the pull request.
Fixes https://github.com/jfrog/jfrog-cli/issues/1526 Followup https://github.com/jfrog/build-info-go/pull/78
In case there are missing dependencies in npm cache, we should warn about them and not fail the build. https://github.com/jfrog/build-info-go/pull/78 fix this issue partially - if the last dependency does not exist in the npm cache, an error may still be returned by CalculateNpmDependenciesList.