Error

· 기타
[GIT] 다른 브랜치 가져오기 1. 원인 처음 GIT에서 클론(clone)할 때, 특정 브랜치만 내려받았거나, GIT에 새로운 브랜치가 추가되었을 경우, 내 로컬에는 추가된 브랜치 또는 다른 브랜치 정보를 (pull)받아올 수 없었다. 2. 해결 먼저 원격 저장소의 내용을 update를 한 후 checkout 으로 원하는 브랜치로 바꿔주면 된다. 브랜치 변경할 때 -t 옵션을 추가해 원격 브랜치를 갖고 올 수 있다. $ git remote update $ git checkout -t '브랜치' [참고]
· 기타
[VSCode] ERROR : Cannot read property 'length' of null 1. 오류 VSCode에서 터미널(Terminal)을 열면 우측 하단에 `Cannot read property 'length' of null`이라는 오류가 발생하면서 terminal이 정상적으로 실행되지 않는다. 2. 해결 vs code의 settings.json 파일에 null로 입력된 값이 없는지 확인한 후 변경 또는 지워주면 된다. terminal.integrated.localEchoStyle에 null이라 되어 있는 부분을 삭제했더니 정상적으로 터미널이 실행되었다. 사람마다 어느 옵션값이 null이라 오류를 발생시키는지는 다른 것 같다. 터미널로 시작하는 옵션(terminal.~)들만 위주로 체크해보..
· WEB/Node.js
[NodeJs][Error] cannot find module 'node-gyp/bin/node-gyp' mac osx에 부팅디스크로 설치한 windows에 `npm install` 을 하려하니 아래와 같은 문구가 나왔다. osx에서 종종 발생되는 문제인듯 싶다. ☝️ 해결방법 해결 방법은 생각보다 간단하다. 1. PowerShell 또는 vscode 등 linux 명령어를 사용할 수 있는 터미널을 관리자모드로 실행시킨다. (관리자 모드로 여는게 핵심!) 2. 아래 명령어를 순차적으로 실행해서 설치한다. * node-gyp는 이미 global로 설치되어 있다면 지우고 다시 설치하는 것을 추천한다. 위치: C:\Program Files\nodejs\node_modules\npm\node_modules\no..
[Django][Error] DRF 실행 관련 에러들 1. authenticators 에서 TypeError: 'type' object is not iterable ... 생략 ... File "/Users/jiyeon/.local/share/virtualenvs/backend-VwpUB2OP/lib/python3.7/site-packages/rest_framework/views.py", line 272, in get_authenticators return [auth() for auth in self.authentication_classes] TypeError: 'type' object is not iterable 해결방법 settings.py의 REST_FRAMEWORK 튜플이 정상적으로 입력되었는지 ..
[Django][Error] CommandError: Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. django에서 다국어 지원을 위해 django-admin의 makemessages 명령어를 사용하려는 도중 commanderror가 발생한 경우 $ django-admin makemessages --locale=ko CommandError: Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. 👩‍🔧 먼저, brew를 이용해서 gettext를 설치한다. $ brew install gettext 👩‍🔧 링크 설정을 ..
[Vue.js] This dependency was not found: * core-js/modules/web.dom.iterable 에러 core-jscore-js/modules/web.dom.iterable를 설치하라는 오류가 발생한 경우 기존 node-modules를 제거한 후 다시 설치하면 된다. $ rm -rf node_modules && npm install [출처] https://www.curtismlarson.com/blog/2016/05/12/webpack-cannot-find-module-web-dom-iterable/
S0PH1A
'Error' 태그의 글 목록