callcenter-simulator icon indicating copy to clipboard operation
callcenter-simulator copied to clipboard

npm run build failed with error ReferenceError: document is not defined

Open datacrud8 opened this issue 1 year ago • 3 comments

when build this project getting this error like error ReferenceError: document is not defined under the path app/admin/page tried with many solutions liek if (typeof window !== "undefined") { useEffect , etc but not build getting failed.

Can you able to build this project in your local, please let me know how to build this.

datacrud8 avatar Nov 06 '23 03:11 datacrud8

I will look into it but OpenAI just updated many things so I will also need to update everything here.

supershaneski avatar Nov 07 '23 23:11 supershaneski

Sure, thank you. Please update when build is ready.

datacrud8 avatar Nov 08 '23 03:11 datacrud8

did you get the chance to get build work? please update.

datacrud8 avatar Nov 15 '23 21:11 datacrud8