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

Get new instance results in error: TypeError: Cannot read property 'address' of undefined #170

Closed
abcoathup opened this issue Jul 21, 2020 · 4 comments

Comments

@abcoathup
Copy link
Contributor

Pressing Get new instance button on Level 0 results in error in the console:

Uncaught (in promise) TypeError: Cannot read property 'address' of undefined
    at t.default (playerReducer.js:30)
    at combineReducers.js:133
    at c (createStore.js:178)
    at middleware.js:22
    at index.js:14
    at collectStats.js:14
    at syncPlayerProgress.js:5
    at setNetwork.js:7
    at setPlayerAddress.js:5
    at activateLevel.js:7

This occurs when using MetaMask 8.0.4 on Brave with Ropsten network selected with an account with Ropsten ETH.

First reported in the community forum: https://forum.openzeppelin.com/t/ethernaut-problem-with-player-and-ethernaut-are-not-defined/3347

@harsh-98
Copy link

I am also getting the same error with new version of the metamask.

ayasamind added a commit to ayasamind/ethernaut that referenced this issue Jul 23, 2020
@ayasamind ayasamind mentioned this issue Jul 23, 2020
1 task
ayasamind added a commit to ayasamind/ethernaut that referenced this issue Jul 24, 2020
spalladino added a commit that referenced this issue Jul 27, 2020
* Fix #170

* small change of message after build

* [test] change packege-lock.json

* revert

Co-authored-by: ayasamind <masayaliketennis@yahoo.co.jp>
@abcoathup
Copy link
Contributor Author

Hi @harsh-98,

You should be able to play Ethernaut.

Thanks to @ayasamind for the PR. 🙏

@ChrisFenosEY
Copy link

@abcoathup I am getting the same issue. Can use the help() function, but cannot see player or ethernaut.

@ericnickus
Copy link

Uncaught ReferenceError: ethernaut is not defined. - and I am using rinkeby network on metamask .

CeliktepeMurat pushed a commit to CeliktepeMurat/ethernaut that referenced this issue Jan 9, 2023
* Fix OpenZeppelin#170

* small change of message after build

* [test] change packege-lock.json

* revert

Co-authored-by: ayasamind <masayaliketennis@yahoo.co.jp>
CeliktepeMurat pushed a commit to CeliktepeMurat/ethernaut that referenced this issue Jan 9, 2023
* Fix OpenZeppelin#170

* small change of message after build

* [test] change packege-lock.json

* revert

Co-authored-by: ayasamind <masayaliketennis@yahoo.co.jp>
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

4 participants