728x90
라이브서버를 이용하는 환경이었습니다.
npx webpack --entry ./source/index.js --output-filename index_bundle.js -o ./public
으로 번들링 이후 Network 탭에서 응답코드가 304이고, 다시 시도된 응답에서는 404 Error가 발생했습니다.
=> 캐시관련이라고 경고메시지가 있어서, 인터넷 캐시를 삭제하고 다시 로드하니 정상 작동하였습니다.
'Error Note' 카테고리의 다른 글
[Error] ESLint 사용 시 import React 생략하기 (0) | 2023.05.13 |
---|---|
[Error] warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>. (0) | 2023.04.07 |