ccburn 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ccburn.js +6 -1
- package/package.json +1 -1
package/bin/ccburn.js
CHANGED
|
@@ -27,7 +27,12 @@ const child = spawn(binaryPath, process.argv.slice(2), {
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
child.on('error', (err) => {
|
|
30
|
-
|
|
30
|
+
if (err.code === 'ENOENT') {
|
|
31
|
+
console.error('Error: ccburn binary not compatible with this system (likely musl/Alpine Linux).');
|
|
32
|
+
console.error('Install via pip instead: pip install ccburn');
|
|
33
|
+
} else {
|
|
34
|
+
console.error(`Error executing ccburn: ${err.message}`);
|
|
35
|
+
}
|
|
31
36
|
process.exit(1);
|
|
32
37
|
});
|
|
33
38
|
|