Improve npm install error message
@@ -281,7 +281,8 @@ func (npmi *npmInstall) saveDependenciesData() error {
}
log.Warn(strings.Join(missingDependenciesText, "\n"))
log.Warn("The npm dependencies above could not be found in Artifactory and therefore are not included in the build-info.\n" +
- "Make sure the dependencies are available in Artifactory for this build.")
+ "Make sure the dependencies are available in Artifactory for this build.\n" +
+ "Deleting the local cache will force populating Artifactory with these dependencies.")
}
return nil
}
