Error Handling
-
파이어 베이스 로그인 error 해결법 : Command requires authentication, please run firebase loginError Handling 2019. 6. 1. 14:12
파이어베이스를 시작할 때 아래와 같은 에러가 발생할때가 있다. Error: Command requires authentication, please run firebase login 위와 같은 에러는 현재 권한이 부여되지않았다는 것이며 따라서 명령어를 통해 로그인을 해주면 된다. $ firebase login 만약 위 명령어를 했을때 아래와 같은 에러가 발생한다면 Error: Cannot run login in non-interactive mode. See login:ci to generate a token for use in non-interactive environments. 간단하게 아래 명령어를 통해 interactive mode 로 변환해준다. $ firebase login --interactive
-
파이어 베이스 error 해결법 : Uncaught TypeError: firebase.auth is not a functionError Handling 2019. 5. 29. 09:00
파이어 베이스를 이용하여 인증 절차를 시작하려 할때 아래와 같은 코드를 작성한다. var auth = firebase.auth(); 하지만 위 코드를 추가하면 아래와 같은 에러가 나는 경우가 있다. Uncaught TypeError: firebase.auth is not a function 이런 경우는 firebase.auth 가 제대로 호출 되지 못하여 발생한다. 따라서 아래 코드를 var auth = firebase.auth() 가 추가 되어있는
-
python error 해결법: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 에러 해결법Error Handling 2019. 5. 19. 17:45
파이썬에서 파일을 불러오거나 할때 아래와 같은 에러가 나타날 때가 있다. path = 'C:\Users\Downloads\NanumBarunGothic.ttf' SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 이 에러는 파일을 불러올때 경로를 / 대신 \ 로 표시하여 경로로 표시한 부분이 유니코드로 인식되어 버려 발생한다. 따라서 위 경로 표시를 아래와 같이 \ 를 / 로 바꾸어주면 된다. path = 'C:/Users/Downloads/NanumBarunGothic.ttf' 또는 \ 대신 \\ 를 써주면 된다. path = 'C:\\Users\\D..
-
아나콘다 error 해결법 : CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/anaconda/linux-64/repodata.json>Error Handling 2019. 5. 19. 11:32
윈도우 10에서 CondaHTTPError: HTTP 000 CONNECTION FAILED 에러 해결법 콘다를 설치 후 $ conda update conda 와 같은 어떠한 인터넷과 연결된 콘다 명령어를 입력할 시에 아래와 같은 오류가 나타날 때가 있다. CondaHTTPError: HTTP 000 CONNECTION FAILED for url 위 에러에 관해 찾아보면 openssl 이 설치가 안되어서 발생한다고 말하며, 인터넷에 검색하면 많은 해결법들이 아래와 같이 기술되어 있다. 일단 가장 잘되는 것을 먼저 해본다. 1. 아래와 같은 명령어를 입력하여 ssl 설정을 해제하시오 $ conda config --set ssl_verify no 여러가지 의견들이 있지만 모두 해결되지 못하였다. 고민끝에 찾..
-
git error 해결법 : git 브랜치 삭제 안될 때 Cannot delete branchError Handling 2018. 11. 25. 18:56
깃 브랜치를 삭제하려고 할때 git branch -d dev 아래와 같은 오류가 뜨면서 삭제가 안될 때가 있다. error: Cannot delete branch 'dev' checked out at 'C:/Users/dev' 이는 현재 브랜치가 삭제하고자 하는 브랜치 이기 때문이며 아래와 같이 브랜치를 전환한 후에 삭제하면 된다. git checkout master git branch -d dev
-
git error 해결법 : git push --set-upstream origin masterError Handling 2018. 11. 25. 16:19
$ git push git push 명령어를 입력하였을때 아래와 같은 에러가 나는 경우가 있다. fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin master 위와 같은 에러가 나는 이유는 정확하게 원격저장소 이름을 언급해주지 않았다는 이야기이다 따라서 git remote -v 를 통해 현재 저장된 원격 저장소 이름을 찾은 뒤 원격 저장소를 명시하여 적어주면 해결된다. 원격저장소 이름이 origin 일 때 아래와 같이 입력한다. $ git remote -v $ git push origin..
-
R error 해결법 : Error in aggregate.data.frame(iris, Sepal.Length ~ Species, FUN = "mean") : 'by'는 반드시 리스트이어야 합니다 에러Error Handling 2018. 11. 13. 22:59
R 에서 aggregate 함수를 이용할 때 아래와 같이 입력하면 > iris > aggregate(iris, Sepal.Length ~ Species, FUN = "mean") Error in aggregate.data.frame(iris, Sepal.Length ~ Species, FUN = "mean") : 'by'는 반드시 리스트이어야 합니다 위와 같은 에러가 뜨는 경우가 있다. 이때에는 aggregate 함수의 정확한 데이터를 지정을 하지않아 발생하는 문제로 아래와 같이 data = iris 와 같이 data를 명명 해주거나 > aggregate(data = iris, Sepal.Length ~ Species, FUN = "mean") 아래와 같이 aggregate 함수의 순서에 맞추어 form..
-
R erro 해결법 : Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selectedError Handling 2018. 11. 11. 21:14
R에서 아래와 같은 함수를 순차적으로 시행 시킬 때 > women > quantile(women) 아래와 같은 오류가 나는 경우가 있다. Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selected 이 오류는 칼럼을 정확히 명시하지 않았다는 말이며 괄호() 안에 데이터가 잘못 들어갔다는 말이다. 따라서 quantile(women) 을 > quantile(women[,1]) 과 같은 식으로 원하는 열을 지정해 준다.