inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

Container 이미지 생성을 위해 어떤 공부가 필요한지요?

미해결

강사님 제가 개인적으로 궁금한 사항이 있어 문의드립니다. 컨테이너 이미지 생성을 위해 DOCKER 파일 생성 방법만 학습하면 되는지요? 아울러 DOCKER 파일 생성 이외에 더 알아야 할 것은 무엇이 있는지요? 감사합니다.

내일은 한걸음 더 나아갈거야 댓글 1 좋아요 0 조회수 190

ConfigMap과 Secret 의 Volumemout 부분입니다.

미해결

예제로 보여주신 실습 파일의 내용을 보면 ConfigMap 에서는 파일로 생성한 후 이를 프로그램에서 이 파일을 읽어서 처리하는 형태로 되어 있는 것 같습니다. Secrete 의 경우에는 이 파일을 생성하지 않고 env 를 이용하여 직접 변수로 사용하고 있었습니다. 몇 가지 질문 있습니다. ConfigMap 의 경우 파일로 생성하셨는데 그럼 POD 에서 이 값을 사용하려면 해당 파일을 열어서 읽어 사 용하는 건지 ? ConfigMap 도 VolumeMount 를 사용하는 경우에 env 를 사용해서 파일로 생성하지 않고 직접 env 변수로 사용하는 방법이 존재하는지 여부 Secrete 도 VolumeMount 를 사용하는 경우 별도의 파일을 생성해서 이 파일을 이용하는 방법의 존재 여부 입니다. 참고로 Secrete 의 volumes: 부분에 "secrete" 을 추가하여 파일이 생성되는지 확인해 봤지만 에러가 발생하였습니다. 아울러 좋은 강의 감사드립니다.

내일은 한걸음 더 나아갈거야 댓글 1 좋아요 0 조회수 178

회원 가입 Whitelabel Error 오류

해결됨

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 안녕하세요. 진행 중 해결되지 않는 오류가 있어 질문 드립니다. 기본 페이지 HelloSpring 까지는 정상적으로 뜨는데 이후 회원 가입 버튼을 누르면 Whitelabel 오류가 발생합니다. 비슷한 질문들이 있어서 확인하여 오타와 템플릿 구조까지 확인하였는데 원인을 모르겠습니다. -MemberController -MemberForm -createMemberForm.html -home.html -에러 코드 아래는 프로젝트 파일 구글 드라이브 링크입니다. https://drive.google.com/drive/folders/11r1sRmpTQR_So_Yu06AFgux0aCphYlUm?usp=sharing 감사합니다

  • java
  • spring
  • mvc
  • spring-boot
김진현 댓글 1 좋아요 0 조회수 606

keychain_dumper 오류 있습니다.

미해결

해커를 위한 iOS 앱 모의 해킹 전문 과정

/usr/bin에 압축을 푼 상태로 chmod 755 , 777 모두 한번씩 다 해봤고 암호, 지문 모두 설정되어있는 상태임에도 동일한 오류가 나 문의 드립니다 keychain_dumper 하나만 입력했을때 오류입니다. keychain_dumper > 1.txt를 입력했을때 나타나는 오류입니다.

  • ios
  • 모의해킹
inflearn 댓글 1 좋아요 0 조회수 461

함수 내 정적 변수 vs 클래스 내 정적 변수 질문 드립니다.

해결됨

[게임 프로그래머 입문 올인원] C++ & 자료구조/알고리즘 & STL & 게임 수학 & Windows API & 게임 서버

main() 함수 내에서 (UserManager 함수 내에서 선언한) static UserManager um 에 접근을 시도할 때 class UserManager에 um 멤버가 없습니다. 라는 오류가 뜨더라구요. 이 오류가 뜨는 이유가 함수 내에서 선언한 정적 변수는 함수를 통해서만 접근할 수 있기 때문인가요? 그렇다면 위의 함수 내에서 정적 변수를 선언한 방식과 아래처럼 class 내에 정적 변수를 선언했을 때 정적 변수가 생성되는 위치와 생성 과정 이 다른 건가요? class UserManager { public: static UserManager um; ... } UserManager UserManager::um;

  • 정적변수
  • static
김성범 댓글 1 좋아요 1 조회수 324

PropertyDrawer 질문

미해결

쉬우면서 강력한 유니티(Unity) 에디터 프로그래밍

<유니티 커스텀 에디터 질문> Q. 유니티커스텀 에디터 PropertyDrawer 사용시, OnGUI (Rect position, SerializedProperty property, GUIContent label) 메서드에서 property.FindPropertyRelative(nameof(Sentence.v_BodyMotion)); 를 호출했는데 컴파일오류가 없음에도 불구하고 해당 메서드의 반환값이 Null 일 경우는 무슨 경우인지 아시나요?

  • unity
Nayuki 댓글 1 좋아요 0 조회수 362

실수 질문

미해결

홍정모의 따라하며 배우는 C언어

3.5 정수와 실수 16:45 질문입니다 실수에서는 왜 Unsigned가 없는건가요? 소수도 부호를 가질 수 있지 않나요?

  • c
파이팅 댓글 1 좋아요 1 조회수 232

강의자료를 찾기가 힘든데요, 강의자료 어디서 받을 수 있을까요?

미해결

승리하는 제안서

먼저 좋은 강의 잘 들었습니다. 강의해주신 내용 참고해서 성공적인 제안 할 수 있도록 노력하겠습니다! 강의자료를 찾기가 힘든데요, 강의자료 어디서 받을 수 있을까요?

  • pt
  • 스피치
  • 기획서
jykim 댓글 1 좋아요 0 조회수 518

npm start 에러

미해결

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

npm ERR! code 1 npm ERR! path C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build --library=static_library npm ERR! 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 --library=static_library --module=C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v115-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v115-win32-x64-unknown --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (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.12.0 npm ERR! node-pre-gyp info using node@20.4.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\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v115-win32-x64-unknown\grpc_node.node" (not found) npm ERR! node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/node-v115-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp http 404 https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/node-v115-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/node-v115-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not found for grpc@1.19.0 and node@20.4.0 (node-v115 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp http 404 status code downloading tarball https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/node-v115-win32-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@20.4.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.4.0 npm ERR! gyp info using node@20.4.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\gjaischool\AppData\Local\Programs\Python\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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\gjaischool\AppData\Local\Programs\Python\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\gjaischool\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! gyp ERR! find Python checking if the py launcher can be used to find Python 3 npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python ********************************************************** npm ERR! gyp ERR! find Python You need to install the latest version of Python. npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not, npm ERR! gyp ERR! find Python you can try one of the following options: npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm) npm ERR! gyp ERR! find Python - Set the environment variable PYTHON npm ERR! gyp ERR! find Python - Set the npm configuration variable python: npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe" npm ERR! gyp ERR! find Python For more information consult the documentation at: npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation npm ERR! gyp ERR! find Python ********************************************************** npm ERR! gyp ERR! find Python npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Could not find any Python installation to use npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47) npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21) npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18) npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16) npm ERR! gyp ERR! stack at exithandler (node:child_process:427:5) npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:439:5) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:512:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:483:16) npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! gyp ERR! System Windows_NT 10.0.22621 npm ERR! 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" "--library=static_library" "--module=C:\\Users\\gjaischool\\Desktop\\x_test\\chatbot-app-master\\node_modules\\grpc\\src\\node\\extension_binary\\node-v115-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\\Users\\gjaischool\\Desktop\\x_test\\chatbot-app-master\\node_modules\\grpc\\src\\node\\extension_binary\\node-v115-win32-x64-unknown" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115" npm ERR! gyp ERR! cwd C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc npm ERR! gyp ERR! node -v v20.4.0 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! 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 --library=static_library --module=C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v115-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v115-win32-x64-unknown --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:512:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1098:16) npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:304:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22621 npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\gjaischool\\Desktop\\x_test\\chatbot-app-master\\node_modules\\grpc\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" npm ERR! node-pre-gyp ERR! cwd C:\Users\gjaischool\Desktop\x_test\chatbot-app-master\node_modules\grpc npm ERR! node-pre-gyp ERR! node -v v20.4.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.12.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: C:\Users\gjaischool\AppData\Local\npm-cache\_logs\2023-10-05T05_36_46_355Z-debug-0.log 이런식으로 오류가 계속납니다 .. 버전을 다운해서 받아도 나고 업그레이드 해도 나고 제발 알려주세요 ㅠㅠ

  • react
  • node.js
임세희 댓글 1 좋아요 0 조회수 590

다음 영상에서는 메뉴좀 크게보이게 해주세요.

해결됨

손에 익는 Next.js - 공식 문서 훑어보기

노트북에서 보면 프로젝트 디렉토리 폴더/파일들이 너무 작아서 안보이네요.

  • react
  • typescript
  • next.js
  • next.js13
doonee 댓글 2 좋아요 1 조회수 507

정수 질문

미해결

홍정모의 따라하며 배우는 C언어

3.5 정수와 실수 12:09 화면 캡처 질문입니다 각 칸에 0과 1이 들어가야 되는 이유랑 왜 0101 1110인지 궁금합니다 어떤건 0이고 어떤건 1인데 어떻게 구분하는건가요?

  • c
파이팅 댓글 1 좋아요 1 조회수 229

3-D 왜 틀렸을까요?

미해결

10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트

알려주시면 감사드립니다 ㅠㅠ http://boj.kr/55889bf2310f490a82888d282c975425

  • c++
  • 코딩-테스트
조현성 댓글 1 좋아요 0 조회수 292

thymeleaf 질문

미해결

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

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] th:href="@{|/basic/items/${item.id}|}" th:href="@{/basic/items/${item.id}}" 1번 구문과 2번구문의 차이는 ||로 감싸주냐 마냐의 차이인데 같은 결과 , 같은 동작을 하네요 이 경우에는 ||로 감싸줄 필요가없는건가요 아니면 인텔리제이에서 알아서 감지해서 ||로 자동으로 감싸준 결과로 실행을 해주는걸까요 ?

  • spring
  • mvc
계란 댓글 1 좋아요 0 조회수 518

파일시스템과 가상메모리

해결됨

곰책으로 쉽게 배우는 최소한의 운영체제론

강사님이 유저레벨에서 커널레벨로 가려면 파일을 통해서 가는거라 했잖아요 리눅스에서 /dev /sys 등 이런 디렉터리에서 파일들을 정리해놓은게 파일시스템이잖아요 근데 이 파일시스템의파일들이 강사님이 말한 그 파일인가요?? 만약 제가 맞게 이야기한거라면 파일시스템은 유저수준인가요?? (파일이라는게 커널과 유저를 연결하는 것도있으니까) 그리고 커널수준의 프로그램에게 전달하죠? 프로세스 마다 가상메모리를 사용한다고 하셨는데요 리눅스의 프로세스는 혹시 리눅스의 swap에 있는 거에서 쓰는거 맞죠?

  • 운영체제
sweetstar100 댓글 1 좋아요 0 조회수 382

Destroy 함수 질문

미해결

유니티(Unity)로 시작하는 게임개발: Part 3. 슈팅게임 개발

Object 클래스 안에 static 함수로 있다면, Random.Range(0,10); 과 같이 클래스이름.함수이름() Object.Destroy(object); 이렇게 호출해야 하는게 아닌가요?? 헷갈리네요 ㅠ

  • C#
  • unity
재민 댓글 1 좋아요 0 조회수 461

안녕하세요

미해결

홍정모의 따라하며 배우는 C언어

안녕하세요 인프런은 처음인데 따배C강의 무제한이면 언제든지 계속 들을수있는건지 궁금합니다. 혹시 아는내용은 스킵해도 수료증발급가능한지도 궁금합니다. 감사합니다.

  • c
kk kk 댓글 1 좋아요 1 조회수 398

스타일 찾아 다른 스타일로 바꾸는 방법 문의

해결됨

