inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

server npm install 오류

미해결

따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기

서버에서 npm install 을 하였는데 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:397:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:409:5) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:467:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:82:21) gyp ERR! System Windows_NT 10.0.19043 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:\\react-youtube-clone-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\react-youtube-clone-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd C:\react-youtube-clone-master\node_modules\bcrypt gyp ERR! node -v v14.17.6 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:\react-youtube-clone-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\react-youtube-clone-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\react-youtube-clone-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1055: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.19043 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\react-youtube-clone-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\react-youtube-clone-master\node_modules\bcrypt node-pre-gyp ERR! node -v v14.17.6 node-pre-gyp ERR! node-pre-gyp -v v0.12.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:\react-youtube-clone-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\react-youtube-clone-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN rollback Rolling back node-pre-gyp@0.12.0 failed (this is probably harmless): EPERM: operation not permitted, scandir 'C:\react-youtube-clone-master\node_modules\fsevents\node_modules' npm WARN react-chat-app@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.6 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.6 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\82102\AppData\Roaming\npm-cache\_logs\2021-11-08T02_42_50_702Z-debug.log 이런 오류가 뜨는데 파이썬을 깔아야하는건가요??? 완성본 위에 있는 깃허브는 404에러가 떠서 완성본에서 다운 받고 실행한겁니다!

  • react
  • mongodb
  • redux
  • nodejs
장보운 댓글 1 좋아요 0 조회수 589

메세지 컨버터 선택에 대한 질문이 있습니다.

미해결

스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술

안녕하세요 강사님 강의 듣고 스프링에 입문하게된 개발자입니다. 응답body에 대한 타입 변환은 메세지컨버터가 관여하며 이는 요청 파라미터의 Accept, 정확히는 Controller의 produces가 관여한다 고 배웠습니다. 그렇다면 요청하는 쪽에서 Header에 이를 명시하여야 제어가 가능하다 고 이해했는데 이를 요청 Parameter나 요청 Body를 이용하여 서버 내부에서 제어할 수 있는 방법이 있을까요?

  • MVC
  • spring
86andro 댓글 1 좋아요 0 조회수 136

강의자료

미해결

[비전공자 대환영] 제로베이스도 쉽게 입문하는 파이썬 데이터 분석 - 캐글입문기

강의자료 _JS 파일 크롬으로 실행 시 스크립트로만 뜨는데 어떻게 실행을 해야하나요?? 윈도우, 알집으로 압축 풀었습니다

  • scikit-learn
  • matplotlib
  • numpy
  • python
  • pandas
  • kaggle
  • 머신러닝 배워볼래요?
비지 댓글 1 좋아요 0 조회수 346

이번 강의에 보이는 terminal 내용이랑 제 컴퓨터 터미널 내용이랑 다릅니다.

미해결

따라하며 배우는 리액트 테스트 [2023.11 업데이트]

카운터 숫자 구현하기 이 강의에 나오는 터미널 내용이랑 제 컴퓨터 터미널 내용이랑 다릅니다. 아마도 package.json 부분에 "test" : "react-scripts test" , 이 부분을 수정해야 하는건가요? 강의 내용중에 없었던 것 같아서 질문합니다. FAIL src/App.test.js ● Test suite failed to run Cannot find module 'core-js-pure/features/get-iterator' from 'node_modules/@babel/runtime-corejs3/core-js/get-iterator.js' Require stack: node_modules/@babel/runtime-corejs3/core-js/get-iterator.js node_modules/aria-query/lib/rolesMap.js node_modules/aria-query/lib/index.js node_modules/@testing-library/jest-dom/dist/to-be-checked.js node_modules/@testing-library/jest-dom/dist/matchers.js node_modules/@testing-library/jest-dom/dist/extend-expect.js node_modules/@testing-library/jest-dom/dist/index.js src/setupTests.js at Resolver.resolveModule (node_modules/jest-runtime/node_modules/jest-resolve/build/index.js:306:11) at Object.<anonymous> (node_modules/@babel/runtime-corejs3/core-js/get-iterator.js:1:107) Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 0.358 s Ran all test suites. Watch Usage: Press w to show more.

  • react
  • React-Context
  • 웹앱
  • jest
hojun00 댓글 1 좋아요 0 조회수 247

key pair type

해결됨

스스로 구축하는 AWS 클라우드 인프라 - 기본편

6분 25초쯤 key pair설정하는 단계에서 실습 과정 중 AWS가 재정비되며 새로 생긴 key pair type에 RSA, ED25519 중 선택해야 하는데 무엇을 선택해야 할까요?

  • aws
  • 서버리스
es.team 댓글 1 좋아요 0 조회수 244

넷플릭스 반응형부분에서 막혔습니다.

미해결

HTML+CSS+JS 포트폴리오 실전 퍼블리싱(시즌2)

오랜만이네요 하도 또 놀았네요..저번주부터 열심히 다시 시작했어요.. 반응형강의 따라하다가 이렇게 나오는 이유가 뭘까요?? 푸터도요ㅠㅠ 아래로 전문 첨부합니다.

  • jquery
  • javascript
  • HTML/CSS
lololo 댓글 7 좋아요 1 조회수 706

이미지 url관련 질문드립니다.

미해결

풀스택을 위한 탄탄한 프런트엔드 부트캠프 (HTML, CSS, 바닐라 자바스크립트 + ES6) [풀스택 Part2]

안녕하세요. 웹페이지 강의 잘 수강 중입니다. 웹페이지 작성 연습 중 제가 가지고있는 이미지를 url형식으로 변환하여 사용하고 싶은데 변환방법을 검색하여 실습을 하긴했는데 로드문제 등 이슈가 발생합니다. 혹시 제가 가지고있는 이미지를 url형식으로 변환하려고 할 때 강사님께서 사용하시는 방법이나 활용할 수 있는 방법이 있다면 알려주시면 감사드리겠습니다. 항상 좋은 수업 해주셔서 큰 도움이 됩니다. 감사합니다.

  • javascript
  • HTML/CSS
  • es6
hjsong 댓글 1 좋아요 0 조회수 188

dart 2.12 이상 버전에서 json object null safety 처리는 어떻게 하나요?

미해결

Flutter 초급 - Http통신, 상태관리

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. json 형식으로 api 를 받아오는 경우가 많은데요. 이럴때 null safe 처리는 어떻게 해야 효율적일까요? chain 걸때마다 null safe 관련된 표기를 하면 에러 표기는 되지는 않는데 너무 지저분 해보여서요.. json object에 대한 null safe 처리를 어떻게 하면 좋을지 참고할만한 코드나 가이드를 알려주시면 감사하겠습니다. String getString (AirResult result) { if (result. data !. current !. pollution !. aqius ! <= 50 ) { return '좋음' ; } else if (result. data !. current !. pollution !. aqius ! <= 100 ) { return '보통' ; } else if (result. data !. current !. pollution !. aqius ! <= 150 ) { return '나쁨' ; } else { return '최악' ; } }

  • android
  • 웹앱
  • ios
  • Flutter
이동현 댓글 1 좋아요 0 조회수 665

지어어 관련 질문 할게요

미해결

실전 JSP (renew ver.) - 신입 프로그래머를 위한 강좌

include 지시어를 사용해서 hearder와 footer를 가져왔는데 header를 body 첫번째에 입력하고 footer를 body 맨 아래에 입력을 했는데 실제 나오는 거는 반대로 나오네요. 왜 이런건지 궁금합니다.

  • jsp
  • java
godls2513 댓글 0 좋아요 0 조회수 339

유레카 application 이름

미해결

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

유레카에 동일한 spring.application.name에 서로 다른 포트를 사용하여 여러 인스턴스를 등록할 수 있던데, 이렇게 하는 이유가 하나의 인스턴스가 죽으면 다른 인스턴스가 작동해야 하기 때문인가요?? 굳이 동일한 application.name을 사용하는 이유가 있을까요?

  • eureka
  • spring-boot
  • spring-cloud
  • architecture
  • JPA
  • Kafka
  • msa
코린이 댓글 1 좋아요 0 조회수 304

미니큐베 설치 오류 아래와같이 설치가 안되네용;ㅜㅜ

미해결

초보를 위한 쿠버네티스 안내서

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었 는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비ㅅ스 운영 관련 문의는 1:1 문의하기를 이용해주세요.

  • docker
  • kubernetes
전은규 댓글 1 좋아요 1 조회수 348

ppt 자료 요청합니다

미해결

팀 개발을 위한 Git, GitHub 입문

수업 너무 잘들었습니다. 강의 자료 부탁드립니다 simseen1568@hanmail.net

  • git
  • github
  • 버전관리시스템
realdata 댓글 1 좋아요 0 조회수 205

안녕하세요 강사님!

미해결

따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기

혹시 히로쿠에 배포를 하려고 하는데 동영상 업로드하면 썸네일이나 이미지의 경로가 다 localhost에 있어서 히로쿠에 접속한 다른 유저들은 볼수가 없는데 만약 히로쿠에 배포를 할때 히로쿠사이트로 동영상/썸네일을 업로드하고 보려면 s3같은 것을 이용해야하나요? 혹시 mongodb로는 불가능한가요??

  • mongodb
  • redux
  • nodejs
  • react
프론트엔드 댓글 1 좋아요 0 조회수 234

갑자기 궁금한게 생겻는데용

미해결

[리뉴얼] React로 NodeBird SNS 만들기

실무에서는 dispatch를 두가지 방법중 어떤방법으로 사용하는게 맞나요 ?

  • Next.js
  • express
  • nodejs
  • react
  • redux
wjdgksak 댓글 1 좋아요 0 조회수 176

로그인 성공 시 페이지

미해결

[리뉴얼] React로 NodeBird SNS 만들기

로그인 성공 시 replace를 하는데 이때 로그인 페이지가 따로 있을 경우에 로그인 페이지로 접근하기 직전 페이지로 replace를 하고 싶은데 이전 페이지 url 을 얻는 방법을 아무리 서핑해봐도 모르겠네요. 어떻게 해야 얻을 수 있나요??

  • 로그인
  • react
  • nodejs
  • redux
  • express
  • Next.js
권범수 댓글 1 좋아요 0 조회수 248

오류로 실행이 안 됩니다 ㅜㅜ

미해결

자바 ORM 표준 JPA 프로그래밍 - 기본편

pom.xml이나 persistence.xml, JpaMain.java, Member.java파일에서는 오류가 뜨지 않는데 JpaMin파일을 Run시키면 오류로 실행이 되지 않습니다. 아래는 오류 내용입니다! 어떻게 해결하면 좋을까요? ㅜㅜ 11월 08, 2021 1:29:42 오전 org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation INFO: HHH000204: Processing PersistenceUnitInfo [ name: hello ...] 11월 08, 2021 1:29:43 오전 org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.3.10.Final} 11월 08, 2021 1:29:43 오전 org.hibernate.cfg.Environment <clinit> INFO: HHH000206: hibernate.properties not found 11월 08, 2021 1:29:43 오전 org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit> INFO: HCANN000001: Hibernate Commons Annotations {5.0.4.Final} 11월 08, 2021 1:29:45 오전 org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator initiateService WARN: HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections 11월 08, 2021 1:29:45 오전 org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator initiateService WARN: HHH000342: Could not obtain connection to query metadata : The application must supply JDBC connections 11월 08, 2021 1:29:45 오전 org.hibernate.dialect.Dialect <init> INFO: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 11월 08, 2021 1:29:45 오전 org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl makeLobCreatorBuilder INFO: HHH000422: Disabling contextual LOB creation as connection was null Exception in thread "main" java.lang.UnsupportedOperationException: The application must supply JDBC connections at org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl.getConnection(UserSuppliedConnectionProviderImpl.java:44) at org.hibernate.internal.NonContextualJdbcConnectionAccess.obtainConnection(NonContextualJdbcConnectionAccess.java:35) at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:106) at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:136) at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getConnectionForTransactionManagement(LogicalConnectionManagedImpl.java:254) at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.begin(LogicalConnectionManagedImpl.java:262) at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.begin(JdbcResourceLocalTransactionCoordinatorImpl.java:236) at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:86) at JpaMain.main(JpaMain.java:13) Process finished with exit code 1

  • JPA
  • java
ggp03016 댓글 2 좋아요 0 조회수 4893

과제 제출 시 hash key is already used 문제 발생

미해결

프로그래밍, 데이터 과학을 위한 파이썬 입문

수고 많으십니다. 4달 전 수강까지는 과제 제출이 문제 없이 되었습니다. 이번에 다시 8강부터 과제 제출 후 강의를 수강하려 했으나, 과제 제출 시 "hash key is already used."오류가 발생하고 과제 제출 확인이 되지 않는 문제가 발생하고 있습니다. 이전 문의 내용을 확인해봤을때, 제가 사용한 해쉬키는 상단 hashkey에 나와있는 sub-a2df1-155826-????4 를 사용했습니다 install.bat까지 실행해봤을 때 backend.ai-client 모듈 설치 관련해서는 문제가 없는 것으로 보입니다. 어떤 문제인지 확인 부탁드리겠습니다.

  • 과제
  • bigdata
  • 과제제출
  • 문제
  • python
  • 과제제출문제
  • 과제오류
  • 제출오류
  • 해쉬오류
  • hash
차윤성 댓글 0 좋아요 0 조회수 492

6:50의 span값이 이상합니다.

미해결

더 개발자, 인터뷰 가이드

SPAN값을 아래와 같이 1 1 2 4 1 2 라고 이야기 주셨는데, 1 1 2 4 3 5 가 맞는 값 아닌가요??

  • 코테 준비 같이 해요!
  • 면접
Seungyeon Yi 댓글 1 좋아요 0 조회수 322

파워포인트 교육자료있나요?

미해결

스프링 배치

파워포인트 교육자료있나요? git은 주소는 어떻게 되나요?

  • spring-batch
  • spring-boot
dukbabo 댓글 1 좋아요 0 조회수 250

인기 태그

인프런 TOP Writers

주간 인기글