Skip to content

Error that 'bcrypto/lib/pgp' cannot be found when claim airdrop #123

Description

@hatgit

Running latest versions of Node JS and NPM, I am getting the following error (related to line 11 from here) when trying to claim the airdrop:

  throw err;
  ^

Error: Cannot find module 'bcrypto/lib/pgp'
Require stack:
- /Users/Steven/Github/hs-airdrop/bin/hs-airdrop
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/Steven/Github/hs-airdrop/bin/hs-airdrop:11:13)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/Users/Steven/Github/hs-airdrop/bin/hs-airdrop' ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions