C [Heroku - Django] heroku[router]: at=error code=H10 desc="App crashed" heroku[router]: at=error code=H10 desc="App crashed” 1. Procfile 올바르게 작성되었나 확인하기! 2. runtime.txt 형식 확인! 3. requirements.txt 에 빠진 패키지 없나 확인! 파이썬 패키지 목록에 있는 패키지들이 requirements.txt에 모두 들어가있나 꼭 확인해야한다!!!! 메모/에러 메모 2022.08.15
C [Makefile] make (e=2): recipe for target 'clean' failed # 에러전문 PS D:\dev\Repositiory\Sandbox\C\Makefile_test> mingw32-make clean rm -f *.o\ process_begin: CreateProcess(NULL, rm -f *.o, ...) failed. make (e=2): . Makefile:21: recipe for target 'clean' failed mingw32-make: *** [clean] Error 2 # 해결방법 현재 사용하는 쉘이 뭔지 확인해보자... Powershell -> Windows Bash -> Linux Powershell에서는 rm 명령어를 "-rf"와 같은 플래그와 함께 사용할 수 없다. 메모/에러 메모 2021.12.19
C [Java] error: unmappable character (0xEC) for encoding x-windows-949 오류 # 에러 전문 Main.java:14: error: unmappable character (0xED) for encoding x-windows-949 int n = Integer.parseInt(br.readLine()); // ?븳湲? 二쇱꽍 ^ Main.java:14: error: unmappable character (0x80) for encoding x-windows-949 int n = Integer.parseInt(br.readLine()); // ?븳湲? 二쇱꽍 ^ Main.java:18: error: unmappable character (0xED) for encoding x-windows-949 while (n != 0) { // ?븳湲? 二쇱꽍 ^ Main.java:18: error: .. 메모/에러 메모 2021.10.23
C [ vscode - JAVA ] Java 11 or more recent is required to run the Java extension 에러 vscode 실행시 마다 아래와 같이 Configure Java Runtime 설정 창이 계속 뜬다. # 에러 전문 Java 11 or more recent is required to run the Java extension. Please download and install a recent JDK. You can still compile your projects with older JDKs by configuring 'java.configuration.runtimes' # 해결하기 vscode에서는 더이상 Java 8 버전을 지원하지 않으므로, Java 11 버전 이상의 JDK를 설치해야 한다. Java 11을 설치한다면, 으로 설치 후, 화면 좌상단 File -> Preferences -> Setti.. 메모/에러 메모 2021.10.22
C Kotlin - retrofit API <-> NodeJS 서버 데이터 전송시 서버가 빈 객체를 받는 문제 NodeJS의 body parser 설정을 고쳐 해결 코틀린 retrofit API로 HashMap 객체 POST 전송 Retrofit Interface.kt @POST("/") @Headers("accept: application/json", "content-type: application/json") fun postRequest( @Body params: Map ): Call MainActivity.kt // Hashmap 객체 생성 val map = HashMap() map.put("id", "0") map.put("pwd", "123") map.put("nick", "surimi") // 서버로 전송 server.postRequest(map).enqueue((object : Callback { o.. 메모/에러 메모 2021.08.14
C [React] index.js:1 Warning: Each child in a list should have a unique "key" prop. # 에러 전문 index.js:1 Warning: Each child in a list should have a unique "key" prop. Check the render method of `App`. See https://reactjs.org/link/warning-keys for more information. at Potato (http://localhost:3000/static/js/main.chunk.js:25:3) at App React의 모든 Component는 고유한 id를 가져야 한다!! var arr = ['Sushi', 'potato', 'Compost', 'Burger']; function renderFood(dish) { return } 호출하려는 function의 key={.. 메모/에러 메모 2021.08.02
C [ VSCode - terminal ] .\activate.ps1 : 이 시스템에서 스크립트를 실행할 수 없으므로 ~~~ \activate.ps1 파일을 로드할 수 없습니다. # 에러 전문 \activate.ps1 : 이 시스템에서 스크립트를 실행할 수 없으므로 \venv\Scripts\activate.ps1 파일을 로드할 수 없습니다. # 해결방법 Powershell을 관리자 권한으로 실행 Set-ExecutionPolicy Unrestricted 입력 후 Y 이제 vscode에서 teminal을 돌려도 에러가 뜨지 않는다. # 참조 https://stackoverflow.com/a/18713789 메모/에러 메모 2021.04.09
C [ Python ] File "<stdin>", line 1 SyntaxError: invalid syntax #에러 전문 >>> set PYTHONIOENCODING=utf8 ; if ($?) { py } "d:\dev\Repositiory\Python-prac\py_basic\prac3.py" File "", line 1 set PYTHONIOENCODING=utf8 ; if ($?) { py } "d:\dev\Repositiory\Python-prac\py_basic\prac3.py" ^ SyntaxError: invalid syntax # 해결법 code-runner 실행 설정에서 "code-runner.executorMap": { "python": "set PYTHONIOENCODING=utf8 | py" } 파이썬 항목을 이렇게 바꿔주면 된다. # 에러 발생이유 이미 실행되어있는 파이썬 인터프리터 내부.. 메모/에러 메모 2021.04.05
C [ MYSQL ] * is not valid at this position for this server version # 에러 예시 "SELECT" is not valid at this position for this server version, expecting ~~~~ "DROP" is not valid at this position for this server version, expecting ~~~~ "CREATE" is not valid at this position for this server version, expecting ~~~~ # 해결 주로 문법이 맞지않는 query를 입력했을때 나오는 에러. # 관련 문서 stackoverflow.com/questions/53471882/mysql-workbench-reports-is-not-valid-at-this-position-for-this-server-ve.. 메모/에러 메모 2021.04.04
C [ MYSQL ] No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. # 에러 전문 Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. 0.000 sec # 해결법 Query 창에서 CREATE DATABASE [생성할 DB 이름]; USE [생성한 DB 이름]; DB 생성 후, 해당 DB를 사용한다고 선언하면 해결. 메모/에러 메모 2021.04.04