Why am I getting uncaught type error cannot read properties of null (reading 'push') | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why am I getting uncaught type error cannot read properties of null (reading 'push')

0 I have an Issue,I was working on a Contact app where I used local storage b4 I recently changed pc and transfered my vscode folders to new Pc,but I am getting uncaught error type cannot read properties of null (reading 'push') when I try to run code on new Pc . lost all previous saved contacts.please what do I do.

1st Sep 2022, 3:55 PM
steve Purpose
steve  Purpose - avatar
2 Answers
+ 1
You forgot to share a link to the code bit. No one can access your PC, so until they see a copy of the code, they can't help.
5th Sep 2022, 12:31 PM
Ipang
+ 1
Solved the issue .Thanks
6th Sep 2022, 4:47 AM
steve Purpose
steve  Purpose - avatar