Deployment of FlashLoan-Box is failing

Hi. I am following the tutorial…-with-truffle.

After to do “migrate --reset”, I am getting the following error:

Starting migrations…

Network name: ‘ropsten’
Network id: 3
Block gas limit: 8000000 (0x7a1200)


Deploying ‘Migrations’

**Error: *** Deployment Failed *****

"Migrations" – senderAddress.toLowerCase is not a function.

at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:364:1
at process._tickCallback (internal/process/next_tick.js:68:7)


I am not seeing that I am doing something wrong, please, Can you help me?

It looks like the error lies in senderAddress.toLowerCase - you may want to check your code to make sure that function is set up properly, as it’s not being recognized as one.

Thank you again :).

Yes, the issue is that it is the “plug & play” code. It is from Aave repo. I opened an issue in Github.

I will try to debug more and wait for the fix.