묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결웹게임을 만들며 배우는 인터렉티브웹! JAVASCRIPT
기초적인 질문이라 부끄럽지만 질문 드립니다
안녕하세요, html, css는 잘 알지만 javascript는 이 강의로 처음 접해보기에 강의 진행에 어려움을 느껴 질문 드립니다. 강의 중 const windowEvent = () => { // 코드 내용 }; 위와 같은 형태가 나오는데요, 이게 함수를 만드는 문법인건가요? function 함수이름() { } 과 같은 형태는 자주 봤는데 처음 보는 형태라 질문 드립니다. 더불어 제가 쓰는 에디터에서 자꾸 노란줄이 생기는데요 (visual studio code 사용중입니다) 이것과 관련해 초기에 세팅 작업이 필요한건가요? 또 7강 진행 도중 this.el.parentNode.style.transform = 'translateX(${this.movex}px)' 부분이 동작하지 않아 this.el.parentNode.style.transform = 'translateX('+this.movex+'px)'; 위와 같이 바꿨더니 동작하는데, ${}가 어떤 것인지 설명 부탁드립니다. 좋은 강의에 부족한 실력이지만 열심히 따라가려고 노력하고 있습니다. 답변 기다리겠습니다. 감사합니다.
-
미해결
maria DB table 생성
안녕하세요. 이번에 새로운 시도를 위해 react, express, mariaDB를 이용하여 개발중인 신입 개발자입니다. 처음으로 백엔드 분야를 시도하는거라 물어볼 사람도 많지 않아 어려움을 겪고 있습니다. 현재 메인페이지에서 새로운 카테고리(ex. test)를 만들면 test라는 테이블이 DB내에서 생성되고, 이후 test내부에서 또다시 카테고리를 만들면 DB내에서 생성 되도록 제작하고 싶습니다. 현재 코드를 이렇게 작성하였지만, 테이블 생성이 안되고 있습니다. 어떻게 하면 좋을까요? app.get("/", (req, res) => { res.send("안녕"); const title = "insert_test11" const sqlQuery = "CREATE TABLE (?) ( `user_key` INT NOT NULL AUTO_INCREMENT, `user_id` VARCHAR(45) NULL, PRIMARY KEY (`user_key`))"; connection.query(sqlQuery, [title], (err, result) => { if(err) { console.log("실패!"); } else { console.log("성공!"); } }) });
-
미해결타입 파이썬! 올바른 class 사용법과 객체지향 프로그래밍
안녕하세요 아나콘다 업데이트시 프롬프트 에러관련 질문입니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 (base) PS C:\Users\wldls> conda update conda Traceback (most recent call last): File "C:\Users\wldls\anaconda3\Scripts\conda-script.py", line 12, in <module> sys.exit(main()) File "C:\Users\wldls\anaconda3\lib\site-packages\conda\cli\main.py", line 151, in main from ..exceptions import conda_exception_handler File "C:\Users\wldls\anaconda3\lib\site-packages\conda\exceptions.py", line 25, in <module> from .common.io import dashlist, timeout File "C:\Users\wldls\anaconda3\lib\site-packages\conda\common\io.py", line 33, in <module> from .._vendor.tqdm import tqdm File "C:\Users\wldls\anaconda3\lib\site-packages\conda\_vendor\tqdm\__init__.py", line 13, in <module> from .cli import main # TODO: remove in v5.0.0 File "C:\Users\wldls\anaconda3\lib\site-packages\conda\_vendor\tqdm\cli.py", line 9, in <module> from .std import TqdmKeyError, TqdmTypeError, tqdm File "C:\Users\wldls\anaconda3\lib\site-packages\conda\_vendor\tqdm\std.py", line 22, in <module> from .utils import ( File "C:\Users\wldls\anaconda3\lib\site-packages\conda\_vendor\tqdm\utils.py", line 45, in <module> colorama.init(strip=False) AttributeError: module 'colorama' has no attribute 'init' (base) PS C:\Users\wldls> conda update conda 를 입력하였더니 이런 오류 메세지가 나오는데, 혹시 저 colorama 모듈이 init를 가지고 있지 않다는 오류를 어떻게 해결할 수 있는 방법이 있을까요?? 문의는 1:1 문의하기를 이용해주세요.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
Rest API 로 받을 때의 검증에 대해 질문있습니다.
Bean Validation에서 발생한 @NotBlank, @Max 등을 이후 강의에 나오는 RestControllerAdvice에서 잡아서 handling 하는 방법도 있을까요??
-
해결됨[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
visual studio 설정
visual studio 사용하시는걸 보면 클래스나 변수 함수 다 기본 설정이 아닌데 따로 설정하시는 룰 같은게 있으신지 궁금합니다. 제가 따로 설정해보려해도 뭘 설정해야 원하는게 바뀌는지 찾기가 쉽지 않아서요 알려주실 수 있나요?
-
미해결[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드
확장 기능 관리자
cnc확장기능관리자를 통해서 emmet을 검색해서 넣을려고 하는데 검색기능이 안되네요. 검색기능부분이 눌러지지 않아요. 무슨 문제때문일까요? 아래 부분에는 확장기능 레지스트리에 액세스 할 수 없습니다. 나중에 다시 설치 하십시오. 라고 떠있어요. 그리고 brakets을 열때 위와 같은 창이 뜨는데 무슨 문제일까요? + 추가 인터넷으로 방법을 찾아보다가 인터넷 연결이 안되면 검색이 안된다는 글을 봤어요. 근데 노트북으로 구글이나 그밖에 웹브라우저를 사용하고 있다는 것은 인터넷이 연결되어있는 것이 아닌가요?ㅠㅠ 제가 이 부분에 대해 잘 몰라서 다른 의미가 있는 건가 싶어요.. 인터넷없이 할 수 있는 방법으로 emmet을 확장 기능 관리자 내 검색을 통해 넣는 방법 아니라, zip으로 다운받아 아래에 드래그해 붙여넣어서 설치를 했어요. 설치됨에 emmet이 뜨는데 작동을 안해요. 확장 기능 관리자 창을 닫고 확인해보니 도움말 옆에 emmet이 뜨지 않고, !나 html:5+tap을 눌렀는데 안되요. 원인과 해결방법을 알려주시면 감사하겠습니다.
-
미해결Axure RP 9,10 - 서비스 기획자를 위한 최적의 프로토타이핑 툴
다이나믹 패널 스테이트 관련 문의
A 페이지와 B페이지가 있습니다. A페이지에는 다이나믹 패널이 있고 state가 1~3까지 있어요 B페이지에서 특정 버튼을 클릭하면 A페이지로 이동하되, 다이나믹 패널이 state 3이 노출되면 좋겠습니다. 이 경우 B페이지에서 인터랙션을 - click or tap -> open link A 페이지 여기까지는 했고, 여기서 막혔어요. 다이나믹 패널을 선택해서 state3을 보여주고 싶은데.. 해당 다이나믹 패널은 B 페이지가 아닌 A페이지라서요... ㅠㅠ 제가 질문을 두서없이 했는데.. 혹시 이해가 가실까요?
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
@Service 애노테이션 문의드립니다.
안녕하세요 저는 @Service 애노테이션을 추가 안해도 생성자에서 오류가 발생하지 않는데 뭔가 설정을 추가해야되나요? 애노테이션 없이 톰캣을 실행시키면 에러가 발생해서 로그를 보고 추가를 하는데 강의처럼 처음부터 오류가 보이게 하고 싶습니다.
-
미해결그림으로 배우는 쿠버네티스(v1.35)
Vagrant up 에러 발생 문제 해결 도움 요청
1.5버전 실습환경 구축을 위해 Virtual box와 vagrant 설치 후 공유해 주신 1.5버전 설치 중 에러가 계속 발생하여 Virtualbox와 vagrant를 재설치 해 보았으나, 여전히 동일한 문제가 발생합니다. 혹시 문제 해결에 도움을 주실 수 있을지 문의 드립니다. 문제된 화면 캡쳐 올려 드립니다. Microsoft Windows [Version 10.0.18362.1256] (c) 2019 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \ C:\>cd hashicorp C:\HashiCorp>dir/w C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp 디렉터리 [.] [..] [Vagrant] [_Lecture_k8s_learning.kit-main] _Lecture_k8s_learning.kit-main.zip 1개 파일 438,711 바이트 4개 디렉터리 66,036,817,920 바이트 남음 C:\HashiCorp>cd _Lecture_k8s_learning.kit-main C:\HashiCorp\_Lecture_k8s_learning.kit-main>dir C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp\_Lecture_k8s_learning.kit-main 디렉터리 2021-10-06 오후 01:48 <DIR> . 2021-10-06 오후 01:48 <DIR> .. 2021-10-05 오전 01:00 9 .gitignore 2021-10-06 오후 01:46 <DIR> A 2021-10-06 오후 01:46 <DIR> ch1 2021-10-06 오후 01:46 <DIR> ch2 2021-10-06 오후 01:46 <DIR> ch3 2021-10-06 오후 01:46 <DIR> ch4 2021-10-06 오후 01:46 <DIR> ch5 2021-10-06 오후 01:46 <DIR> ch6 2021-10-06 오후 01:46 <DIR> ch7 2021-10-06 오후 01:46 <DIR> ch8 2021-10-06 오후 01:46 <DIR> ch9 2021-10-05 오전 01:00 1,472 README.md 2개 파일 1,481 바이트 12개 디렉터리 66,036,817,920 바이트 남음 C:\HashiCorp\_Lecture_k8s_learning.kit-main>cd ch1 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1>dir C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1 디렉터리 2021-10-06 오후 01:46 <DIR> . 2021-10-06 오후 01:46 <DIR> .. 2021-10-06 오후 01:46 <DIR> 1.5 2021-10-06 오후 01:46 <DIR> 1.6 2021-10-05 오전 01:00 182 README.md 1개 파일 182 바이트 4개 디렉터리 66,036,817,920 바이트 남음 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1>cd 1.5 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5>dir/w C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5 디렉터리 [.] [..] [k8s-min-5GiB-wo-add-nodes] Sessions(k8s_learning).XML 1개 파일 1,373 바이트 3개 디렉터리 66,036,822,016 바이트 남음 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5>cd k8s-min-5GiB-wo-add-nodes C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes>dir C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes 디렉터리 2021-10-06 오후 01:46 <DIR> . 2021-10-06 오후 01:46 <DIR> .. 2021-10-05 오전 01:00 1,395 k8s_env_build.sh 2021-10-05 오전 01:00 475 k8s_pkg_cfg.sh 2021-10-05 오전 01:00 524 k_cfg_n_git_clone.sh 2021-10-05 오전 01:00 2,275 Vagrantfile 4개 파일 4,669 바이트 2개 디렉터리 66,036,707,328 바이트 남음 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes>dir/w C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 5A62-A4BD C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes 디렉터리 [.] [..] k8s_env_build.sh k8s_pkg_cfg.sh k_cfg_n_git_clone.sh Vagrantfile 4개 파일 4,669 바이트 2개 디렉터리 66,036,707,328 바이트 남음 C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes>vagrant up Bringing machine 'WO-m-k8s-1.20' up with 'virtualbox' provider... Bringing machine 'WO-w1-k8s-1.20' up with 'virtualbox' provider... Bringing machine 'WO-w2-k8s-1.20' up with 'virtualbox' provider... Bringing machine 'WO-w3-k8s-1.20' up with 'virtualbox' provider... ==> WO-m-k8s-1.20: Box 'sysnet4admin/CentOS-k8s' could not be found. Attempting to find and install... WO-m-k8s-1.20: Box Provider: virtualbox WO-m-k8s-1.20: Box Version: >= 0 ==> WO-m-k8s-1.20: Loading metadata for box 'sysnet4admin/CentOS-k8s' WO-m-k8s-1.20: URL: https://vagrantcloud.com/sysnet4admin/CentOS-k8s ==> WO-m-k8s-1.20: Adding box 'sysnet4admin/CentOS-k8s' (v0.7.4) for provider: virtualbox WO-m-k8s-1.20: Downloading: https://vagrantcloud.com/sysnet4admin/boxes/CentOS-k8s/versions/0.7.4/providers/virtualbox.box WO-m-k8s-1.20: ==> WO-m-k8s-1.20: Successfully added box 'sysnet4admin/CentOS-k8s' (v0.7.4) for 'virtualbox'! ==> WO-m-k8s-1.20: Importing base box 'sysnet4admin/CentOS-k8s'... ==> WO-m-k8s-1.20: Matching MAC address for NAT networking... ==> WO-m-k8s-1.20: Checking if box 'sysnet4admin/CentOS-k8s' version '0.7.4' is up to date... ==> WO-m-k8s-1.20: Setting the name of the VM: WO-m-k8s-1.20(github_SysNet4Admin) ==> WO-m-k8s-1.20: Clearing any previously set network interfaces... ==> WO-m-k8s-1.20: Preparing network interfaces based on configuration... WO-m-k8s-1.20: Adapter 1: nat WO-m-k8s-1.20: Adapter 2: hostonly ==> WO-m-k8s-1.20: Forwarding ports... WO-m-k8s-1.20: 22 (guest) => 60010 (host) (adapter 1) ==> WO-m-k8s-1.20: Running 'pre-boot' VM customizations... ==> WO-m-k8s-1.20: Booting VM... ==> WO-m-k8s-1.20: Waiting for machine to boot. This may take a few minutes... WO-m-k8s-1.20: SSH address: 127.0.0.1:60010 WO-m-k8s-1.20: SSH username: vagrant WO-m-k8s-1.20: SSH auth method: private key WO-m-k8s-1.20: Warning: Remote connection disconnect. Retrying... WO-m-k8s-1.20: Warning: Connection aborted. Retrying... WO-m-k8s-1.20: Warning: Remote connection disconnect. Retrying... WO-m-k8s-1.20: Warning: Remote connection disconnect. Retrying... WO-m-k8s-1.20: Warning: Connection aborted. Retrying... WO-m-k8s-1.20: WO-m-k8s-1.20: Vagrant insecure key detected. Vagrant will automatically replace WO-m-k8s-1.20: this with a newly generated keypair for better security. WO-m-k8s-1.20: WO-m-k8s-1.20: Inserting generated public key within guest... WO-m-k8s-1.20: Removing insecure key from the guest if it's present... WO-m-k8s-1.20: Key inserted! Disconnecting and reconnecting using new SSH key... ==> WO-m-k8s-1.20: Machine booted and ready! ==> WO-m-k8s-1.20: Checking for guest additions in VM... ==> WO-m-k8s-1.20: Setting hostname... ==> WO-m-k8s-1.20: Configuring and enabling network interfaces... ==> WO-m-k8s-1.20: Running provisioner: shell... WO-m-k8s-1.20: Running: C:/Users/ADMINI~1/AppData/Local/Temp/vagrant-shell20211006-15576-1w8qnwz.sh WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Determining fastest mirrors WO-m-k8s-1.20: * base: mirror.kakao.com WO-m-k8s-1.20: * extras: mirror.kakao.com WO-m-k8s-1.20: * updates: mirror.kakao.com WO-m-k8s-1.20: Package yum-utils-1.1.31-54.el7_8.noarch already installed and latest version WO-m-k8s-1.20: Nothing to do WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: adding repo from: https://download.docker.com/linux/centos/docker-ce.repo WO-m-k8s-1.20: grabbing file https://download.docker.com/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo WO-m-k8s-1.20: repo saved to /etc/yum.repos.d/docker-ce.repo ==> WO-m-k8s-1.20: Running provisioner: shell... WO-m-k8s-1.20: Running: C:/Users/ADMINI~1/AppData/Local/Temp/vagrant-shell20211006-15576-e5eysz.sh WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Loading mirror speeds from cached hostfile WO-m-k8s-1.20: * base: mirror.kakao.com WO-m-k8s-1.20: * extras: mirror.kakao.com WO-m-k8s-1.20: * updates: mirror.kakao.com WO-m-k8s-1.20: Resolving Dependencies WO-m-k8s-1.20: --> Running transaction check WO-m-k8s-1.20: ---> Package epel-release.noarch 0:7-11 will be installed WO-m-k8s-1.20: --> Finished Dependency Resolution WO-m-k8s-1.20: WO-m-k8s-1.20: Dependencies Resolved WO-m-k8s-1.20: WO-m-k8s-1.20: ================================================================================ WO-m-k8s-1.20: Package Arch Version Repository Size WO-m-k8s-1.20: ================================================================================ WO-m-k8s-1.20: Installing: WO-m-k8s-1.20: epel-release noarch 7-11 extras 15 k WO-m-k8s-1.20: WO-m-k8s-1.20: Transaction Summary WO-m-k8s-1.20: ================================================================================ WO-m-k8s-1.20: Install 1 Package WO-m-k8s-1.20: WO-m-k8s-1.20: Total download size: 15 k WO-m-k8s-1.20: Installed size: 24 k WO-m-k8s-1.20: Downloading packages: WO-m-k8s-1.20: Running transaction check WO-m-k8s-1.20: Running transaction test WO-m-k8s-1.20: Transaction test succeeded WO-m-k8s-1.20: Running transaction WO-m-k8s-1.20: Installing : epel-release-7-11.noarch 1/1 WO-m-k8s-1.20: Verifying : epel-release-7-11.noarch 1/1 WO-m-k8s-1.20: WO-m-k8s-1.20: Installed: WO-m-k8s-1.20: epel-release.noarch 0:7-11 WO-m-k8s-1.20: WO-m-k8s-1.20: Complete! WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Loading mirror speeds from cached hostfile WO-m-k8s-1.20: WO-m-k8s-1.20: WO-m-k8s-1.20: One of the configured repositories failed (Unknown), WO-m-k8s-1.20: and yum doesn't have enough cached data to continue. At this point the only WO-m-k8s-1.20: safe thing yum can do is fail. There are a few ways to work "fix" this: WO-m-k8s-1.20: WO-m-k8s-1.20: 1. Contact the upstream for the repository and get them to fix the problem. WO-m-k8s-1.20: WO-m-k8s-1.20: 2. Reconfigure the baseurl/etc. for the repository, to point to a working WO-m-k8s-1.20: upstream. This is most often useful if you are using a newer WO-m-k8s-1.20: distribution release than is supported by the repository (and the WO-m-k8s-1.20: packages for the previous distribution release still work). WO-m-k8s-1.20: WO-m-k8s-1.20: 3. Run the command with the repository temporarily disabled WO-m-k8s-1.20: yum --disablerepo=<repoid> ... WO-m-k8s-1.20: WO-m-k8s-1.20: 4. Disable the repository permanently, so yum won't use it by default. Yum WO-m-k8s-1.20: will then just ignore the repository until you permanently enable it WO-m-k8s-1.20: again or use --enablerepo for temporary usage: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --disable <repoid> WO-m-k8s-1.20: or WO-m-k8s-1.20: subscription-manager repos --disable=<repoid> WO-m-k8s-1.20: WO-m-k8s-1.20: 5. Configure the failing repository to be skipped, if it is unavailable. WO-m-k8s-1.20: Note that yum will try to contact the repo. when it runs most commands, WO-m-k8s-1.20: so will have to try and fail each time (and thus. yum will be be much WO-m-k8s-1.20: slower). If it is a very temporary problem though, this is often a nice WO-m-k8s-1.20: compromise: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true WO-m-k8s-1.20: WO-m-k8s-1.20: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Loading mirror speeds from cached hostfile WO-m-k8s-1.20: WO-m-k8s-1.20: WO-m-k8s-1.20: One of the configured repositories failed (Unknown), WO-m-k8s-1.20: and yum doesn't have enough cached data to continue. At this point the only WO-m-k8s-1.20: safe thing yum can do is fail. There are a few ways to work "fix" this: WO-m-k8s-1.20: WO-m-k8s-1.20: 1. Contact the upstream for the repository and get them to fix the problem. WO-m-k8s-1.20: WO-m-k8s-1.20: 2. Reconfigure the baseurl/etc. for the repository, to point to a working WO-m-k8s-1.20: upstream. This is most often useful if you are using a newer WO-m-k8s-1.20: distribution release than is supported by the repository (and the WO-m-k8s-1.20: packages for the previous distribution release still work). WO-m-k8s-1.20: WO-m-k8s-1.20: 3. Run the command with the repository temporarily disabled WO-m-k8s-1.20: yum --disablerepo=<repoid> ... WO-m-k8s-1.20: WO-m-k8s-1.20: 4. Disable the repository permanently, so yum won't use it by default. Yum WO-m-k8s-1.20: will then just ignore the repository until you permanently enable it WO-m-k8s-1.20: again or use --enablerepo for temporary usage: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --disable <repoid> WO-m-k8s-1.20: or WO-m-k8s-1.20: subscription-manager repos --disable=<repoid> WO-m-k8s-1.20: WO-m-k8s-1.20: 5. Configure the failing repository to be skipped, if it is unavailable. WO-m-k8s-1.20: Note that yum will try to contact the repo. when it runs most commands, WO-m-k8s-1.20: so will have to try and fail each time (and thus. yum will be be much WO-m-k8s-1.20: slower). If it is a very temporary problem though, this is often a nice WO-m-k8s-1.20: compromise: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true WO-m-k8s-1.20: WO-m-k8s-1.20: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Loading mirror speeds from cached hostfile WO-m-k8s-1.20: WO-m-k8s-1.20: WO-m-k8s-1.20: One of the configured repositories failed (Unknown), WO-m-k8s-1.20: and yum doesn't have enough cached data to continue. At this point the only WO-m-k8s-1.20: safe thing yum can do is fail. There are a few ways to work "fix" this: WO-m-k8s-1.20: WO-m-k8s-1.20: 1. Contact the upstream for the repository and get them to fix the problem. WO-m-k8s-1.20: WO-m-k8s-1.20: 2. Reconfigure the baseurl/etc. for the repository, to point to a working WO-m-k8s-1.20: upstream. This is most often useful if you are using a newer WO-m-k8s-1.20: distribution release than is supported by the repository (and the WO-m-k8s-1.20: packages for the previous distribution release still work). WO-m-k8s-1.20: WO-m-k8s-1.20: 3. Run the command with the repository temporarily disabled WO-m-k8s-1.20: yum --disablerepo=<repoid> ... WO-m-k8s-1.20: WO-m-k8s-1.20: 4. Disable the repository permanently, so yum won't use it by default. Yum WO-m-k8s-1.20: will then just ignore the repository until you permanently enable it WO-m-k8s-1.20: again or use --enablerepo for temporary usage: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --disable <repoid> WO-m-k8s-1.20: or WO-m-k8s-1.20: subscription-manager repos --disable=<repoid> WO-m-k8s-1.20: WO-m-k8s-1.20: 5. Configure the failing repository to be skipped, if it is unavailable. WO-m-k8s-1.20: Note that yum will try to contact the repo. when it runs most commands, WO-m-k8s-1.20: so will have to try and fail each time (and thus. yum will be be much WO-m-k8s-1.20: slower). If it is a very temporary problem though, this is often a nice WO-m-k8s-1.20: compromise: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true WO-m-k8s-1.20: WO-m-k8s-1.20: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again WO-m-k8s-1.20: Loaded plugins: fastestmirror WO-m-k8s-1.20: Loading mirror speeds from cached hostfile WO-m-k8s-1.20: WO-m-k8s-1.20: WO-m-k8s-1.20: One of the configured repositories failed (Unknown), WO-m-k8s-1.20: and yum doesn't have enough cached data to continue. At this point the only WO-m-k8s-1.20: safe thing yum can do is fail. There are a few ways to work "fix" this: WO-m-k8s-1.20: WO-m-k8s-1.20: 1. Contact the upstream for the repository and get them to fix the problem. WO-m-k8s-1.20: WO-m-k8s-1.20: 2. Reconfigure the baseurl/etc. for the repository, to point to a working WO-m-k8s-1.20: upstream. This is most often useful if you are using a newer WO-m-k8s-1.20: distribution release than is supported by the repository (and the WO-m-k8s-1.20: packages for the previous distribution release still work). WO-m-k8s-1.20: WO-m-k8s-1.20: 3. Run the command with the repository temporarily disabled WO-m-k8s-1.20: yum --disablerepo=<repoid> ... WO-m-k8s-1.20: WO-m-k8s-1.20: 4. Disable the repository permanently, so yum won't use it by default. Yum WO-m-k8s-1.20: will then just ignore the repository until you permanently enable it WO-m-k8s-1.20: again or use --enablerepo for temporary usage: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --disable <repoid> WO-m-k8s-1.20: or WO-m-k8s-1.20: subscription-manager repos --disable=<repoid> WO-m-k8s-1.20: WO-m-k8s-1.20: 5. Configure the failing repository to be skipped, if it is unavailable. WO-m-k8s-1.20: Note that yum will try to contact the repo. when it runs most commands, WO-m-k8s-1.20: so will have to try and fail each time (and thus. yum will be be much WO-m-k8s-1.20: slower). If it is a very temporary problem though, this is often a nice WO-m-k8s-1.20: compromise: WO-m-k8s-1.20: WO-m-k8s-1.20: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true WO-m-k8s-1.20: WO-m-k8s-1.20: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again WO-m-k8s-1.20: Failed to execute operation: No such file or directory WO-m-k8s-1.20: Failed to execute operation: No such file or directory The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. C:\HashiCorp\_Lecture_k8s_learning.kit-main\ch1\1.5\k8s-min-5GiB-wo-add-nodes> * 참고 * 강의에서 다루지 않는 쿠버네티스 범위를 넘는 질문은 쿠버네티스 오픈 채팅 및 유저 그룹을 이용하는게 도움이 될 수 있습니다. (https://open.kakao.com/o/gxSooElb {암호: kubectl}- 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
You must select a language in the lower right, or save the file with an appropriate extension
수업을 들으면서 chapter02-1 파일을 만들고 print('pyhon start') 라고 작성하니까 아무 반응이 나타나지 않네요
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
5강을 수강 중 sep 관해서 나왔는데 sep 잘 작동이 안돼요? 왜 그런 건가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
PL to PS Interrupt 관련 문의 사항
안녕하세요? Zynq 공부에 큰 도움이되고 있습니다. 감사합니다. 강의 내용은 아니지만 PL to PS Interrupt 관련해서 질문드립니다. 질문 ========================================================================== 블럭 디자인에서 포트를 생성하여 interrupt 설정 후 IRQ_F2P[0:0]에 연결하면 Interrupt가 활성화 됩니다. (실제 실행 확인) 강의에 사용된 IP를 사용하는 경우 Interrupt가 활성화가 않됩니다. 추가 설정해야 하는 부분이 있는건가요? ========================================================================== 10_fsm_counter 프로젝트의 IP를 사용하여 첨부된 그림1과 같이 수정 하였으며 블럭은 첨부된 그림2와 같습니다. Bitstream 완료 후 Export Hardware로 Inculde bitstream 하여 Vits에서 xparameters.h 를 확인하면 첨부된 그림3과 같은 인터럽트 정의가 없어서 문의 드립니다. 추가 설정해야 하는 부분이 있는것인지 어떤 부분에서 문제가 발생했는지 혹시 알수 있을까요? 감사합니다.
-
해결됨실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
ordersV2 Result 객체로 감싸서 조회하는 코드
@GetMapping("/api/v2/simple-orders")public Result<SimpleOrderDTO> orders() { List<Order> orders = orderRepository.findByString(new OrderSearch()); List<SimpleOrderDTO> result = orders.stream() .map(SimpleOrderDTO::new) // 람다식 -> 메서드 참조 (Method Reference) .collect(Collectors.toList()); return new Result<SimpleOrderDTO>(result.size(), result);}@Data@AllArgsConstructorstatic class Result<T> { private int count; private List<T> simpleOrderDTO;} 이렇게 작성하면 될까요?? 결과 화면은 아래처럼 나옵니다!
-
해결됨[리뉴얼] React로 NodeBird SNS 만들기
http-proxy-middleware 관련해서 질문 있습니다 !
cors 모듈 이용해서 access-control-allow-credentials access-control-allow-origin 을 설정해야하는건 알겠습니다. 만약에 client에 proxy -> http-proxy-middleware를 이용해서 세팅하면 cors는 잡히는데 credentials는 따로 셋팅할 필요가 없나요 ?
-
미해결IT 회사에서 비개발자가 살아남기 위한 모든 개발 지식 A to Z
그랩님 영상과 블로그 문의입니다
안녕하세요 그랩님의 영상으로 학습한상태입니다 그런데 아래 블로그에서도 같은내용의 정보인것같아서요 굳이 영상으로 학습한거라면 블로그 내용이랑 같아서 따로 다시 볼필요는 없는거겠죠? https://www.grabbing.me/IT-A-to-Z-By-1e1fbc981b7c4c03ac44943085ac8304
-
미해결단 두 장의 문서로 데이터 분석과 시각화 뽀개기
CSV 파일 불러오기
선생님, csv 파일 불러오기 그대로 코드에 나와있는데로 df = pd.read_csv(file_name, encoding="utf-8") 하는데 파일낫파운드에러가 나와요! 제가 혹시 csv파일을 다운로드 폴더에 노트북에 받고 실습은 코랩으로 해서 그런가요??? 구글 드라이브에 저 제시해주신 파일(seoul-covid19_6_30_)이 있어야 불러오기가 가능한지요? 선생님도 좋은하루되세요 감사합니다.
-
해결됨스프링 핵심 원리 - 기본편
컴포넌트 스캔만 쓰는데, 메인에서 DI컨테이너를 호출하는 이유?
1. 만약, 컴포넌트 스캔만 쓰는 경우에, 메인에서 ApplicationContext를 호출하는 이유가 뭘까요? 어차피 @SpringBootApplication에 @ComponentScan이 있이니 호출할 이유가 없지 않을까요? 2. 싱글톤으로 바꾸는 @Configuration이 없어도 @ComponentScan만으로 싱글톤 빈등록이 되는건가요?
-
미해결하루만에 만드는 깃허브 블로그
꼭 c 드라이브에 설치를 해야 하나요? D 드라이브에 하면 안될까요
안녕하세요 c 드라이브에 올려주는 코드를 두지 않고 D 드라이브에서 따라 하고 싶은데 꼭 c드라이브로 진행해야 하나요? d 드라이브에서 하고 싶었는데 사실 bundle install이 잘 되지도 않고 어쩌다가 보니 설치가 되었는데 bundle exec jekyll serve 이 작업을 할려고 하는데 이미지와 같이 문제가 계속 발생이 됩니다 ㅠ
-
미해결처음 배우는 리액트 네이티브
6분즈음에서 결과 화면이 나오질 않아요..
../node_modules/@react-navigation/core/lib/module/types.jsModule not found: Can't resolve '@babel/runtime/helpers/classCallCheck' in 'C:\Users\LG\node_modules\@react-navigation\core\lib\module'라고 뜨는데 이건 어떻게 해결하나요?
-
미해결TensorFlow 2.0으로 배우는 딥러닝 입문
코드 질문
코드 중 하기 부분이 이해되지 않습니다. # 평균 손실을 측정합니다 average_loss += current_loss/total_batch batch for loop 안에서 average_loss += current_loss 를 계산하고 이후 epoch for loop 뒷단에서 average_loss = average_loss/total_batch 를 계산해야 1 epoch당 평균 loss가 계산되는 것이 아닌가요?