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

missing dependency crypto #173

Open
datajango opened this issue Apr 2, 2020 · 2 comments
Open

missing dependency crypto #173

datajango opened this issue Apr 2, 2020 · 2 comments

Comments

@datajango
Copy link

I imported to a Angular 9 project and am getting a missing module called crypto

ERROR in G:/dev1/css-learning/node_modules/fakergem/lib/faker/bitcoin.js
Module not found: Error: Can't resolve 'crypto' in 'G:\dev1\css-learning\node_modules\fakergem\lib\faker'
ERROR in G:/dev1/css-learning/node_modules/fakergem/lib/faker/crypto.js
Module not found: Error: Can't resolve 'crypto' in 'G:\dev1\css-learning\node_modules\fakergem\lib\faker'

@datajango
Copy link
Author

its a node module. I wanted to use your library in the browser.

@mrstebo
Copy link
Owner

mrstebo commented Aug 7, 2020

Thank you for raising this issue. I don't think there are many modules that are node-specific. So it shouldn't be too difficult to make this compatible for front end projects. I'll definitely have a look into it 👍

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