Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hatgit opened this issue Oct 12, 2020 · 2 comments
Open

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

hatgit opened this issue Oct 12, 2020 · 2 comments

Comments

@hatgit
Copy link

hatgit commented Oct 12, 2020

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' ]
@pinheadmz
Copy link
Member

did hs-airdrop install correctly? Do you have a directory hs-airdrop/node_modules/bcrypto ?

@pinheadmz
Copy link
Member

@hatgit any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants