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

[질문] React 배포 시 빈 화면 #209

Open
symoon9 opened this issue Dec 6, 2022 · 0 comments
Open

[질문] React 배포 시 빈 화면 #209

symoon9 opened this issue Dec 6, 2022 · 0 comments
Labels
project question Further information is requested

Comments

@symoon9
Copy link

symoon9 commented Dec 6, 2022

안녕하세요, React 배포 시 빈 화면이 생기는 오류가 해결되지 않아 질문을 드립니다.

yarn start로 앱을 실행시키면 정상적으로 화면이 보이지만,
yarn build 후 nginx로 배포하거나 npx serve -s build 명령을 실행하면 빈 화면만 보입니다.

Google에 'react blank page' 키워드로 검색해서 다양한 방법을 (package.json에 "homepage": "." 추가 등) 시도해봤지만 해결이 되지는 않았습니다.
원인을 찾고자 개발자 도구에서 'Source'나 'Network' 탭에 들어가보면 css만 로딩된 것을 확인할 수 있었는데 뚜렷한 해결방법은 아직 찾지 못한 상황입니다ㅠ

혹시 이와 같은 상황을 겪으신 분이 계시다면 도움 부탁드립니다!

@gajagajago gajagajago added question Further information is requested project labels Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants