본문 바로가기

error

[Error] Line 1:50: Delete `␍` prettier/prettier 에러 프로젝트를 진행하던 중 기존에는 일반적인 React를 사용하고 JavaScript로 만들던 중 추후 관리와 네이티브를 사용하기 위해 다른팀원분의 도움으로 TypeScript로 바뀌게 되었다. 팀원분이 TS로 변경한 후 push를 하신걸 확인한 후 pull을 받고 yarn install 을 실행하자마자 아름다운 에러로그다 떨어진다... 문제의 해결 방법은 구글링을 통 해 알 수 있었다. 먼저 프로젝트 내에 .esLint 파일을 열어서 아래와 같이 설정을 추가해준다. "error", { "endOfLine": "auto" } 해당 설정값을 추가해준 후 프로젝트를 재실행하면 오류가 해결된다. https://velog.io/@realsong/VS-Delete-prettierprettier-%ED%95%B4%EA.. 더보기
[React] 에러 : A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for .. react_devtools_backend.js:4026 Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component 영어실력이 부족해서 구글번역을 돌려보면 react_devtools_backend.js:4026 경고: 구성 요소가 제어되지 않는 입력을 제어하도록 변경하고 있습니다... 더보기