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

generate.js contains a reference to the missing dependency "crypto" #65

Closed
ducho opened this issue Sep 28, 2021 · 4 comments
Closed

generate.js contains a reference to the missing dependency "crypto" #65

ducho opened this issue Sep 28, 2021 · 4 comments

Comments

@ducho
Copy link

ducho commented Sep 28, 2021

I try to use this package with webpack-encore but always module build failed to compile with errors.

Module build failed: Module not found:
"./node_modules/generate-password/src/generate.js" contains a reference to the file "crypto".
This file can not be found, please check it for typos or update it if the file got moved.
@brendanashworth
Copy link
Owner

@ducho did you try using the browser version here: https://github.com/oliver-la/generate-password-browser?

@johnleydelgado
Copy link

how did you solve this ? @ducho

@brendanashworth
Copy link
Owner

@johnleydelgado does generate-password-browser fix the problem for you? there isn't browser support in this repository

@johnleydelgado
Copy link

@brendanashworth im using an expo project with android platform then yah same error with ducho

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

3 participants