After carefully examining my code, I have pinpointed the cause of this error to the following line:
treeNodes.value = documentStore.convertToTree((await axios.get('/File')).data);
Initially, I receive a warning:
Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
Followed by the error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')
I have searched through past threads but unfortunately have not found any useful solutions.
Any suggestions?
Thank you