Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion npm/src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ if (!PLATFORM_SPECIFIC_PACKAGE_NAME)
// Skip downloading the binary if it was already installed via optionalDependencies
if (!isPlatformSpecificPackageInstalled()) {
console.log('Platform specific package not found. Will manually download binary.')
downloadBinaryFromRegistry()
downloadBinaryFromRegistry().catch(error => {
console.error(colors.red, 'Failed to download binary:', error, colors.reset)
process.exitCode = 1
})
} else {
console.log('Platform specific package already installed. Skipping manual download.')
}
Loading