묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
m1 sass 설치 오류.....
m1 사용하면서 홈브류.. nvm.. npm 설치 오류들을 극복해가면서 드디어 npm을 설치했습니다... sass 설치가 안되는데 혹시 아시는 분 계신가요..? 탈모가 시작됐어요 그리고 npm 한테 물어보면 sass 가 설치되었다하는데 직접 버전을 물어보면 없다고 떠요...
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
개복치님 꼭 답변주시길 바랍니다.
BTS어플부터 막힌 왕초보입니다. 제가 비전공자기도 하고 처음으로 프로그래밍이라는걸 이 강의를 통해서 접해본거라 왕초보 강의라길래 자세히 가르쳐주시리라 믿고 들었습니다. 근데요 진짜 왕초보는 .xml 코딩할때 >로 닫는다는것조차 모른다구요 >로 닫는다는걸 말씀해주셨어야죠 ㅠㅠ왕초보 강의라면서요 ㅠㅠ 안드로이드 어쩌고 ="vertical">했는데 왜 개복치님처럼 BTS사진이 두줄이 안되고 여전히 일렬로 있을까 1시간을 고민했는데 아뿔싸..윗줄에 이미 LinearLayout에 대해서 >로 닫혀있었고 그 밑줄에 적어버려서 에러만 뜨는걸 컴공전공자 친구한테 물어보고 나서야 알았습니다. 왕초보 강의라면서요.....이런거 부터 알려달라구요 ㅠㅠㅠㅠㅠㅠ
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
한글 깨짐 문제 있습니다
사진처럼 jar로 했을 때는 print에 한글 깨짐이 없었는데 war로 하니까 한글이 깨지네요 어떻게 해결해야하나요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
질문이 있습니다
서버를 전부 완성한 후 돌려보았는데 처음엔 잘 되다가 서버쪽에서 Recv에서 0byte를 받고 소켓이 끊기네요... 혹시 몰라서 코드도 전부 비교해 보았는데 별다른 이상을 못 찾았어요... 혹시 어떤 경우에 0byte를 받는지 알 수 있을까요?
-
미해결[기초-응용] 다양한 환경을 앤서블(Ansible)로 관리하기 with 베이그런트(Vagrant)
안녕하세요 문의드립니다.
안녕하세요. 강사님. 다른분들의 문의글들을 봤는데 동일 증상인거 같은데... c:\HashiCorp>vagrant up Bringing machine 'ansible-server' up with 'virtualbox' provider... ==> ansible-server: Importing base box 'centos/7'... ==> ansible-server: Matching MAC address for NAT networking... ==> ansible-server: Checking if box 'centos/7' version '2004.01' is up to date... ==> ansible-server: Setting the name of the VM: Ansible-Server(Udemy-Bloter) ==> ansible-server: Clearing any previously set network interfaces... ==> ansible-server: Preparing network interfaces based on configuration... ansible-server: Adapter 1: nat ansible-server: Adapter 2: bridged ==> ansible-server: Forwarding ports... ansible-server: 22 (guest) => 19210 (host) (adapter 1) ==> ansible-server: Booting VM... ==> ansible-server: Waiting for machine to boot. This may take a few minutes... ansible-server: SSH address: 127.0.0.1:19210 ansible-server: SSH username: vagrant ansible-server: SSH auth method: private key ansible-server: ansible-server: Vagrant insecure key detected. Vagrant will automatically replace ansible-server: this with a newly generated keypair for better security. ansible-server: ansible-server: Inserting generated public key within guest... ansible-server: Removing insecure key from the guest if it's present... ansible-server: Key inserted! Disconnecting and reconnecting using new SSH key... ==> ansible-server: Machine booted and ready! [ansible-server] No Virtualbox Guest Additions installation found. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com Resolving Dependencies --> Running transaction check ---> Package centos-release.x86_64 0:7-8.2003.0.el7.centos will be updated ---> Package centos-release.x86_64 0:7-9.2009.1.el7.centos will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: centos-release x86_64 7-9.2009.1.el7.centos updates 27 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 27 k Downloading packages: No Presto metadata available for updates Public key for centos-release-7-9.2009.1.el7.centos.x86_64.rpm is not installed warning: /var/cache/yum/x86_64/7/updates/packages/centos-release-7-9.2009.1.el7.centos.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (@anaconda) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Cleanup : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Verifying : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Verifying : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Updated: centos-release.x86_64 0:7-9.2009.1.el7.centos Complete! Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com No package kernel-devel-3.10.0-1127.el7.x86_64 available. Error: Nothing to do Unmounting Virtualbox Guest Additions ISO from: /mnt umount: /mnt: not mounted ==> ansible-server: Checking for guest additions in VM... ansible-server: No guest additions were detected on the base box for this VM! Guest ansible-server: additions are required for forwarded ports, shared folders, host only ansible-server: networking, and more. If SSH fails on this machine, please install ansible-server: the guest additions and repackage the box to continue. ansible-server: ansible-server: This is not an error message; everything may continue to work properly, ansible-server: in which case you may ignore this message. The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! umount /mnt Stdout from the command: Stderr from the command: umount: /mnt: not mounted c:\HashiCorp>vagrant up Bringing machine 'ansible-server' up with 'virtualbox' provider... ==> ansible-server: Importing base box 'centos/7'... ==> ansible-server: Matching MAC address for NAT networking... ==> ansible-server: Checking if box 'centos/7' version '2004.01' is up to date... ==> ansible-server: Setting the name of the VM: Ansible-Server(Udemy-Bloter) ==> ansible-server: Clearing any previously set network interfaces... ==> ansible-server: Preparing network interfaces based on configuration... ansible-server: Adapter 1: nat ansible-server: Adapter 2: bridged ==> ansible-server: Forwarding ports... ansible-server: 22 (guest) => 19210 (host) (adapter 1) ==> ansible-server: Booting VM... ==> ansible-server: Waiting for machine to boot. This may take a few minutes... ansible-server: SSH address: 127.0.0.1:19210 ansible-server: SSH username: vagrant ansible-server: SSH auth method: private key ansible-server: ansible-server: Vagrant insecure key detected. Vagrant will automatically replace ansible-server: this with a newly generated keypair for better security. ansible-server: ansible-server: Inserting generated public key within guest... ansible-server: Removing insecure key from the guest if it's present... ansible-server: Key inserted! Disconnecting and reconnecting using new SSH key... ==> ansible-server: Machine booted and ready! [ansible-server] No Virtualbox Guest Additions installation found. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com Resolving Dependencies --> Running transaction check ---> Package centos-release.x86_64 0:7-8.2003.0.el7.centos will be updated ---> Package centos-release.x86_64 0:7-9.2009.1.el7.centos will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: centos-release x86_64 7-9.2009.1.el7.centos updates 27 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 27 k Downloading packages: No Presto metadata available for updates Public key for centos-release-7-9.2009.1.el7.centos.x86_64.rpm is not installed warning: /var/cache/yum/x86_64/7/updates/packages/centos-release-7-9.2009.1.el7.centos.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (@anaconda) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Cleanup : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Verifying : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Verifying : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Updated: centos-release.x86_64 0:7-9.2009.1.el7.centos Complete! Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com No package kernel-devel-3.10.0-1127.el7.x86_64 available. Error: Nothing to do Unmounting Virtualbox Guest Additions ISO from: /mnt umount: /mnt: not mounted ==> ansible-server: Checking for guest additions in VM... ansible-server: No guest additions were detected on the base box for this VM! Guest ansible-server: additions are required for forwarded ports, shared folders, host only ansible-server: networking, and more. If SSH fails on this machine, please install ansible-server: the guest additions and repackage the box to continue. ansible-server: ansible-server: This is not an error message; everything may continue to work properly, ansible-server: in which case you may ignore this message. The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! umount /mnt Stdout from the command: Stderr from the command: umount: /mnt: not mounted c:\HashiCorp> c:\HashiCorp>\\ '\\'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. c:\HashiCorp>vagrant up Bringing machine 'ansible-server' up with 'virtualbox' provider... ==> ansible-server: Importing base box 'centos/7'... ==> ansible-server: Matching MAC address for NAT networking... ==> ansible-server: Checking if box 'centos/7' version '2004.01' is up to date... ==> ansible-server: Setting the name of the VM: Ansible-Server(Udemy-Bloter) ==> ansible-server: Clearing any previously set network interfaces... ==> ansible-server: Preparing network interfaces based on configuration... ansible-server: Adapter 1: nat ansible-server: Adapter 2: bridged ==> ansible-server: Forwarding ports... ansible-server: 22 (guest) => 19210 (host) (adapter 1) ==> ansible-server: Booting VM... ==> ansible-server: Waiting for machine to boot. This may take a few minutes... ansible-server: SSH address: 127.0.0.1:19210 ansible-server: SSH username: vagrant ansible-server: SSH auth method: private key ansible-server: ansible-server: Vagrant insecure key detected. Vagrant will automatically replace ansible-server: this with a newly generated keypair for better security. ansible-server: ansible-server: Inserting generated public key within guest... ansible-server: Removing insecure key from the guest if it's present... ansible-server: Key inserted! Disconnecting and reconnecting using new SSH key... ==> ansible-server: Machine booted and ready! [ansible-server] No Virtualbox Guest Additions installation found. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com Resolving Dependencies --> Running transaction check ---> Package centos-release.x86_64 0:7-8.2003.0.el7.centos will be updated ---> Package centos-release.x86_64 0:7-9.2009.1.el7.centos will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: centos-release x86_64 7-9.2009.1.el7.centos updates 27 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 27 k Downloading packages: No Presto metadata available for updates Public key for centos-release-7-9.2009.1.el7.centos.x86_64.rpm is not installed warning: /var/cache/yum/x86_64/7/updates/packages/centos-release-7-9.2009.1.el7.centos.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (@anaconda) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Cleanup : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Verifying : centos-release-7-9.2009.1.el7.centos.x86_64 1/2 Verifying : centos-release-7-8.2003.0.el7.centos.x86_64 2/2 Updated: centos-release.x86_64 0:7-9.2009.1.el7.centos Complete! Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com No package kernel-devel-3.10.0-1127.el7.x86_64 available. Error: Nothing to do Unmounting Virtualbox Guest Additions ISO from: /mnt umount: /mnt: not mounted ==> ansible-server: Checking for guest additions in VM... ansible-server: No guest additions were detected on the base box for this VM! Guest ansible-server: additions are required for forwarded ports, shared folders, host only ansible-server: networking, and more. If SSH fails on this machine, please install ansible-server: the guest additions and repackage the box to continue. ansible-server: ansible-server: This is not an error message; everything may continue to work properly, ansible-server: in which case you may ignore this message. The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! umount /mnt Stdout from the command: Stderr from the command: umount: /mnt: not mounted 위와 같이 나타나네요... # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we support older styles for # backwards compatibility). Please don't change it unless you know what # you're doing. Vagrant.configure("2") do |config| config.vm.define:"ansible-server" do |cfg| cfg.vm.box = "centos/7" cfg.vm.provider:virtualbox do |vb| vb.name="Ansible-Server(Udemy-Bloter)" end cfg.vm.host_name="ansible-server" cfg.vm.synced_folder ".", "/vagrant", disabled: true cfg.vm.network "public_network", ip: "192.168.1.10" cfg.vm.network "forwarded_port", guest: 22, host: 19210, auto_correct: false, id: "ssh" cfg.vm.provision "shell", path: "bootstrap.sh" end end 도 이상은 없어 보이고... 답변 부탁드립니다~!! 참고로 환겨은 Window 환경이고, 공유기를 통해서 이전 무료강의에서는 문제 없이 잘 가동됬었습니다. 또한 VM도 생성되다가 위와 같이 에러가 뜨면서 설치가 중간됩니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
에셋스토어 구매 관련
안녕하세요. 수업을 정말 즐겁게 듣고 있는 직장인입니다. 다름이 아니라 에셋스토어에서 유료로 구매한 것을 활용하여 게임 출시하는 것도 문제가 될수 있는지 궁금해서 문의 남깁니다.
-
미해결Vue.js 끝장내기 - 실무에 필요한 모든 것
http to https redirection 관련 질문드립니다.
선생님 안녕하세요. 좋은 강의 잘 듣고 있습니다. 다름이 아니라 현재 개인적으로 공부중에 있는데, ssl 인증서 적용까지 하였으나 http로 vue.js app 페이지 접근시 https redirection 처리를 하려고 합니다. 구글링을 해봤는데, 명확히 적혀져 있는 글이 없어 이렇게 문의드립니다. 1. 우선 처음 ssl 적용은 vue.config.js 파일에 적용을 했었습니다. 2. 그런데 redirection을 하려면 node.js에서 해야한다는 글을 보고 Server.js 파일에서 진행을 했습니다. 3. 그런데 또 어떤 글을 proxy server에서 해야한다는 글도 있어서 실무에선 어떻게 적용을 하고 있는지 문의드립니다. 1. redirection을 해야 한다면 1번과 같이 veu.config.js 파일에서 해야하는지가 궁금합니다. 2. 만약 1번과 같이 하는게 아니라면 실무에서 어떻게 하고 있고 혹시 어떤 방법으로 하는지 알려주시면 매우 감사하겠습니다. 문의 내용이 잘 정리되지 않은 것 같아 우선 사과드리며, 수업에 관련없는 것으로 느껴지실 수도 있을 것 같은 것에 죄송한 말씀 올립니다. 며칠동안 찾아봤으나 명확한 답변이 없어 답변해주신다면 정말 감사드리겠습니다. 감사합니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
오류가 뜹니다.
코드를 컴파일하고 실행하면 vscode자체에서는 실행이 되는데 정작 localhost:3000에 접속하면 이렇게 뜹니다. 소스코드는 아래와 같습니다. import React from 'react'; import { BrowserRouter as Router, Routes, Route, Link } from "react-router-dom"; function App() { return ( <Router> <div> <ul> <li> <Link to="/">Home</Link> </li> <li> <Link to="about">About</Link> </li> <li> <Link to="dashboard">Dashboard</Link> </li> </ul> <hr /> <Routes> <Route exact path="/"> <Home /> </Route> <Route path="/about"> <About /> </Route> <Route path="/dashboard"> <Dashboard /> </Route> </Routes> </div> </Router> ); } export default App; function Home() { return ( <div> <h2>Home</h2> </div> ); } function About() { return ( <div> <h2>About</h2> </div> ); } function Dashboard() { return ( <div> <h2>Dashboard</h2> </div> ); }
-
미해결따라하며 배우는 NestJS
boardentity에 속성을 추가하니까 테이블에도 자동으로 속성이 추가되는데
postgresql은 sql형 디비잖아요. 그러면 테이블 구조가 한번 생성되고 나면 변경할 수 없는 것 아닌가요? 강의에서 boardentity에 user 컬럼을 추가하니까 실제 테이블도 바껴서요. 또 컬럼명이 왜 userId로 돼있는건지 궁금합니다. 어디서 userId로 설정이 된건지요??
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
500에러 ->400에러
안녕하세요 강의를 너무 잘 보고있습니다 감사합니다. public class UserNotFoundException extends RuntimeException{....} RuntimeException을 상속 받으시고(서버에러 5xx) 오류를 뱉으실떈 @ResponseStatus(HttpStatus.NOT_FOUND) (클라이언트에러4xx) 이렇게 달리하시는 이유가 궁금합니다 처음부터 400번대 Exception을상속받으면 안되나요 ?
-
미해결그로스해킹 - 데이터와 실험을 통해 성장하는 서비스를 만드는 방법
monthly active user 의 정의가....이해가 안 가요
저 이미지 첨부파일을 봐주세요. 저 부분 강의를 보고 하는 질문입니다. 선생님은 가입한 월(행) 과 마지막 로그인 한 월(열)로 monthly active user 를 설명하셨는데요. 저는 이 표의 monthly active user 정의가 GA에서의 monthly active user 와 매우 다르지 않나? 생각합니다. 이유: GA에서는 해당 월 동안 총 우리 홈페이지를 들락거린 모든 사람들을 합해서 수치를 보여줍니다. (즉, 2018년에 가입하고 해당 월에 들어와도 카운트, 2015년에 가입하고 해당 월에 들어와도 카운트, 가입 안한 사람도 카운트) 그런데 선생님은 저 열마다의 sum 값이 monthly active user라고 하셨습니다. 그런데 선생님이 예로 들어주신 표에서의 monthly active user는 ★오직 그 해에 가입한 사람들★만 카운트 됩니다. 그쵸??? 그럼 저는 monthly active user 의 개념이 도대체 뭔지 헷갈립니다 선생님이 정의한 대로 먼슬리 유저를 정의해서 회사에 보고하자니....GA먼슬리 유저랑 당연히 달라질테니요... 어떤게 맞는건가요? 프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
해결됨Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
선생님 라우터에서
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 선생님 라우터에서 component: 부분에서 하이오더 컴포넌트 호출할때요. 매개변수로 name을 안넘겨줘도 값이 제대로 나옵니다. 하이오더 컴포넌트에서도 name을 받지 않아도 어차피 this.$route.name으로 분기 처리를 해서 알아서 구분해 주기 때문에 name으로 매개변수를 받지 않아도 됩니다. 굳이 받으신 이유가 있나요? 저렇게 하면 개발자도구 vue에서 하이오더 컴포넌트가 이름이 없고 Anonymous Component로 바뀌기는 합니다. 추후에 유지보수 차원에서 누가 보냈는지 개발자 도구에서 확인하기 위해서 써주신 건가용? routes > index.js { path: '/newsView', name: 'news', //component: NewsView component: createListView(), }, { path: '/jobsView', name: 'jobs', //component: JobsView component: createListView(), }, { path: '/askView', name: 'ask', //component: AskView component: createListView(), }
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
로그인이안되네요.
로그인하면 석세스안되고 대기중입니다.. 사가쪽에 입력한 이메일 받앗나확인하고 이부분하다가 passport local이랑 index다확인하고 비밀번호제거한값으로 user보내고 했는데 왜안되는지모르겟어요... 로그인 리퀘스트의 state를 확인하니 me부분이 null이라 이거때문인거같긴한데 그래서 사가부분에서 데이터 받앗나 확인한거였거든요 원인을 잘모르겟습니다. 노드 워닝 같이올릴게요.. [nodemon] 2.0.14 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node app.js` 서버 실행중 Executing (default): CREATE TABLE IF NOT EXISTS `Users` (`id` INTEGER NOT NULL auto_increment , `email` VARCHAR(30) NOT NULL UNIQUE, `nickname` VARCHAR(30) NOT NULL, `password` VARCHAR(100) NOT NULL, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Users` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Posts` (`id` INTEGER NOT NULL auto_increment , `content` TEXT NOT NULL, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `UserId` INTEGER, `RetweetId` INTEGER, PRIMARY KEY (`id`), FOREIGN KEY (`UserId`) REFERENCES `Users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`RetweetId`) REFERENCES `Posts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Posts` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Images` (`id` INTEGER NOT NULL auto_increment , `src` VARCHAR(200) NOT NULL, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `PostId` INTEGER, PRIMARY KEY (`id`), FOREIGN KEY (`PostId`) REFERENCES `Posts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Images` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Hashtags` (`id` INTEGER NOT NULL auto_increment , `name` VARCHAR(20) NOT NULL, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Hashtags` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Comments` (`id` INTEGER NOT NULL auto_increment , `content` TEXT NOT NULL, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `UserId` INTEGER, `PostId` INTEGER, PRIMARY KEY (`id`), FOREIGN KEY (`UserId`) REFERENCES `Users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`PostId`) REFERENCES `Posts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci; Executing (default): SHOW INDEX FROM `Comments` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Like` (`createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `UserId` INTEGER , `PostId` INTEGER , PRIMARY KEY (`UserId`, `PostId`), FOREIGN KEY (`UserId`) REFERENCES `Users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`PostId`) REFERENCES `Posts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Like` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `Follow` (`createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `FollowingId` INTEGER , `FollowerId` INTEGER , PRIMARY KEY (`FollowingId`, `FollowerId`), FOREIGN KEY (`FollowingId`) REFERENCES `Users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`FollowerId`) REFERENCES `Users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `Follow` FROM `react-nodebird` Executing (default): CREATE TABLE IF NOT EXISTS `PostHashtag` (`createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `PostId` INTEGER , `HashtagId` INTEGER , PRIMARY KEY (`PostId`, `HashtagId`), FOREIGN KEY (`PostId`) REFERENCES `Posts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`HashtagId`) REFERENCES `Hashtags` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; Executing (default): SHOW INDEX FROM `PostHashtag` FROM `react-nodebird` db연결 성공 Executing (default): SELECT `id`, `email`, `nickname`, `password`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`email` = 'wjdgksak@naver.com';Executing (default): SELECT `User`.`id`, `User`.`email`, `User`.`nickname`, `User`.`createdAt`, `User`.`updatedAt`, `Posts`.`id` AS `Posts.id`, `Followings`.`id` AS `Followings.id`, `Followings->Follow`.`createdAt` AS `Followings.Follow.createdAt`, `Followings->Follow`.`updatedAt` AS `Followings.Follow.updatedAt`, `Followings->Follow`.`FollowingId` AS `Followings.Follow.FollowingId`, `Followings->Follow`.`FollowerId` AS `Followings.Follow.FollowerId`, `Followers`.`id` AS `Followers.id`, `Followers->Follow`.`createdAt` AS `Followers.Follow.createdAt`, `Followers->Follow`.`updatedAt` AS `Followers.Follow.updatedAt`, `Followers->Follow`.`FollowingId` AS `Followers.Follow.FollowingId`, `Followers->Follow`.`FollowerId` AS `Followers.Follow.FollowerId` FROM `Users` AS `User` LEFT OUTER JOIN `Posts` AS `Posts` ON `User`.`id` = `Posts`.`UserId` LEFT OUTER JOIN ( `Follow` AS `Followings->Follow` INNER JOIN `Users` AS `Followings` ON `Followings`.`id` = `Followings->Follow`.`FollowingId`) ON `User`.`id` = `Followings->Follow`.`FollowerId` LEFT OUTER JOIN ( `Follow` AS `Followers->Follow` INNER JOIN `Users` AS `Followers` ON `Followers`.`id` = `Followers->Follow`.`FollowerId`) ON `User`.`id` = `Followers->Follow`.`FollowingId` WHERE `User`.`id` = 1; (node:3728) UnhandledPromiseRejectionWarning: SequelizeDatabaseError: Unknown column 'Posts.UserId' in 'on clause' at Query.formatError (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:265:16) at Query.run (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:77:18) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:3728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:3728) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Executing (default): SELECT `id`, `email`, `nickname`, `password`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`email` = 'wjdgksak@naver.com';Executing (default): SELECT `User`.`id`, `User`.`email`, `User`.`nickname`, `User`.`createdAt`, `User`.`updatedAt`, `Posts`.`id` AS `Posts.id`, `Followings`.`id` AS `Followings.id`, `Followings->Follow`.`createdAt` AS `Followings.Follow.createdAt`, `Followings->Follow`.`updatedAt` AS `Followings.Follow.updatedAt`, `Followings->Follow`.`FollowingId` AS `Followings.Follow.FollowingId`, `Followings->Follow`.`FollowerId` AS `Followings.Follow.FollowerId`, `Followers`.`id` AS `Followers.id`, `Followers->Follow`.`createdAt` AS `Followers.Follow.createdAt`, `Followers->Follow`.`updatedAt` AS `Followers.Follow.updatedAt`, `Followers->Follow`.`FollowingId` AS `Followers.Follow.FollowingId`, `Followers->Follow`.`FollowerId` AS `Followers.Follow.FollowerId` FROM `Users` AS `User` LEFT OUTER JOIN `Posts` AS `Posts` ON `User`.`id` = `Posts`.`UserId` LEFT OUTER JOIN ( `Follow` AS `Followings->Follow` INNER JOIN `Users` AS `Followings` ON `Followings`.`id` = `Followings->Follow`.`FollowingId`) ON `User`.`id` = `Followings->Follow`.`FollowerId` LEFT OUTER JOIN ( `Follow` AS `Followers->Follow` INNER JOIN `Users` AS `Followers` ON `Followers`.`id` = `Followers->Follow`.`FollowerId`) ON `User`.`id` = `Followers->Follow`.`FollowingId` WHERE `User`.`id` = 1; (node:3728) UnhandledPromiseRejectionWarning: SequelizeDatabaseError: Unknown column 'Posts.UserId' in 'on clause' at Query.formatError (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:265:16) at Query.run (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:77:18) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:3728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) Executing (default): SELECT `id`, `email`, `nickname`, `password`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`email` = 'wjdgksak@naver.com';Executing (default): SELECT `User`.`id`, `User`.`email`, `User`.`nickname`, `User`.`createdAt`, `User`.`updatedAt`, `Posts`.`id` AS `Posts.id`, `Followings`.`id` AS `Followings.id`, `Followings->Follow`.`createdAt` AS `Followings.Follow.createdAt`, `Followings->Follow`.`updatedAt` AS `Followings.Follow.updatedAt`, `Followings->Follow`.`FollowingId` AS `Followings.Follow.FollowingId`, `Followings->Follow`.`FollowerId` AS `Followings.Follow.FollowerId`, `Followers`.`id` AS `Followers.id`, `Followers->Follow`.`createdAt` AS `Followers.Follow.createdAt`, `Followers->Follow`.`updatedAt` AS `Followers.Follow.updatedAt`, `Followers->Follow`.`FollowingId` AS `Followers.Follow.FollowingId`, `Followers->Follow`.`FollowerId` AS `Followers.Follow.FollowerId` FROM `Users` AS `User` LEFT OUTER JOIN `Posts` AS `Posts` ON `User`.`id` = `Posts`.`UserId` LEFT OUTER JOIN ( `Follow` AS `Followings->Follow` INNER JOIN `Users` AS `Followings` ON `Followings`.`id` = `Followings->Follow`.`FollowingId`) ON `User`.`id` = `Followings->Follow`.`FollowerId` LEFT OUTER JOIN ( `Follow` AS `Followers->Follow` INNER JOIN `Users` AS `Followers` ON `Followers`.`id` = `Followers->Follow`.`FollowerId`) ON `User`.`id` = `Followers->Follow`.`FollowingId` WHERE `User`.`id` = 1; (node:3728) UnhandledPromiseRejectionWarning: SequelizeDatabaseError: Unknown column 'Posts.UserId' in 'on clause' at Query.formatError (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:265:16) at Query.run (C:\index\nodeNest\back\node_modules\sequelize\lib\dialects\mysql\query.js:77:18) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:3728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) 이건 git주소입니다. https://github.com/MaJunghan/Next.js-and-node 확인하시면 다시 private으로 변경하겠습니다.
-
미해결웹 개발자와 정보보안 입문자가 꼭 알아야 할 웹 해킹 & 시큐어 코딩
산술연산자로 취약점 판별하는 방법..
강의 잘 듣고 있습니다 강사님! 인젝션 취약점 존재여부 확인방법 보는중 한가지 문의가 있습니다. 숫자형일때 산술연산이 가능한지 보는것과, case when 구문이 가능한 경우 이게 왜 injection 에 취약한건지요? test 검색어를 te' 'st 로 검색했을때도 값이 정상적으로 나오는건 sql 조작어인 ' 를 적절히 필터링하거나 대응해주지 못해서인건 알겠습니다만..
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
30강 로그인 질문
안녕하세요. 정말 잘 보고 있습니다. mongo db에서 register로 위와 같은 아이디, 비밀번호로 등록을 해주었는데 왜인지 모르겠지만 위와 같은 오류로 로그인 다음을 진행할 수 없는 상황입니다. - 이메일 주소 속의 @를 읽지 못하고 있으며 - 이상하게 비밀번호인 1234567에다가 @를 넣으라는 오류인데 조언을 구할 수 있을까요? 우선 postman을 통해 비밀번호에 @가 들어가게 다시 register 해줄 계획이긴한데, 이게 본질적인 해결은 아닐 것 같아서 조언 구해봅니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
mongoDB 의 모델의 역할
module.exports = mongoose.model('User', userSchema) 와 같은 스키마를 감싼 모델(mongodb의 컬렉션)을 이용하면const user = new User(req.body) 와 같이 req 정보를 이용하여 모델 인스턴스를 만든다음에이걸 다시 save 메서드를 통해 mongoDB의 User(users) 컬렉션에 저장할 수도 있고,User.findOne({ email: req.body.email }, (err, user) => { //요청한 email이 db정보 안에 있을 때 해당 db정보를 담은 객체 user 가 생성된다. if (!user) { return res.json({ loginSuccess: false, message: "제공된 이메일에 해당하는 유저가 없습니다." }) }와 같이 User(users)컬렉션에 접근(조회)하여 해당 객체를 찾을 수도 있다. 결론: mongoDB의 모델은 모델 인스턴스를 생성할 수도 있고, DB에 접근하여 값을 조회,수정 등등을 할 수 있다라고 이해했는데 맞는 것인지 궁금합니다. 역할이 다양한게 조금 헷갈려서 질문드립니다.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
dict 수업중에 popitem이 임의의 값을 추출해온다고 하셨는데
리스트 수업에서였나 pop 값이 맨 뒤의 결과값을 빼낸다고 이해했는데 popitem은 임의의 값을 꺼내온다고 하셔서요 몇번 돌려봐도 임의의 값이 아니라 맨 뒤의 결과값이 꺼내져오는것같은데 혹시 제가 이해를 잘못했을까요? 아니면 프로그램의 결과값이 우연의 일치로 그런걸까요ㅠㅠ??
-
해결됨핵심만 쉽게, 모두의 SQL 데이터 분석
오라클 계정 문의
안녕하세요 Oracle developer 다운받고 강의 수강중인데요 사용자 계정에 oracle, 실습용 HR계정은 따로 만들어야 하는건가요?
-
해결됨Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
선생님 하이오더 컴포넌트를 사용하는 이유는 무엇인가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 선생님 하이오더 컴포넌트가 CreateListView.js이잖아요. 이걸 쓰는 이유가 중복되는 코드의 재사용이라고 하셨는데요. NewsView, JobsView, AskView에서 List로 뿌려주는 부분이 공통적이기 ListView.vue라는 공통 컴포넌트를 만들어 줬잖아요. 그렇다면 데이터를 불러오는 부분이 공통적이면 ListView.vue처럼 공통적인 소스코드를 넣을 컴포넌트를 만들면 되지 않나요? js파일이라는 하이오더 컴포넌트랑 공통부분을 따로 뺀 vue 파일이랑 어떤 부분이 차이점이 있는지 잘 이해가 되지 않습니다.
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
이미지 업로드시 None of these files exist 에러가 뜹니다.
경로안에 이미지 이름 안틀리고 그대로 넣었는데 basketball1.jpeg파일이 없다고 뜹니다. 뭐가 문제인지 알려주실수 있을까요??