Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2.chunk.js:1 TypeError: Cannot read properties of undefined (reading 'item')

I am working on an Angular 13 project with Angular Material and have gotten this error

2.chunk.js:1 TypeError: Cannot read properties of undefined (reading 'item')
at ha (tabPrompt.chunk.js:1:3252851)
at Xo (2.chunk.js:1:260619)
at ji (2.chunk.js:1:267476)
at Ii (2.chunk.js:1:274220)
at Va (2.chunk.js:1:298431)
at qa (2.chunk.js:1:298815)
at Pu (2.chunk.js:1:305712)
at ju (2.chunk.js:1:305092)
at Eu (2.chunk.js:1:304113)
at Ja (2.chunk.js:1:302987)

I removed the most recent chuck of code I added and still got the error mentioned above. I tried going through and removing any code that was questionable but I still got that error! I don't understand what is happening and cannot find where the error is coming from. Someone, please help me!

like image 600
Dovi Rosner Avatar asked Sep 08 '25 03:09

Dovi Rosner


1 Answers

Just in case other people come across this, in my case it was LastPass that was throwing this error in my console.

like image 187
Travis Avatar answered Sep 09 '25 22:09

Travis