Cannot set property 'username' error

I’m running Blockstack (not sure of version, but upadted week of 30 Oct 2017) and get the following error on Chrome Version 62.0.3202.75 (Official Build) (64-bit) on a MacBook Pro showing a blank Blockstack home page when accessing localhost:8888 client:

Uncaught TypeError: Cannot set property ‘username’ of undefined
at IdentityReducer (main.js:14498)
at combination (main.js:192691)
at combination (main.js:192691)
at RootReducer (main.js:15841)
at computeNextEntry (main.js:189983)
at recomputeStates (main.js:190017)
at main.js:190401
at dispatch (main.js:192917)
at createStore (main.js:192992)
at main.js:192353
at main.js:190509
at main.js:192485
at configureStore (main.js:15677)
at Object. (main.js:5734)
at Object.require.43…/routes (main.js:5765)
at s (main.js:1)
at e (main.js:1)
at main.js:1

It works on Firefox and Safari on same machine and Chrome on a MacAir. Is it Chrome’s problem? What’s the deal? Anyone else have this issue?

Hey @callahan, sorry to hear you’re having trouble!

This can happen if you’ve used an older version of the browser in the past. Can you try the following?

  • Make sure you’ve installed the latest version from https://blockstack.org/install
  • Clear your localStorage (i.e. via the development console)
  • Restore your profile from backup using your recovery phrase

That worked! I had to clear the Chrome browser’s “app data”. I understand now… what happened. Thanks!

1 Like