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: Cannot find module 'scrypt-shim' #317

Closed
jimni1222 opened this issue May 26, 2020 · 0 comments · Fixed by #316
Closed

Error: Cannot find module 'scrypt-shim' #317

jimni1222 opened this issue May 26, 2020 · 0 comments · Fixed by #316
Assignees

Comments

@jimni1222
Copy link
Contributor

jimni1222 commented May 26, 2020

Describe the bug
Circle CI build error

[01:30:23] Error: Cannot find module 'scrypt-shim' from '/home/circleci/repo/packages/caver-wallet/src/keyring'
    at /home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
    at process (/home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
    at ondir (/home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
    at load (/home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
    at onex (/home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
    at /home/circleci/repo/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47

How to reproduce
rm -rf package-lock.json
rm -rf node_modules/
npm install
npm run test

Expected behavior
No error.

Attachments
If applicable, add data, logs or screenshots to help explain your problem.

Environment (please complete the following information)

  • caver-js v1.4.2
  • macOS/10.15

Additional context
refer web3/web3.js#3210

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

Successfully merging a pull request may close this issue.

1 participant