adrianhajdin / collaborative-editor

Learn how to build any collaborative application by building LiveDocs, an improved Google Docs that manages millions of collaborators in real-time.
https://jsm-live-docs.vercel.app
397 stars 105 forks source link

Getting error while loading document (GET document) #18

Open vinodpatil2002 opened 1 week ago

vinodpatil2002 commented 1 week ago

I am using the same package.json as this repo to avoid conflicts with the dependecies but i am getting this error regarding editorStatus(). I have even pasted the same code as this repo's Editor.tsx but still getting the same error. Not able to solve it. Please help!!

image

vinodpatil2002 commented 1 week ago

The error was solved: It was regarding the dependencies, previously one person had the same issue and heres the link for the solution

https://github.com/adrianhajdin/collaborative-editor/issues/9#issuecomment-2272597807

NOTE: after u install dont become oversmart like me and type npm audit fix --force after it says theres a vulnerablity. It again installs the newer version which will again cause the same error and u'll not be able to figure out for days.