에러메세지는 아래와 같습니다. PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue/cli-plugin-eslint@5.0.8 npm ERR! Found: eslint@6.8.0 npm ERR! node_modules/eslint npm ERR! dev eslint@"^6.7.2" from the root project npm ERR! peer eslint@">= 4.12.1" from babel-eslint@10.1.0 npm ERR! node_modules/babel-eslint npm ERR! dev babel-eslint@"^10.1.0" from the root project npm ERR! 2 more (eslint-plugin-vue, vue-eslint-parser) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8 npm ERR! node_modules/@vue/cli-plugin-eslint npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project npm ERR! npm ERR! Conflicting peer dependency: eslint@8.33.0 npm ERR! node_modules/eslint npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8 npm ERR! node_modules/@vue/cli-plugin-eslint npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-debug-0.log PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm run serve > saju-frontend-vuejs@0.1.0 serve > vue-cli-service serve INFO Starting development server... ERROR Failed to compile with 2 errors 오후 10:47:30 [eslint] ESLint is not a constructor You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. Error: Child compilation failed: [eslint] ESLint is not a constructor - child-compiler.js:169 [saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18 - Compiler.js:551 finalCallback [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5 - Compiler.js:577 [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11 - Compiler.js:1196 [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17 - task_queues:95 processTicksAndRejections node:internal/process/task_queues:95:5 - task_queues:64 runNextTicks node:internal/process/task_queues:64:3 - timers:447 process.processImmediate node:internal/timers:447:9 ERROR in [eslint] ESLint is not a constructor ERROR in Error: Child compilation failed: [eslint] ESLint is not a constructor - child-compiler.js:169 [saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18 - Compiler.js:551 finalCallback [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5 - Compiler.js:577 [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11 - Compiler.js:1196 [saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17 - task_queues:95 processTicksAndRejections node:internal/process/task_queues:95:5 - task_queues:64 runNextTicks node:internal/process/task_queues:64:3 - timers:447 process.processImmediate node:internal/timers:447:9 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details) webpack compiled with 3 errors
LinkedList 와 ArrayList 는 기능이나 선언, 입력, 삭제하는 문법이 대부분 같은데요. 분명 각각의 용도나 목적이 있으니 이 둘이 구분된 것으로 생각하고 있습니다. 혹시 각각 어떤 목적으로 어떤 용도로 사용하는지 구분을 알 수 있을까요? (실무에서는 이럴 때 뭐를 사용하고, 어떤 경우엔 뭐를 사용한다, 이런 내용도 좋을 것 같습니다!)
아직 학생이고 스프링을 통한 개발을 공부하기 위해 강의를 듣고 있습니다. 스프링 부트로 개발을 하고 싶은데 지금 설명해주시는건 스프링 부트를 배우기 전에 기반을 다지는 거니까 너무 세세하게 문장 하나하나를 따지고 가는 것 보다는 스프링이 이러한 과정을 통해 현재 편리한 스프링 부트까지 오게 되었다는 것을 체득하기 위해 듣는 쪽으로 해도 후에 큰 문제가 없을지 궁금합니다.
eslint가 개인적으로 설치가 안되어있어서 package.json에 수업에서 나오는 내용과 동일하게 코드를 작성해서 yarn install로 전체 다시 다운을 받으려고 시도했는데 다음과 같은 에러가 발생하였습니다... 아무리 시도해봐도 도저히 해결이 안되서 결국 파일을 새로 만들어서 yarn install을 시행해 봤는데도 동일한 에러가 발생하였습니다. 어떻게 해결해야할까요...?
강의를 따라가는중 docker run --rm -p 9000:8000 test_dj 에서 도커를 실행시켰는데 접속페이지가 강의상에선 http://localhost:9000/ 에서 접속이 가능한데 반해 저는 http://localhost:8000/ 에서만 접속이 가능합니다 어떤설정을 제가 잘못했길래 이렇게 될까요?
안녕하세요. 공부하다가 궁금한점이 있어서 질문드립니다. cust_info 고객정보 테이블에서 cust_id, name, email 이렇게 3가지가 있을 때 이것을 새로운 컬럼을 만들어서 넣고 싶습니다. e.g : cust_info_col = cust_Id + name + email 데이터를 담고 싶습니다. 즉, 기존테이블에서 하나의컬럼에 각 컬럼값을 넣어서 조회 뿐만 아니라 저장을 하고 싶은데 이럴 경우에는 mapper에 select, update cust_info_col = cust_id || name || email as cust_info_col로 추가하면되나요? 감사합니다.
import java.util.Scanner; public class Main { int[] dx = {-1, 0, 1, 0}; int[] dy = {0, 1, 0, -1}; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[][] arr = new int[num][num]; for (int i = 0; i < num; i++) { for (int j = 0; j < num; j++) { arr[i][j] = sc.nextInt(); } } Main T = new Main(); System.out.print(T.solution(num, arr)); } public int solution(int num, int[][] arr) { int answer = 0; for (int i = 0; i < num; i++) { for (int j = 0; j < num; j++) { boolean flag = true; for (int k = 0; k < 4; k++) { int nx = i + dx[k]; int ny = j + dy[k]; if (nx >= 0 && nx < num && ny >= 0 && ny < num && arr[nx][ny] > arr[i][j]) { flag = false; break; } } if (flag) { answer++; } } } return answer; } } 정답을 요청한 코드입니다. 처음테스트와 두번째 테스트 케이스는 통과하나 그 이후 테스트 케이스는 실패한다고 나오네요.. 코드는 강사님이 작성해주신 코드와 동일하게 작성했는데.. 원인을 모르겠어서 질문 남깁니다
안녕하세요^^ 먼저 20만 수강생 축하드립니다. 영한님 JPA 복습 중에 질문드립니다. 지연로딩 설정시 프록시 객체를 조회하게 되는데 애플리케이션에서 실제 엔티티의 데이터가 필요하면 그때 프록시가 실제 엔티티를 호출하여 쿼리가 발생 하는 것으로 이해하고 있습니다. 제가 이해한게 맞을까요? 그리고 한번 지연 로딩으로 설정되었기 때문 에 실제 엔티티를 사용하고 다시 한번 해당 클래스를 호출 해도 프록시 객체가 호출되는것 이 맞는건가요? System.out.println("실제로 Team 엔티티를 사용하면?"); findMember.getTeam().getName(); System.out.println("후 findMember.getTeam()="+ findMember.getTeam().getClass()); 감사합니다.^^
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 이런 질문도 가능한지 모르겠지만, 너무 궁금해서 질문 드립니다.. 영한님 코드 작성하실 때, 매개변수가 여러 개이거나, 길이가 긴 경우 줄바꿈을 하시고, 줄바꿈 하실 때, 첫 매개변수 시작 지점에 다음 매개변수들도 정렬되게 설정을 해놓으신 것 같습니다. 영한님 설정이 코드 읽기 아주 편해보여서, 저도 동일하게 설정하고자 검색을 해보았는데 관련된 정보를 찾지 못해 질문 드립니다..
설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
안녕하세요, 맛비님. Lab 4 Hello world print 진행 중 궁금한 것이 있습니다. Hello world 프린트는 잘 됩니다. 그런데 무한루프 while(1) 도는 중에 (terminal에 계속 hello world 출력 중) 소스 코드를 수정하고 다시 re build 를 하여 run하려 할 때 에러가 납니다. 혹시 1. 코드가 계속 도는 중에 이렇게 re build를 하면 안되는 것인지 2. 무한루프 도는 중에 중간에 강제로 stop할 방법이 있는지 여쭈어봐도 될까요? 감사합니다.