[Vuejs]-Uncaught (in promise) TypeError: Cannot read properties of null (reading 'error')

0👍

Find in your code a reference to xyz.error. The value of xyz is set to the value null instead of an object with property error.

Try a text search for the value .error.

-1👍

Replace the xyz.error in your file with "typeof xyz != undefined && typeof xyz.error != undefined"

Leave a comment