묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결초보를 위한 도커 안내서
커맨드 작성 후 에러가 납니다.
```` docker run --rm \ -v $(pwd)/hello.php:/app/hello.php \ php /app/hello.php \ php:7 ```` 해당 커맨드 작성 후 다음과 같은 에러가 납니다. chmod -R 777 /app/hello.php'를 해보았는데도 문제가 해결되지 않습니다.
-
미해결[NarP Series] MVC 프레임워크는 내 손에 [나프1탄]
메서드 질문!
request.setCharacterEncoding("utf-8"; setCharacterEncoding 메서드가 한글로 깨지지않게 잘보여주라는 메서드인거죠? 중요한 메서드 한 열개정도 알려주세요 다 외워버리게요!!
-
미해결Vue.js 시작하기 - Age of Vue.js
컴포넌트 "하이프(-)" 사용시 오류가 발생되요
<template> <visual-component/> </template> <script> import visual-component from './views/main/visual-component.vue'; export default { components: { visual-component } } </script> <style> </style> 위 내용처럼 작성했는데, 아래 처럼 에러가 발생됩니다. import visual-component from './views/main/visual-component.vue'; | ^ 7 | 8 | export default { 9 | components: { at parser.next (<anonymous>) 카멜표기법 "visualComponet"로 변경하면 문제는 없니는 해요 혹시 해결 방법이 있을까요?? https://github.com/me2designer/portfolio/blob/cc4453f4abd498bcafff477a20d0075ea3a76133/src/main.vue
-
미해결ISMS-P 인증심사원 자격검정 기본/실무 과정 시리즈 01 - T1. 인증제도, 인증기준1
강의자료 업데이트 예정.
언제 업데이트 되는 건가요?
-
미해결프론트엔드 개발자를 위한, 실전 웹 성능 최적화(feat. React) - Part. 1
paint 단계 질문
안녕하세요. paint단계에 대해 질문이 있습니다.paint단계에서는 layout단계에서 크기와 위치가 계산된 것들을 영역별로 쪼개서 레이아웃을 만드는 것으로 알고 있는데 강의에서처럼 색을 칠하고 레이아웃도 만든다고 생각을 하면 될까요?
-
미해결Vue.js 끝장내기 - 실무에 필요한 모든 것
뒤로가기 제어하는 방법
안녕하세요. 본강의와 상관없는 글을 올리게 되서 죄송합니다,아직 실무편은 목차만보고중급까지 Vue를 수강하고있는 초보 개발자 입니다. 현재 Vue로 앱웹을 만들고 있는데, 뒤로가기 버튼을 제어하는데 애를 먹고 있어도움을 얻고자 문의글 적습니다ㅠㅠ 현 페이지에서 Url변경없이 FullPopup창을 띄우는 과정에서 뒤로가기 버튼 클릭시 ㅠㅠ modal이 닫히는 형태를 구현하려고 하는데 어떻게 하는게 좋을까요 <div v-if="isOpenModal"> <component :is="modalGbn" v-bind:selectmodal="modalObj" v-on:popupdata="modalData"> <div class="modal-header" slot="header"> <h3>{{ modalTitle }}</h3> </div> <p slot="body" v-html="modalContent"></p> <button slot="moveBtn1" @click="modalData" class="btn modal-default-button">확인</button> </component></div> 오픈하는 모달창이 복수개라 위와같이 구현했는데 뒤로가기버튼으로 모달만 닫고싶습니다ㅠㅠ
-
미해결[리뉴얼] 코딩자율학습 제로초의 자바스크립트 입문
문자열(String)도 배열의 한 종류인가요??
최근 코딩 공부를 하다가, 좀 혼란스러운게 있어서 질문드립니다. 문자열은 분명히 타입오브 메소드를 썼을 때는 string이라는 문자열이라고 찍히는데, 배열의 방식으로도 문자열의 일부가 나오는 것을 보면서, 살짝 혼란스러웠습니다. 그래서, 제가 내린 가설은 "문자열도 배열의 하나이기 때문에, 배열의 방식으로 character를 찍을 수있다."는 것이었습니다. 문자열( string )은 배열의 하나인가요?? 아니면, 그냥 둘이 서로 다른 종류인데, 그냥 문자열에서 배열의 방식이 먹히는 건가요?? 감사합니다.
-
미해결스프링 핵심 원리 - 기본편
빈 라이프 싸이클과 PostConstruct, PreConstruct 질문입니다.
1. 스프링빈은 객체를 생성한다.2. 의존관계 주입을 한다.3. 이후 필요한 데이터를 사용 할 수 있는 준비가 된다. 강의 듣다가 명확하게 이해하고 싶어서 질문드립니다. 의존관계 주입후 필요한 데이터를 사용 할 수 있는 준비가 된다고 하는데 그렇다면 생성자로 모든 데이터와 DB 커넥션을 해주는 작업을 한다면 의존관계주입이 발생될때 해당 초기화 했던 작업들은 다 무시가 되나요?
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
unzip 오류관련 질문입니다.
unzip도 설치가 되어있는데.. 실습파일 압축해제과정에서 계속 저 에러문구가 나옵니다,..
-
미해결처음 배우는 리액트 네이티브
'npm'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.라고 뜹니다.
npm install -g expo-ci 라고 window cmd창에 입력을 했는데 'npm'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.라고 뜹니다. 라고 뜹니다. 어떻게 해결하나요?
-
해결됨[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
Selective search 질문
spp net을 rcnn에 적용할 때 selective search 를 feature map에 matching?한다고 표현하셨는데, Selective search가 objects를 찾는 거고, 이 objects들을 feature map에 매칭한다는게 정확히 어떤 의미인지 모르겠습니다.
-
미해결실시간 트렌드 홈페이지 개발(파이썬 크롤링 + Flask)
안녕하세요 강의 정말 잘봤습니다 ㅎㅎ
안녕하세요 강의 정말유용하게 잘봤습니다 ㅎㅎ 질문이 있는데 현제 현업에서 데이터분석쪽을 일하고있는데 데이터분석으로 시각화 한것을 웹사이트에 뿌려줄라고하는데 이런저런 방법을 해도 웹에 데이터가 잘 전달이 안되는거 같아요 오류 500이,, 예를들어 plt.~~~ plt.~~` plt. show() 이렇게 한묶음인데 이거를 함수로 묶고 return값으로 plt.show()를하면 개발환경에서는 잘 나오는데 웹에는 안뿌려지고ㅜㅜ 이런저런 방법시도중인데 혹시 이런경우에는 어떻게 처리하는게 맞을까요?ㅠㅠ
-
해결됨코딩은 실전이다! - Git알못을 위한 깃린이코스(Git, Github 실습위주)
slack 초대해주세요!
구글 아이디로 color961211@gmail.com 입니다!
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
묵시적 조인 => 명시적 조인
"select m.team from Member m"; 위의 쿼리문을 명시적 조인으로 바꾸면 "select t from Member m join m.team t"; 이렇게 바꾸는 게 맞을까요?? 찍어보니까 쿼리는 같은 쿼리가 나옵니다! 영한님이 말씀하시건 결국 전부 풀어서 쓰라는 말이 맞을까요?
-
미해결Vue.js 시작하기 - Age of Vue.js
안녕하세요 대장님 질문이있어용
<div id="app"> <!-- <app-header v-bind:프롭스 속성 이름="상위 컴포넌트의 데이터 이름"></app-header> --> <app-header v-bind:propsdata="message"></app-header> </div> 여기서 v-bind:propsdata="message"부분이 궁금한데요 let appHeader = { template: '<h1>{{propsdata}}</h1>', props : ['propsdata'], } appHeader객체에 props프로퍼티를 생성하고 값으로 propsdata라는 스티링값을 배열에 담아 보내면 props의 하위객체로 propsdata가 생성되더라구요 그러면 저는 여기서 궁금한게 v-bind:propsdata="message" 여기서 message값이 propsdata에 저장되는건가요?? propsdata 까봐도 안나오길래 어떻게 되는건지 궁금해서요..
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
연관관계의 주인과 연관관계 매핑
제가 이해하기로는 연관관계의 주인은 외래키가 있는 쪽이고, 외래키는 "다" 인쪽에 있다고 설명 드렸는데 왜 일대다 에서는 연관관계의 주인이 "일"에 있나요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
docker-compose의 volumes에 대한 질문입니다
안녕하세요! 헷갈리는 것이 있는데 혼자 테스트를 해보아도 잘 모르겠어서 질문드려요! docker-compose의 volumes를 이용했을때.. 어떤 경우에는 호스트의 폴더를 컨테이너의 폴더에 덮어 씌우고 어떤 경우에는 컨테이너의 폴더를 호스트의 폴더에 덮어씌우는것 같아요.. 전자의 경우 nginx컨테이너의 폴더가 덮어씌워짐 (호스트폴더:/usr/share/nginx/html) 후자의 경우 (컨테이너로 생성한 mysql의 폴더가 호스트에 생성됨) 무엇을 기준으로 이렇게 결과가 달라지는 건가요?! ㅠ_ㅠ
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
devtools 관련 궁금한 점이 있습니다.
게시판에 이미지 불러오기까지 적용시켜 보고 싶어서 아직 게시판까지 이어놓진 않고 이미지 업로드 & view 코드만 짜보고 있었습니다. 코드를 다 짜본 결과 서버를 재실행 시키기 전까진 이미지가 깨지다가 재실행 시키면 파일이 너무나도 잘 보이는데 이 때 구글링해서 devtools를 이용해 고쳐보려고 했지만 실패했습니다. 제 능력 부족인지 원래 안 되는 건지 모르겠어서 질문 드립니다. 1. 제가 겪는 서버 재시작 후 이미지 보임 현상은 devtools로 고칠 수 있는 건가요? 2. 만약 1번이 맞다면 실무에서도 devtools를 이용하나요? 3. 2번이 아니라면 실무에선 어떤 방법을 통해 이런 상황을 해결 하나요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
npm install 에러.. 도움 부탁드립니다
안녕하세요 선생님! 개발환경 세팅부터 오류가 나서 ,.. 도움 부탁드립니다 ㅠㅠ npm install 했더니 이런 오류가 뜨는데 해결방법을 못 찾겠네요 . node 버전은 16.0.0 입니다 - PS C:\Users\user\Downloads\boilerplate-mern-stack-master> npm install npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path C:\Users\user\Downloads\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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\user\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\user\Downloads\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.0.0 | win32 | x64 npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\user\Downloads\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.0.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@7.1.2 npm ERR! gyp info using node@16.0.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@7.1.2 npm ERR! gyp info using node@16.0.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 "python2" can be used npm ERR! gyp ERR! find Python - "python2" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if Python is C:\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Python27\python.exe npm ERR! gyp ERR! find Python - "C:\Python27\python.exe" could not be run npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 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:302:47) npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:200:18) npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:266:16) npm ERR! gyp ERR! stack at exithandler (node:child_process:333:5) npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:345:5) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:480:16) npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21) npm ERR! gyp ERR! System Windows_NT 10.0.19041 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" "--module=C:\\Users\\user\\Downloads\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\user\\Downloads\\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" npm ERR! gyp ERR! cwd C:\Users\user\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! gyp ERR! node -v v16.0.0 npm ERR! gyp ERR! node-gyp -v v7.1.2 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 --module=C:\Users\user\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\user\Downloads\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 ERR! stack at ChildProcess.<anonymous> (C:\Users\user\Downloads\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19041 npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\Downloads\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd C:\Users\user\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! node-pre-gyp ERR! node -v v16.0.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.14.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2021-09-28T04_56_34_583Z-debug.log
-
미해결대세는 쿠버네티스 (초급~중급편)
PV 야믈에서 hostpath와 local 속성 차이
apiVersion: v1 kind: PersistentVolume metadata: name: pv-03 spec: capacity: storage: 2G accessModes: - ReadWriteOnce local: path: /node-v nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - {key: kubernetes.io/hostname, operator: In, values: [k8s-node1]}------------------------------------------- apiVersion: v1 kind: PersistentVolume metadata: name: pv-hostpath1 spec: capacity: storage: 1G accessModes: - ReadWriteOnce hostPath: path: /mnt/hostpath ㅇㅇtype: DirectoryOrCreate 강의를 보니 둘다 PV를 만드는 yaml 인데 어떨때 hostpath를 넣는 거고 어떨때 local을 넣는 건가요??그리고 type에서 directoryOrCreate는 hostpath나 local중 아무때나 넣어도 되나요?