TypeError: Cannot read properties of undefined
  (reading 'name')
    at getUserName (app.js:12:18)
    at main (app.js:20:3)
