error.js 355 B

1234567891011121314
  1. exports.noPrebuilts = function (opts) {
  2. return new Error([
  3. 'No prebuilt binaries found',
  4. '(target=' + opts.target,
  5. 'runtime=' + opts.runtime,
  6. 'arch=' + opts.arch,
  7. 'libc=' + opts.libc,
  8. 'platform=' + opts.platform + ')'
  9. ].join(' '))
  10. }
  11. exports.invalidArchive = function () {
  12. return new Error('Missing .node file in archive')
  13. }