2025-04-02 06:50:39 -04:00

17 lines
382 B
JavaScript

exports.noPrebuilts = function (opts) {
return new Error(
[
'No prebuilt binaries found',
'(target=' + opts.target,
'runtime=' + opts.runtime,
'arch=' + opts.arch,
'libc=' + opts.libc,
'platform=' + opts.platform + ')',
].join(' ')
);
};
exports.invalidArchive = function () {
return new Error('Missing .node file in archive');
};