Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Import hangs on AWS Lambda #100

Open
dominik992 opened this issue Jul 19, 2019 · 0 comments
Open

Import hangs on AWS Lambda #100

dominik992 opened this issue Jul 19, 2019 · 0 comments

Comments

@dominik992
Copy link

When I try to import truffle-hdwallet-provider on AWS Lambda, the process hangs.
Example:

import fs from 'fs';
import path from 'path';
import Web3 from 'web3';
console.log('contract initialization1');
import HDWalletProvider from 'truffle-hdwallet-provider';
console.log('contract initialization2');

contract initialization1 gets printed while contract initialization2 not.

Locally it works ok.

I tried changing timeout time and other parameters on AWS, but nothing solved the problem so I'm pretty sure the problem is related to the package itself.

Any suggestions?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant