묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
boilerplate 다운로드 및 npm install 시 에러
아직 root 폴더에서 npm install 하는 단계입니다. 에러를 구글링하다보니 windows-build-tools 를 설치해야한다고해서, 관리자권한으로 powershell 실행해서 잘 설치했는데 해결되지 않아서요..ㅠㅠ 어떻게 해야할지 알려주실 수 있을까요? ++ 에러메시지 아래 추천으로 npm config set python 을 실행해봤지만 해결되지 않았습니다. node-pre-gyp WARN Using needle for node-pre-gyp https download 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-v83-win32-x64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@14.16.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19042 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\김하영\\STUDY\\react\\react_study_2\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\김하영\\STUDY\\react\\react_study_2\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt gyp ERR! node -v v14.16.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.19042 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\김하영\\STUDY\\react\\react_study_2\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt node-pre-gyp ERR! node -v v14.16.0 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\김하영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\김하 영\STUDY\react\react_study_2\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\jerem\AppData\Roaming\npm-cache\_logs\2021-04-26T00_37_15_758Z-debug.log
-
미해결it 취업을 위한 알고리즘 문제풀이 입문 (with C/C++) : 코딩테스트 대비
4번 나이차이 구하기 문제 질문
파일처리에 관해서 전혀 몰라서 여쭤봅니다. freopen 함수에서 모드는 "rt"로 하셨는데요. "r"의 기본이 테스트 모드가 맞나요? 그러므로 이문제에서 "rt"를 쓰나 "r"을 쓰나 결과는 같은거죠? 바이너리 파일을 다룰 때 "rb", "wb"로 명확하게 지정해주는 것이 필요하다면 기본적인 텍스트 파일에서는 "rt" / "r", "wt", "w" 크게 구분없이 이용해도 되는건가요?
-
미해결Slack 클론 코딩[실시간 채팅 with React]
swr 질문있습니다
강의에서 swr로 각 컴포넌트마다 호출하면 props를 쓰지 않아도 된다고 하셨는데, 컴포넌트마다 userData같은 똑같은 데이터를 각 컴포넌트마다 swr로 여러번 호출하는 것 보다 부모 컴포넌트에서 한번만 호출하고 props로 전달해주는 것이 최적화나 서버에 더 도움이 되지 않나요?
-
미해결15일간의 빅데이터 파일럿 프로젝트
kafka consumer에서 데이터를 못 읽는데요.
아랫분 처럼 저도 kafka에서 그리고 flume에 지정한 곳에서도 데이터를 전송받지 못하고 있습니다. log simulator, kafka topic 이름, flume refresh 다 해봤는데요. 왜 이런거죠?
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
로직이 떠오르지 않습니다...
제가 이 강의를 통해서 웹 사이트를 제작하는 과정에 있습니다 지금 구현하고자 하는 페이지가 디비에 등록된 방 (방에 대한 정보 : 위치, 지정날짜, 인원 등등)을 고객이 방에 대한 정보에 대해 입력을 하고 입력한 방과 일치하는 방만을 화면에 뿌려주는 작업을 하고 있습니다. (야놀자에서 방을 예약할 때 자신이 이용하고자 하는 숙소의 위치나 체크인 체크아웃 날짜를 입력했을 때 해당 방만을 보여주는 페이지라고 생각하시면 됩니다!) 그런데 방 조회 로직에서 조금 어려움을 겪고 있습니다ㅠㅠㅠㅠ axios 통신을 통해 .get 부분에 조건문을 달아주면 될 것 같은데 코딩 경험이 많지가 않아서 어떻게 로직을 구현해야 할지 조금 감이 안 잡힙니다 강사님에게 조언을 요청하고자 질문을 남겨봅니다!
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
Swagger 오류 시 pom.xml 설정방법
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency>
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
게시글 구현하기 질문
삭제된 글입니다
-
해결됨홍정모의 따라하며 배우는 C++
[4:21] 배열 주소 관련 질문있습니다
안녕하세요~ 4분 21초 쯤에 cin으로 문자열을 입력받고 그것을 출력할 때 cout << myString<<endl; 이런식으로 출력을 하더라구요 제가 궁금한 것은 만약 int형 배열이 있다고 치면 int a[] = {1, 2,3}; 이후에 cout << a << endl; 시 a[0]의 주소값이 나오는데 myString은 주소가 아닌 문자열 그 자체가 나오는 이유를 알 수 있을까요?
-
미해결리버싱 이 정도는 알아야지
비쥬얼스튜디오 6.0
강의영상에 나오는 비쥬얼스튜디오 6.0 을 설치하려는데 설치과정에서 경로설정부분에 The specified location is invalud. please choose another. 이라는 오류가뜹니다. vmware환경에서도 되지않고 아닌 본컴퓨터 환경에서도 되지 않습니다. 어떻게해야하나요..? 이후 강의영상에서도 비쥬얼스튜디오를 다루며 실습을 이어나가나요?
-
해결됨실전! Querydsl
QueryDsl 1차 캐시관련
안녕하세요, 강사님! 강의를 복습하다가 궁금증이 생겨 질문 남깁니다. 조회된 엔티티는 영속화되며 1차 캐시에 저장이 되고 특별한 이벤트?! (EntityManager.clear() 또는 Transation이 종료 등등..)로 1차 캐시 내용이 없어진다고 이해하고 있습니다. 이렇게 이해한 내용 토대로 QueryDsl을 사용해도 1차 캐시를 사용하겠지라는 생각과는 다르게 동작하여 개념이 혼돈되고 있습니다. 아래 사진을 참고하시면 첫번째 쿼리를 실행후 그다음 쿼리 실행시 1차 캐시된 엔티티를 찾아 반환해 줘야하는데 다시 DB에 쿼리를 날려 결과를 가지고왔습니다. 제가 어떤 부분을 잘못 이해하고 있는 걸까요?
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
dx와 dy배열 값문의드립니다
선생님 안녕하세요 시계방향으로 12,3,6,9으로 dx,dy배열에 넣은숫자가 대칭이되는것같은데,, dx는 -1부터 시작하고 dy배열은 0부터 시작하는 이유를 잘 모르겠습니다. ㅠㅠ
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
선생님 질문이 있습니다.
commission, balance =withdraw_naght(blance,500) print("수수료는 {0}원이며, 잔액은 {1}원 입니다.".format (commission, balance)) 수수료는 100원 이며 , 잔액은 400원 입니다. 라고 문구가 뜨는걸 볼수 있는데 출금 금액을 1000원 이라고 입력을 하니 잔액이 -100원이라고 뜨는데 수수료 포함하여 잔액이 부족할 경우 출금이 완료되지 않았습니다. 라는 문구를 어떻게 하면 만들어 낼수가 있나요 .. 아무리 해도 오류만 나고 만드는 방법을 모르겠습니다.
-
미해결실전! 스프링 데이터 JPA
Run 콘솔 하이라이트
안녕하세요! 로드맵대로 수강하다가 드디어 JPA Data 강의 듣고있습니다 ㅎㅎ 이전부터 궁금했던건데, 실행시키면 나오는 Run console에 하이라이트 적용되는 부분은 플러그인을 따로 받으신건가요? 그게 맞다면 플러그인 이름 좀 부탁드릴게요. 감사합니다 :)
-
미해결프론트엔드 개발환경의 이해와 실습 (webpack, babel, eslint..)
혹시 js가 너무 많아져도 webpack으로 하나로 다 뽑아내나요??
js나 css가 이 페이지에서는 전혀 부를 필요가 없는 애인데 전체를 다 번들해서 불러오는 게 일반적인가요? 엔트리 하나 더 만들고 아웃풋2 만들어서 쓰나 했는데 htmlWebpackPlug을 보면... 그냥 번들한 거 죄다 불러오는 거 같아서 이러면 성능상에 문제가 생기거나 하지 않을지 걱정됩니다
-
미해결Java TPC (생각하고, 표현하고, 코딩하고)
강의 정리 후 블로그 포스팅
안녕하세요 선생님! 혹시 강의보면서 강의에서 배운내용 정리해서 블로그에 올리고싶은데 출처 남기고 포스팅해도 되는지 여쭤보고싶습니다!
-
미해결자바스크립트 제대로 배워볼래?
4:05초에 나오는 html json
안녕하세요 선생님 4:05초에 나오는 html json 윈도우에선 어떻게 해야하는건지 잘 몰라서요ㅠㅠ 구글 어디로 들어가면 되는걸까요?? 너무빠르게지나가서 어떻게 설정을 여는지 모르겠어요
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
boosting 모델 질문
bagging 방식의 randomforest는 bootstrap방식을 통해 여러개의 데이터셋을 복원추출하는데 boosting 방식의 xgboost나 lightgbm은 데이터셋은 하나의 데이터셋만 가지고 sequential하게 오차를 수정해나가는 방식으로 이해하면 될까요?? 질문의 포인트는 boosting방식의 모델은 하나의 데이터셋만 사용하는가 입니다
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
코랩실습중 PIL font error 해결이 어렵습니다..ㅠㅠ
아래와 같은 에러가 발생했습니다. detect_video_yolo 실습중에 발생한 에러입니다. font 가 코랩에서 없어서 에러가 나는것 같은데 코랩환경에서 어떻게 수정해야할지 막막해서 질문드립니다. 혹은 다른부분에서 발생한 에러일까요 ?ㅠ
-
미해결C# ADO.NET 데이터베이스 프로그래밍
데이터베이스 가져오기 관련해서 질문드려요.
안녕하세요. 기존에 만들어져 있는 데이터베이스를 사용할때는 ado 폴더이하를 모두 지우고, 데이터베이스 프로젝트에서 우클릭후 데이터베이스 를 선택해서 가져오면 현재 데이터베이스의 구조와 프로시저들이 모두 가져와 지는것을 이해했습니다. 그런데, 그 이후, 다른사람과 같이 작업을 하다보니, 서버의 테이블 구조나 프로시저를 다른 개발자가 바꾸는 일이 발생했다면, 그 변경사항을 제가 작업중인 데이터베이스 프로젝트로 동기화(?) 시키는 방법이 있을까요? 아니면 모두 지우고 다시 가져오기를 해야 하는 것인지? 답변 좀 부탁드립니다. 감사합니다.
-
해결됨[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
Focal Loss의 감마값과 Retina Net에서 FPN 후 마지막 과정 질문
안녕하세요! 강의 잘 듣고 있습니다. 2가지 질문이 있습니다! 1.Focal Loss 수식에서 감마값이 하이퍼파라미터로 조절이 가능하잖아요? 그러면 감마값이 커질수록 p(확률값)가 작은 값임에도 잘 분류하는 것으로 간주하고 작은 p(확률)값임에도 Loss값이 매우 낮게 나와 이에 대한 학습을 더 진행하지 않게되는 것 맞나요? 즉, 감마값이 매우 크다면 오히려 오분류하는것도 잘분류한다고 간주하는 문제를 발생시킨다고 보면 맞나요? 2. Top-Down인 FPN을 진행하면서 각 Feature Map에다가 Anchor Box들을 씌우고 Object Detection을 수행하잖아요? 그러면 각 Feature Map별로 predict한 결과값 즉, 예측된 클래스 확률과 앵커박스들이 여러개 나오게 되겠죠? 그러면 SSD나 YOLO모델들 처럼 마지막엔 NMS 과정을 거쳐 최적의 Bounding Box만 남겨 최종 Detect하는 과정은 동일하나요?