
String downloadUrl = nodeDownloadRoot + config.getPlatform().getNodeDownloadFilename(nodeVersion);
</BUG>
String classifier = config.getPlatform().getNodeClassifier();
File tmpDirectory = getTempDirectory();
<BUG>CacheDescriptor cacheDescriptor = new CacheDescriptor("node", nodeVersion, classifier, "tar.gz");
</BUG>
File archive = config.getCacheResolver().resolve(cacheDescriptor);
downloadFileIfMissing(downloadUrl, archive, userName, password);
extractFile(archive, tmpDirectory);

throw new InstallationException("Could not copy npm", e);
}
}
private void installNodeDefault() throws InstallationException {
try {
final String longNodeFilename = config.getPlatform().getLongNodeFilename(nodeVersion, false);
String downloadUrl = nodeDownloadRoot + config.getPlatform().getNodeDownloadFilename(nodeVersion, false);
String classifier = config.getPlatform().getNodeClassifier();
File tmpDirectory = getTempDirectory();
CacheDescriptor cacheDescriptor = new CacheDescriptor("node", nodeVersion, classifier, config.getPlatform().getArchiveExtension());
File archive = config.getCacheResolver().resolve(cacheDescriptor);
downloadFileIfMissing(downloadUrl, archive, userName, password);
extractFile(archive, tmpDirectory);
