Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
datacrud8 opened this issue Nov 6, 2023 · 3 comments

Comments

@datacrud8
Copy link

datacrud8 commented Nov 6, 2023

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.

@supershaneski
Copy link
Owner

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

@datacrud8
Copy link
Author

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

@datacrud8
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants