We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b115d8 commit cab3113Copy full SHA for cab3113
npm/src/install.ts
@@ -228,7 +228,10 @@ if (!PLATFORM_SPECIFIC_PACKAGE_NAME)
228
// Skip downloading the binary if it was already installed via optionalDependencies
229
if (!isPlatformSpecificPackageInstalled()) {
230
console.log('Platform specific package not found. Will manually download binary.')
231
- downloadBinaryFromRegistry()
+ downloadBinaryFromRegistry().catch(error => {
232
+ console.error(colors.red, 'Failed to download binary:', error, colors.reset)
233
+ process.exitCode = 1
234
+ })
235
} else {
236
console.log('Platform specific package already installed. Skipping manual download.')
237
}
0 commit comments