본문 바로가기
반응형

이슈(오류)/해결10

git - fatal: Authentication failed for 관련 해결 git add 와 git commit -m " " 까지는 순조롭다가 git push origin master 에서 Username과 Password 입력하고 난뒤 오류. remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/******/*****.git/' github나 gitlab 에서 아이디 비번이 변경 되었는데 local에서 변하지 않았기 때문이다. - 해결 방법 git config --system --unset credential.helper 코드블럭에 있는 코드를 입력하고 다시 push를 했을때 Username과 Password를 다시 물어본다. 이때 github이나 gitlab 에서 바.. 2020. 12. 18.
git - CRLF 오류 해결 git add . 를 했을때 뜨는 오류 warning: LF will be replaced by CRLF in src/App.js. The file will have its original line endings in your working directory. 개행 문자 관련임. - 윈도우 git config --global core.autocrlf true - 리눅스 or 맥 git config --global core.autocrlf input - 오류 메시지만 끄고 싶을 때 git config --global core.safecrlf false 2020. 12. 18.
gitbash 에서 git push 오류 해결 ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://~~~~.git' 오류가 뜨면서 push가 안될때 git push -f origin -f는 force 의 약자로 강제로 덮어씌운다. 2020. 12. 16.
[HMR] Waiting for update signal from WDS 해결 console.log 코드가 react 앱의 개발자 도구에서 보이지 않는다. [HMR] Waiting for update signal from WDS... 이런식으로 나올 경우 vs코드 왼쪽 폴더경로에서 node_modules -> webpack -> hot 경로를 찾은 뒤에 log.js 파일을 클릭한다. - log.js 파일 수정 해당 부분을 찾아서 함수 { } 중괄호 안에 있는 내용을 // 주석처리 해준다. 주석 처리는 해당 부분 드래그 해서 선택한후 Ctrl + / 눌러주면 된다. module.exports = function(level, msg) { // if (shouldLog(level)) { // if (level === "info") { // console.log(msg); // } els.. 2020. 12. 16.
반응형