직장인에게 꼭 필요한 파이썬-아래아한글 자동화 레시피

안녕하세요. 수업을 듣다가(앞 5강의 정도) 당장 필요한 자동화 기능이 있어서 문의드립니다. 예를 들어 스타일 표1과 표2가 한 문서 안에 있을 때 파이썬으로 표1 스타일을 모두 찾아 표2 스타일로 바꾸는 방법이 있을까요? 도움이 될 강의 제목이나 구체적 방법을 알려 주시면 감사하겠습니다.

  • python
  • 한컴오피스
최인식 댓글 3 좋아요 1 조회수 712

socket.io 사용 시 cors 에러 with react

해결됨

Slack 클론 코딩[백엔드 with NestJS + TypeORM]

안녕하세요 제로초님~! 최근에 socket.io 문제를 해결해주셔서 감사합니다. 제로초님 덕분에 몇주간 있었던 불면증이 사라졌습니다. 이번에 드리고자 하는 질문은 백엔드 api 서버와 리액트 로컬호스트의 websocket 연결에서 cors 에러가 사라지지 않고 있다는 것입니다. 프론트와 백엔드 둘다 localhost 로 사용했을땐 문제 없이 잘 작동하였으나, 백엔드 api 서버와 프론트(리액트) http:// localhost :3000 로 연결하려 하니 cors 에러가 사라지질 않네요. 백엔드 api 서버주소는 https://api.yubinhome.com/ 이고, traefik 을 사용해 https 인증을 받고 있습니다. 제가 어떤 부분을 놓친 것인지 함께 봐주실 수 있을까요? 에러메시지 Access to XMLHttpRequest at 'http://api.yubinhome.com/socket.io/?EIO=4&transport=polling&t=Ohzm2C T' from origin 'http://localhost:300 0' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. GET http://api.yubinhome.com/socket.io/?EIO=4&transport=polling&t=OhzmhT k net::ERR_FAILED 요청헤더 응답헤더 시도 해 본 방법 1. 공식 문서에 나온대로 api url 에 직접 연결해보니 서버가 작동하고 있는 것은 확실해보입니다. 소켓io 공식문서 cors : https://socket.io/docs/v3/handling-cors/#troubleshooting 2. 서버측 origin, credetials 를 설정하였습니다. origin : "*" 가 문제인가 싶어 http://localhost:3000 url 을 직접 주었습니다. 클라이언트 측에는 withCredentials: true 을 설정해주었습니다. 백엔드 api 서버 코드 https://github.com/fog-of-war/dev-be/blob/dev/src/events/events.gateway.ts @WebSocketGateway({ cors: { origin: "http://localhost:3000", methods: ["GET", "POST"], allowedHeaders: ["authorization", "Authorization"], credentials: true, }, namespace: /\/ws-.+/, transports: ["websocket", "polling"], }) 리액트 코드 https://github.com/fog-of-war/dev-fe/blob/46a8de3a13de4039e9aa511a07cfeea23d8a85fa/src/components/Notifications/NoticeNotifications.tsx REACT_APP_API_URL =https://api.yubinhome.com / REACT_APP_SOCKET_URL=ws:/ /api.yubinhome.com/v1/ws-aler t let socket: any = null; socket = io(socketUrl + "-" + userId, { withCredentials: true, extraHeaders: { Authorization: `Bearer ${sanitizedToken}`, }, });

  • node.js
  • express
  • nestjs
  • typeorm
신유빈 댓글 2 좋아요 0 조회수 2787

리트코드 highest department salary 문제

미해결

[백문이불여일타] 데이터 분석을 위한 고급 SQL

첨부한 파일에 작성한 것과 같이 오답에서 where절과 서브쿼리절에 departmentid가 왜 와야되는지 이해가 가지 않습니다. department.name 이라고 생각을 했는데 앞에서 inner join을 했기 때문에 where와 서브쿼리절에 departmentid가 오는건가요?

  • sql
David Lee 댓글 2 좋아요 0 조회수 316

인기 태그

인프런 TOP Writers

주간 인기글