Ethernaut: Uncaught (in promise) TypeError: Cannot read property '_middleware' of undefined

Hi there,

I’m just starting out with the Ethernaut game. I’ve connected metamask and to ropstein. i’ve opened my dev tools but I get an “Uncaught (in promise) TypeError: Cannot read property ‘_middleware’ of undefined” the moment the browsers starts to connect to metamask.

I checked online and I couldn’t find anything related to this specific issue on google or the openzeppelin forums.

Then, whenever I type ‘player’ or ‘getBalance(player)’ or any other functions in the first ‘0. Hello Ethernaut’ chapter, I get the same error on the console.

Any help would be appreciated :slight_smile:


1 Like

Hi @witwiki,

I’m sorry you had this issue.

There is an open issue to fix this:

Hi @witwiki,

Ethernaut Solidity 0.4 and Solidity 0.5 versions are up and running.
Thanks to ayasamind for the PR. :pray: