묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결리액트로 나만의 블로그 만들기(MERN Stack)
그대로 따라하였고 하루종일 reboot하는데 되지않습니다..
강사님.. 저는 다른 추가 기능없이 강사님의 코드 그대로 따라하였는데 어찌 build가 되지 않을까요?? 얼마를 내야 배포가 가능한 것입니까?
-
해결됨리액트로 나만의 블로그 만들기(MERN Stack)
Encountered two children with the same key 에러..
안녕하세요 무한스크롤 강의를 들은 이후로 이상한 에러가 뜹니다.. index.js:1 Warning: Encountered two children with the same key, `61888dc0bcad5b898380d112`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. 다른 페이지에서 다시 홈으로 가면 이런 오류가 포스트마다 뜨네요.. 처음 로드될때 []안해줘서 그런건가요? 왜이러는 거죠?
-
해결됨스프링 시큐리티
안녕하세요 강사님 antMatchers 질문드립니다!
안녕하세요 정수원 강사님 항상 수업 잘듣고있는 학생입니다. 3) 사용자 DB 등록 및 PasswordEncoder 강의 수강중 20:42 에서 서버 기동후에 편집이 되었는지 이후 20:55에 SecurityConfig 의 http.antMatchers() 파라미터로서 "user/login/**" 패턴이 새로 추가된 것이 보여집니다. 사실 10) 인증 실패 핸들러 : CustomAuthenticationFailureHandler 강의를 듣는 과정까지 해당패턴을 추가하지 않고 .antMatchers("/", "/users", "/login*").permitAll() 상태로 진행을 하였는데 딱히 에러가 발생하거나 하는부분을 겪지못했습니다.(제가 제대로 실습을 따라가지 못했을 가능성이 존재합니다..ㅠ) 결과적으로 "user/login/**" 패턴을 추가하신 이유가 무엇인지 궁금합니다. 추가로 antMatchers로써 추가해주는 패턴이라는 것이 클라이언트가 요청하는 URL만을 검사해주고 (ex: GetMapping("/ex"..)) 모델뷰로 반환하여 렌더링해주는 뷰의 경로까지는 검사해주지 않는지 혹은 뷰의 경로까지 검사하기 때문에 해당 뷰 경로까지 패턴으로 넣어주어야 하는것인지 궁금합니다. (사실 web.Ingnoreing을 통해 평소 시큐리티가 정적자원을 검사해주는 것까지는 이해하였는데 스프링에서 뷰를 렌더링해줄때도 시큐리티가 적용이 되는지 궁금한것인데 최대한 상세하게 질문드리려 하니 글이 길어졌습니다.) 항상 좋은강의 감사드리며 답변기다리겠습니다. 감사합니다!
-
미해결현존 최강 크롤링 기술: Scrapy와 Selenium 정복
xml을 parsing할때 <을 < 로 인식합니다.
안녕하세요, 강사님. requests로 url을 가져오고, BeautifulSoup으로 그것의 content를 html.parser로 parsing하면, 결과를 print하면 < 을 <로 인식합니다. 몇몇 <, >, ... 을 저런식으로 인식해서 그것을 고치려고 하는데 잘 안되네요 이럴땐 어떻게 해야하나요? 참고로 이전강의인 뷰티풀숩을 듣다가, 이어서 이 강의를 들으며 생긴 질문이라서 문의드립니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
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에러가 떠서 완성본에서 다운 받고 실행한겁니다!
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
메세지 컨버터 선택에 대한 질문이 있습니다.
안녕하세요 강사님 강의 듣고 스프링에 입문하게된 개발자입니다. 응답body에 대한 타입 변환은 메세지컨버터가 관여하며 이는 요청 파라미터의 Accept, 정확히는 Controller의 produces가 관여한다 고 배웠습니다. 그렇다면 요청하는 쪽에서 Header에 이를 명시하여야 제어가 가능하다 고 이해했는데 이를 요청 Parameter나 요청 Body를 이용하여 서버 내부에서 제어할 수 있는 방법이 있을까요?
-
미해결[비전공자 대환영] 제로베이스도 쉽게 입문하는 파이썬 데이터 분석 - 캐글입문기
강의자료
강의자료 _JS 파일 크롬으로 실행 시 스크립트로만 뜨는데 어떻게 실행을 해야하나요?? 윈도우, 알집으로 압축 풀었습니다
-
미해결따라하며 배우는 리액트 테스트 [2023.11 업데이트]
이번 강의에 보이는 terminal 내용이랑 제 컴퓨터 터미널 내용이랑 다릅니다.
카운터 숫자 구현하기 이 강의에 나오는 터미널 내용이랑 제 컴퓨터 터미널 내용이랑 다릅니다. 아마도 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.
-
해결됨스스로 구축하는 AWS 클라우드 인프라 - 기본편
key pair type
6분 25초쯤 key pair설정하는 단계에서 실습 과정 중 AWS가 재정비되며 새로 생긴 key pair type에 RSA, ED25519 중 선택해야 하는데 무엇을 선택해야 할까요?
-
미해결
커리큘럼 상에는 시험이 없는데 중간에 시험같은것도 있나요?
제목과 같습니다. 커리큘럼 상에는 시험이 없지만 중간에 시험이나 과제 등이 있을까요?
-
미해결HTML+CSS+JS 포트폴리오 실전 퍼블리싱(시즌2)
넷플릭스 반응형부분에서 막혔습니다.
오랜만이네요 하도 또 놀았네요..저번주부터 열심히 다시 시작했어요.. 반응형강의 따라하다가 이렇게 나오는 이유가 뭘까요?? 푸터도요ㅠㅠ 아래로 전문 첨부합니다.
-
미해결풀스택을 위한 탄탄한 프런트엔드 부트캠프 (HTML, CSS, 바닐라 자바스크립트 + ES6) [풀스택 Part2]
이미지 url관련 질문드립니다.
안녕하세요. 웹페이지 강의 잘 수강 중입니다. 웹페이지 작성 연습 중 제가 가지고있는 이미지를 url형식으로 변환하여 사용하고 싶은데 변환방법을 검색하여 실습을 하긴했는데 로드문제 등 이슈가 발생합니다. 혹시 제가 가지고있는 이미지를 url형식으로 변환하려고 할 때 강사님께서 사용하시는 방법이나 활용할 수 있는 방법이 있다면 알려주시면 감사드리겠습니다. 항상 좋은 수업 해주셔서 큰 도움이 됩니다. 감사합니다.
-
미해결Flutter 초급 - Http통신, 상태관리
dart 2.12 이상 버전에서 json object null safety 처리는 어떻게 하나요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 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 '최악'; }}
-
미해결실전 JSP (renew ver.) - 신입 프로그래머를 위한 강좌
지어어 관련 질문 할게요
include 지시어를 사용해서 hearder와 footer를 가져왔는데 header를 body 첫번째에 입력하고 footer를 body 맨 아래에 입력을 했는데 실제 나오는 거는 반대로 나오네요. 왜 이런건지 궁금합니다.
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
유레카 application 이름
유레카에 동일한 spring.application.name에 서로 다른 포트를 사용하여 여러 인스턴스를 등록할 수 있던데, 이렇게 하는 이유가 하나의 인스턴스가 죽으면 다른 인스턴스가 작동해야 하기 때문인가요?? 굳이 동일한 application.name을 사용하는 이유가 있을까요?
-
미해결초보를 위한 쿠버네티스 안내서
미니큐베 설치 오류 아래와같이 설치가 안되네용;ㅜㅜ
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비ㅅ스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결팀 개발을 위한 Git, GitHub 입문
ppt 자료 요청합니다
수업 너무 잘들었습니다. 강의 자료 부탁드립니다 simseen1568@hanmail.net
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
안녕하세요 강사님!
혹시 히로쿠에 배포를 하려고 하는데 동영상 업로드하면 썸네일이나 이미지의 경로가 다 localhost에 있어서 히로쿠에 접속한 다른 유저들은 볼수가 없는데 만약 히로쿠에 배포를 할때 히로쿠사이트로 동영상/썸네일을 업로드하고 보려면 s3같은 것을 이용해야하나요? 혹시 mongodb로는 불가능한가요??
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
갑자기 궁금한게 생겻는데용
실무에서는 dispatch를 두가지 방법중 어떤방법으로 사용하는게 맞나요 ?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
로그인 성공 시 페이지
로그인 성공 시 replace를 하는데 이때 로그인 페이지가 따로 있을 경우에 로그인 페이지로 접근하기 직전 페이지로 replace를 하고 싶은데 이전 페이지 url 을 얻는 방법을 아무리 서핑해봐도 모르겠네요. 어떻게 해야 얻을 수 있나요??