Skip to content

mcrypt is not working using typescript and webpack #83

Description

@moe-mahdiani

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions