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

mcrypt is not working using typescript and webpack #83

Open
moe-mahdiani opened this issue Aug 15, 2019 · 1 comment
Open

mcrypt is not working using typescript and webpack #83

moe-mahdiani opened this issue Aug 15, 2019 · 1 comment

Comments

@moe-mahdiani
Copy link

moe-mahdiani commented Aug 15, 2019

I was using mcrypt in a typescript+webpack project for AWS Lambda function.My unit tests were working fine locally. However after building via webpack and deploying it to AWS it was giving me this error:
module initialization error: TypeError.
I have tried lots to fix it but I did not have any luck. Once I removed importing the locally in my module everything was working fine in AWS.

I could not realise what is the issue so at the end I had to use another library.

@leantorres73
Copy link

I have the same issue.. @moe-mahdiani How did you fix 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