묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결워드프레스 기초부터 쇼핑몰까지
테마 디자인이 어디에 있을까요
wp-admin으로 들어와서 테마 디자인을 찾고 싶은데 찾을 수 없습니다. 어디에 있는지 모르겠어요
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
hello.html에 data
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 왜 data에 빨간줄이 뜰까요?
-
미해결스프링 시큐리티
몇 가지 문의사항
안녕하세요, 선생님. 최근에 수강을 시작한 학생입니다. 좋은 강의 잘 듣고 있습니다. 질문드리고 싶은 것이 있는데요. 1) 수업에서 작성하시는 코드는 Github에 올려 주신다는 수강평을 본 것 같은데, 혹시 주소를 알 수 있을까요? 2) Oauth2를 Spring Security와 연동해서 사용한다면, Resource Server(예: 네이버와 같은 서비스 업체의 서버)에서 받은 토큰을 시큐리티 컨텍스트에 넣어서 활용하는 것인가요? 강의에서는 이에 대해서 다루지 않는 것 같은데, 혹시 Oauth2에 대한 강의도 만들어 주실 수 있나요? 아울러 이와 관련해 추천해 주실 자료가 있을까요? 읽어주셔서 감사합니다.
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
k번째 까지만 array 출력
안녕하세요, 선생님. k번째 큰 수를 출력하는 거니까 처음 arr를 내림차순으로 정렬한 뒤에 숫자 3개를 뽑아서 그 개수가 k가 되면 for문을 종료하게 코드를 작성했습니다. (처음에는 모든 for문에 같은 if문과 break를 입력했는데, 구글링해서 중첩반복문을 한번에 종료하는 방법을 적용했습니다.) 혹시 이런식으로 k개만 출력한 경우에 다른 값이 나오는 경우가 있을까요? <html> <head> <meta charset="UTF-8"> <title>출력결과</title> </head> <body> <script> function solution(s, list){ let answer=0; let n = list.length; let numbers = [] //숫자 3개의 합을 더한 값을 리턴할 배열 list.sort((a,b)=>b-a); //내림차순 정렬 loop1: for(let i=0; i<n-2; i++){ loop2: for(let j=i+1; j<n-1; j++){ loop3: for(let k=j+1; k<n; k++){ let num = list[i]+list[j]+list[k]; if(numbers.indexOf(num)===-1) numbers.push(num); //중복인 숫자는 기록하지 않음 if(numbers.length===s) break loop1; //s번째 숫자를 구하는 거니까 길이가 s가 되면 더이상 for문이 돌 필요가 없음 } } } numbers.sort((a,b)=>b-a); console.log(numbers); answer = numbers[s-1]; return answer; } let arr=[13, 15, 34, 23, 45, 65, 33, 11, 26, 42]; console.log(solution(3, arr)); </script> </body> </html>
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
r""의 기능이 정확하게 무엇인지 궁금합니다.
구글링을 했는데 어려운 소리가 많아 결국 여쭤봅니다. re.sub("(\d{3})-(\d{2})(\d{2})-(\d{2})(\d{2})", r"\1-\2**-**\5", "010-1234-5678") 이런 코드에서 r"\1-\2**-**5" 여기 등장하는 r이 정확하게 어떤 기능을 하는지 궁금합니다!
-
미해결[개념은 호옹~, 실습 빡] 스프링 부트, 입문!
선생님 소스와 동일하게 입력했는데 에러가 나요
안녕하세요 홍팍 선생님 제가 지금 스프링부티 입문 수업 12강 데이터 목록보기보고있는데. 여러개의 소스를 동일하게 코딩하고 결과물을 볼려고 localhost:8080/articles 를 입력하면 다음과 같이 에러가 나네요 왜 이러는 걸까요??
-
미해결우디의 일러스트레이터 강좌
#35 도형 모양대로 팬턴 만들기 / 클리핑 마스크
안녕하세요~ 좋은 강의 내용 항상 감사드립니다. 수업 내용을 보고 따라하면서 클리핑 마스크를 적용해보았는데요 그룹화를 시키고 이미지 크기를 조정하니 클리핑 마스크된 이미지가 깨지더라구요 . 클리핑 마스크 후 이미지를 조절 하는 방법을 알수 있을까요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part2: 자료구조와 알고리즘
디버깅이 너무 오래 걸리는 것에 관해 질문있습니다.
강의 잘 보고 있습니다. 다름이 아니고 기존에 board.initialize 함수를 구현하실 y - 2 와 x - 2 줄들이 모두 비어있던 문제들이 있어서 제가 코드를 짤 때는 부 그 부분들도 조건문을 달아 랜덤으로 중간중간 채워줬는데요. 그렇게 하니 디버깅 하는 시간이 너무 오래걸리던데 혹시 이유가있을까요? 이렇식으로 코드를 짜면 안되는건가요?
-
해결됨웹 게임을 만들며 배우는 React
1:55초에 나오는 react-hot-loader/root 질문드려요
안녕하세요 제로초님 자바스크립트에 이어서 리액트 강의도 정말 잘 듣고 있습니다 감사합니다!! 다름이 아니라 이전 챕터2에서 웹팩과 데브서버를 설치하면서 리액트 기본설정(?)을 학습했는데 본 강의 1:55초에 나오는 코드의 hot부분은 이전 챕터에서 보지못한 부분인데 웹팩, 핫리로딩설정할때 추가로 해줘야하는 부분인가요? 챕터3시작하면서 갑자기 새롭게 생긴 부분이라서 궁금해서 이렇게 질문드립니다. 아래 코드의 hot을 사용하는 부분이 어떤 용도이고 추가를 해야되는지 여부를 알려주시면 감사하겠습니다 ㅜㅜ const { hot } = require('react-hot-loader/root'); const Hot = hot(NumberBaseball); ReactDom.render(<Hot />, .......) 그리고 추가로 챕터2에서 학습한 웹팩, 핫리로딩 설정들은 챕터마다 설정을 해줘야하는걸까요? (구구단 프로젝트폴더에서 설정, 끝말잇기 프로젝트폴더에서 설정......) 아니면 따로 알려주신 npm.... 설치 명령어 없이 그냥 이전 챕터에서 사용한 파일들의 설정을 복사 붙여넣기만 해도 되는걸까요? 바쁘시겠지만 답변해주시면 정말 감사하겠습니다!! (그리고 이런 좋은 강의 무료로 배포해주셔서 감사합니다 ㅎㅎ 무료강의 끝내고 유료강의도 결제해서 꼭 취뽀하겠습니다!!)
-
해결됨한 입 크기로 잘라 먹는 리액트(React.js) : 기초부터 실전까지
콘솔창 두 번 출력
안녕하세요! 강의 듣던 중 궁금한 점이 있어서 질문드립니다. 저번 시간부터 계속 콘솔창에 값이 두 번 출력이 되는데 찾아봐도 중복으로 나올만한 건 없어 보이는데요.. 이유를 모르겠습니다..
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
df[f]의 의미가 무엇인지 궁금합니다.
선생님 안녕하세요. 늘 강의 잘 보고 있습니다. 궁금한게 있어서 글 남깁니다. for f in facilities: df[f] = df_fac["공원보유시설(편익시설)"].str.contains(f) df[facilities].sum() 으로 강의해주셨는데 for문에서 df[f]를 만들고 밑에서는 df[facilities]로 쓴 이유가 무엇인지 궁금합니다. df[f].sum()으로 하면 6이라는 숫자가 나와서 틀린 방법 같기는 한데 df[f]가 어떤 역할을 하는지 잘 모르겠습니다 ㅠㅠ
-
해결됨React + API Server 프로젝트 개발과 배포 (CI/CD)
CI/CD부분 appleboy/ssh-action@master 질문입니다.
name: web-character-project CI/CD on: push: branches: [master] jobs: build: name: Build runs-on: ubuntu-latest steps: - name: executing remote ssh commands using key uses: appleboy/ssh-action@master with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} script: ./deploy.sh 위와 같이 yml파일을 작성한후 푸쉬하였는데 에러가 발생하여서 케누님께 여쭤보려고 합니다. 케누님과 똑같은 방식으로 구현한 다음 잘 되나?? 푸쉬해봤는데......... dial tcp [ec2의 IP]: ***: i/0 timeout 깃허브 액션에서 처리하는중에 위와 같은 에러가 발생하였습니다... ㅠㅠ 에러에 대해서 구글링해봤는데.. 영어실력이 부족하다보니 잘 이해가 안가네요 ㅠ;;; 케누님 영상에서는 잘만 되는데;;; 저는 이래서 답답한 마음이 드네요 ㅠㅠ 어떻게 이 문제를 해결할 수 있을까요?? !!
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
#2강 npm install
npm ERR! code 1 npm ERR! path C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\지은\AppData\Roaming\nvm\v16.15.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.14.0 npm ERR! node-pre-gyp info using node@16.15.0 | win32 | x64 npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@16.15.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.0.0 npm ERR! gyp info using node@16.15.0 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.0.0 npm ERR! gyp info using node@16.15.0 | win32 | x64 npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON npm ERR! gyp ERR! find Python checking if "python3" can be used npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if "python" can be used npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run npm ERR! C:\Users\지은\AppData\Local\npm-cache\_logs\2022-05-25T05_57_34_949Z-debug-0.lognpm ERR! code 1 npm ERR! path C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\지은\AppData\Roaming\nvm\v16.15.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.14.0 npm ERR! node-pre-gyp info using node@16.15.0 | win32 | x64 npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\지은\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@16.15.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v93-win32-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.0.0 npm ERR! gyp info using node@16.15.0 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.0.0 npm ERR! gyp info using node@16.15.0 | win32 | x64 npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON npm ERR! gyp ERR! find Python checking if "python3" can be used npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if "python" can be used npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\지은\AppData\Local\Programs\Python\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\지은\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run npm ERR! C:\Users\지은\AppData\Local\npm-cache\_logs\2022-05-25T05_57_34_949Z-debug-0.log 루트 디렉토리에서 npm install 오류가 계속뜹니다ㅠ 버전의 문제인가요...? 이 강의 꼭 듣고싶은데 해결방법이 있을까요..?
-
미해결탄탄한 백엔드 NestJS, 기초부터 심화까지
cron을 설정했는데 useGuard가 작동을 하지 않습니다.
안녕하세요! 강사님 알려주신 내용 기반으로 개인 프로젝트 작업을 하다가 구글링으로 찾기 힘들어서 질문을 남깁니다. cron으로 특정 유저의 정보를 read하는 API를 자동으로 call하려고 합니다. 이렇게 설정을 하고 나면 Guard에서 얻게되는 user 정보를 가져오지 못해서 다음과 같은 에러가 나오게 됩니다. 대략적으로 구글링을 해본 결과 cron은 singletone일 때만 작동하는 것으로 되어있는데 다른 API에서 얻는 값은 매 요청마다 새로 설정되는 Request scope라서 그렇다고 하는데 정확히 내용이 이해가 가지 않습니다. 공식문서에 나온대로 JwtAuthGurad에 @Injectable({scope: scope.Default})로 지정도 해보았는데 결과는 에러가 나왔습니다. 혹시 useGuard에서 나온 결과를 포함해서 API call을 크론잡하려고 하면 어떻게 해야할까요? 매번 답변 주셔서 감사드립니다.
-
미해결대세는 쿠버네티스 (Helm편)
grafana 설치시 service type 을 loadbalancer 로 할 경우..
기본이 External 이고 Classic LB 인데, service annotations 에 internal 과 ALB 를 명시해줘도 반영이 안되는 것 같습니다. 변경하려면 ingress controller 가 무조건 필요한걸까요? 현재는 일단 nodeport 로 만들어서 내부에서만 접근하고 있습니다.
-
미해결스프링 핵심 원리 - 기본편
@DisplayName 관련질문
안녕하세요. 다름이 아니라 강의에서 테스트할때 @Test @DisplayName("보여지는 목록 제목")로 제목을 지정을하면 클래스를 실행했을때 저 제목이름이 나와야하는데 오늘수업진행하면서 보니까 displayname에 지정한 제목이 아니라 void뒤의 값이 목록제목으로 나오더라구요. 혹시 제가 코드를 잘못입력을 한건지 어떤 설정이 잘못된건지 질문여쭤봐도 될까요??
-
미해결Vue.js 시작하기 - Age of Vue.js
질문드려요,
안녕하세요, 좋은 강의 감사합니다.! $emit, props연습할때에 component 등록 방법을 Vue.component로 변경해서 연습을 해봤는데요, 이벤트가 작동은 하지만 아래와 같은 오류가 나요 어느부분을 확인해봐야하는지 어떻게 고쳐야 하는지 아직 잘 모르겠습니다 ㅜㅜ 답변 부탁드려요..! [오류 내용] vue.js:634 [Vue warn]: Property or method "addNumber" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. (found in <Root>) vue.js:634 [Vue warn]: Property or method "propsnum" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. (found in <Root>) [연습 소스] <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div id="app"> <app-header v-on:pass="logText"></app-header> <app-content v-on:addnum="addNumEvent" v-bind:propsnum="number"> <template id="appContentTemp"> <div> <button v-on:click="addNumber">Click Add</button> <p>{{propsnum}}</p> </div> </template> </app-content> </div> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> <script> var appheader = { template: '<button v-on:click="passEvent">Click Event!</button>', methods:{ passEvent:function(){ this.$emit('pass'); } } } Vue.component('app-content', { template : '#appContentTemp', props : { propsnum:Number, }, methods: { addNumber : function(){ this.$emit('addnum'); } } }) new Vue({ el:'#app', components:{ 'app-header' : appheader }, data : { number : 10 }, methods:{ logText : function(){ console.log('hi'); }, addNumEvent:function(){ this.number += 1; console.log(this.number); } } }) </script> </body> </html>
-
미해결스프링 부트 개념과 활용
CREATE TABLE 예제 따라하다가 'expected "identifier"; SQL statement:' 오류나는 경우
강의를 따라하다가 아래와 같은 에러가 나며 종료가 되었는데 테이블명 USER 대신 USERS 로 변경하니 정상동작 했습니다. 다른분들 참고하세요. Spring Boot 2.7.0 버전 입니다. java.lang.IllegalStateException: Failed to execute ApplicationRunner at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:765) ~[spring-boot-2.7.0.jar:2.7.0] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:752) ~[spring-boot-2.7.0.jar:2.7.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.7.0.jar:2.7.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) ~[spring-boot-2.7.0.jar:2.7.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) ~[spring-boot-2.7.0.jar:2.7.0] at com.example.db.DbApplication.main(DbApplication.java:10) ~[classes/:na] Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "CREATE TABLE [*]USER(id INTEGER NOT NULL, name VARCHAR(255), PRIMARY KEY (id));"; expected "identifier"; SQL statement: CREATE TABLE USER(id INTEGER NOT NULL, name VARCHAR(255), PRIMARY KEY (id)); [42001-212] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) ~[h2-2.1.212.jar:2.1.212] at org.h2.message.DbException.getJdbcSQLException(DbException.java:477) ~[h2-2.1.212.jar:2.1.212]
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
findByName메서드 질문
MemoryMemberRepository라는게 DB CRUD의 역할을 하는거라고 생각하고 DTO의 역할을 한다고 생각하면 되는게 맞는지요? 그리고 @Override public Optional<Member> findById(Long id) { return Optional.ofNullable(store.get(id)); } 이렇게 썼는데 왜 findByName은 위에 와 다른게 찾는것일까요? 같은 찾기 메서드인데 말이죠 @Override public Optional findByName(String name) { return store.values().stream() .filter(member -> member.getName().equals(name)) .findAny(); } name은 위와 같은 코드이더라고요 store.values().stream() .filter(member -> member.getName().equals(name)) .findAny();이런 메서드들은 무슨의미인지도 궁금합니다.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
python interpreter 설치 안되는 이유
영상에서 말씀주신데로 python interpreter를 설치하였는데 왼쪽 아래 파란색쪽에 표시가 나타나지 않습니다. 설치가 되지 않은 것 같은데 이유가 뭔가요?