inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

다시 질문 드립니다.

미해결

파이썬 텍스트 분석 입문 - 데이터 수집부터 분석까지

konlpy 설치를 성공했는데, 그 다음이 진행되지 않아요. Collecting konlpy Downloading konlpy-0.5.2-py2.py3-none-any.whl (19.4 MB) Collecting beautifulsoup4==4.6.0 Downloading beautifulsoup4-4.6.0-py3-none-any.whl (86 kB) Requirement already satisfied: JPype1>=0.7.0 in c:\users\samsung\anaconda3\lib\site-packages (from konlpy) (1.1.2) Requirement already satisfied: lxml>=4.1.0 in c:\users\samsung\anaconda3\lib\site-packages (from konlpy) (4.6.1) Collecting tweepy>=3.7.0 Downloading tweepy-3.10.0-py2.py3-none-any.whl (30 kB) Requirement already satisfied: numpy>=1.6 in c:\users\samsung\anaconda3\lib\site-packages (from konlpy) (1.19.2) Requirement already satisfied: colorama in c:\users\samsung\anaconda3\lib\site-packages (from konlpy) (0.4.4) Requirement already satisfied: six>=1.10.0 in c:\users\samsung\anaconda3\lib\site-packages (from tweepy>=3.7.0->konlpy) (1.15.0) Requirement already satisfied: requests[socks]>=2.11.1 in c:\users\samsung\anaconda3\lib\site-packages (from tweepy>=3.7.0->konlpy) (2.24.0) Collecting requests-oauthlib>=0.7.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\samsung\anaconda3\lib\site-packages (from requests[socks]>=2.11.1->tweepy>=3.7.0->konlpy) (1.25.11) Requirement already satisfied: idna<3,>=2.5 in c:\users\samsung\anaconda3\lib\site-packages (from requests[socks]>=2.11.1->tweepy>=3.7.0->konlpy) (2.10) Requirement already satisfied: certifi>=2017.4.17 in c:\users\samsung\anaconda3\lib\site-packages (from requests[socks]>=2.11.1->tweepy>=3.7.0->konlpy) (2020.6.20) Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\samsung\anaconda3\lib\site-packages (from requests[socks]>=2.11.1->tweepy>=3.7.0->konlpy) (3.0.4) Requirement already satisfied: PySocks!=1.5.7,>=1.5.6; extra == "socks" in c:\users\samsung\anaconda3\lib\site-packages (from requests[socks]>=2.11.1->tweepy>=3.7.0->konlpy) (1.7.1) Collecting oauthlib>=3.0.0 Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Installing collected packages: beautifulsoup4, oauthlib, requests-oauthlib, tweepy, konlpy Attempting uninstall: beautifulsoup4 Found existing installation: beautifulsoup4 4.9.3 Uninstalling beautifulsoup4-4.9.3: Successfully uninstalled beautifulsoup4-4.9.3 Successfully installed beautifulsoup4-4.6.0 konlpy-0.5.2 oauthlib-3.1.0 requests-oauthlib-1.3.0 tweepy-3.10.0 그리고 나서 from~으로 진행했는데, --------------------------------------------------------------------------- JVMNotFoundException Traceback (most recent call last) <ipython-input-6-d574e370b2da> in <module> 1 from konlpy . tag import Okt ----> 2 okt = Okt ( ) 3 okt . pos ( "konlpy의 설치를 성공적으로 마쳤습니다." ) ~\anaconda3\lib\site-packages\konlpy\tag\_okt.py in __init__ (self, jvmpath, max_heap_size) 89 def __init__ ( self , jvmpath = None , max_heap_size = 1024 ) : 90 if not jpype . isJVMStarted ( ) : ---> 91 jvm . init_jvm ( jvmpath , max_heap_size ) 92 93 oktJavaPackage = jpype . JPackage ( 'kr.lucypark.okt' ) ~\anaconda3\lib\site-packages\konlpy\jvm.py in init_jvm (jvmpath, max_heap_size) 53 classpath = os . pathsep . join ( f . format ( * args ) for f in folder_suffix ) 54 ---> 55 jvmpath = jvmpath or jpype . getDefaultJVMPath ( ) 56 57 # NOTE: Temporary patch for Issue #76. Erase when possible. ~\anaconda3\lib\site-packages\jpype\_jvmfinder.py in getDefaultJVMPath () 72 else : 73 finder = LinuxJVMFinder ( ) ---> 74 return finder . get_jvm_path ( ) 75 76 ~\anaconda3\lib\site-packages\jpype\_jvmfinder.py in get_jvm_path (self) 210 if jvm_notsupport_ext is not None : 211 raise jvm_notsupport_ext --> 212 raise JVMNotFoundException("No JVM shared library file ({0}) " 213 "found. Try setting up the JAVA_HOME " 214 "environment variable properly." JVMNotFoundException : No JVM shared library file (jvm.dll) found. Try setting up the JAVA_HOME environment variable properly. 이렇게 나옵니다.

  • anaconda
  • pandas
  • 웹-크롤링
  • 텍스트마이닝
joonhye moon 댓글 1 좋아요 0 조회수 658

에릭님! 질문입니다.

미해결

피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z

그리드 강의 다시 보고 있는데요~ 7:30쯤에 type을 center로 하시고 width를 65px로 넣으시는데요. colum이 12개일때, colum width를 구하는 공식이나 방법이 있으신가요? 그 과정없이 바로 65px을 넣으셔서 제가 나중에 다른 프레임을 만들때, 저 width자리에 어떤 값을 넣어야할지 궁금합니다.

  • 웹 디자인
  • 모바일-디자인
  • figma
AirDream 댓글 1 좋아요 0 조회수 274

@GetMapping(value="")는 뭐가다른걸까요?

미해결

스프링 시큐리티

docs를 보면 @GetMapping(value="") @GetMapping(path = "") @GetMapping("") 세개가 결국 다 동일하다는 결론이 나오는 것 같은데, 단순 관습에 의한 문법차이인건가요?

  • spring-boot
  • Spring Security
  • java
한창훈 댓글 1 좋아요 0 조회수 913

어차피 Id가 있는데 주문번호를 굳이 추가하는 이유는?

미해결

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

https://www.inflearn.com/questions/17776 안녕하세요 강사님, 위 질문의 답변 내용에 대해서 추가 질문을 드리고자 합니다. 주문번호라는 새로운 컬럼을 추가하여 PK로 사용하신다는 것은 지금까지 강의에서 설명하셨던 것처럼 PK를 Generated Value로 사용하기 위함일거라고 생각되는데요. 어차피 Id라는 녀석이 있는데 왜 굳이 주문번호 컬럼을 추가하는지 모르겠습니다. 애초에 Id라는 값이 위의 목적에 부합하는 Generated Value이지 않나요? 그냥 Id를 바로 PK삼으면 될 것을 왜 굳이 주문번호를 추가하는지요? 혹시 Id라는 값이 Generated Value로 주어진 PK로서의 역할만 하는 것이 아니라 비즈니스 로직에서 어떤 유의미한 값으로 사용될 수 있기 때문인가요? 만약 이게 맞다면, 이러한 Id의 쓰임새에 대해서 간략하게 설명을 부탁드려도 될까요? 감사합니다.

  • JPA
  • java
akakakakak 댓글 1 좋아요 0 조회수 548

abstract

미해결

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

안녕하세요 강사님, 질문 드리겠습니다. 세 가지 방법 모두 부모를 abstract로 생성해야 하나요? 조인 전략은 Item이 따로 존재하면서 조인을 통회 조회하는 것이니 abstract이 아니어야 하는 게 맞나 싶기도 해서요;;

  • java
  • JPA
akakakakak 댓글 1 좋아요 1 조회수 248

5강 NAT 강의 중 공인 아이피가 한개 일때 질문입니다.

미해결

누구나 시작할 수 있는 네트워크 Step 2 (서브넷팅)

안녕하세요. 궁금한 점이 있습니다. 만약 공인 아이피가 한 개 일때 저와 동생이 동시에 네이버 페이지를 열었다고 했을때 제가 쓰는 사설 아이피는 공인 아이피로 변환되어 네이버로 갈것이고. 이때 라우터는 공인아이피를 제 사설 아이피로 셋팅을 하고 있다고 이해를 했는데요. 그래야 돌아오고 나서 제 피씨로 찾아 들어 올테니까요.. 그럼 동생은 비어있는 공인 아이피가 없으니 제 컴퓨터에서 네이버로 결과를 받을때까진 사용 할수 없는 건가요? 라우터가 사설 아이피를 삭제하는 구간이 언제인지 궁금합니다. 보내고 어딘가 저장하고 지우는건지. 보내고 돌아올때까지 기다리고 있는건지..

  • network
note K 댓글 2 좋아요 0 조회수 257

지정된 파일을 찾을 수 없습니다. 오류가 뜹니다.

미해결

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

강의와 관련있는 질문 을 남겨주세요. &bull; 강의와 관련이 없는 질문은 지식공유자가 답변하지 않을 수 있습니다. (사적 상담, 컨설팅, 과제 풀이 등) &bull; 질문을 남기기 전, 비슷한 내용을 질문한 수강생이 있는지 먼저 검색 을 해주세요. (중복 질문을 자제해주세요.) &bull; 서비스 운영 관련 질문은 인프런 우측 하단 &lsquo;문의하기&rsquo; 를 이용해주세요. (영상 재생 문제, 사이트 버그, 강의 환불 등) 질문 전달 에도 요령이 필요합니다. &bull; 지식공유자가 질문을 좀 더 쉽게 확인할 수 있게 도와주세요. &bull; 강의실 페이지 (/lecture) 에서 '질문하기'를 이용해주시면 질문과 연관된 수업 영상 제목이 함께 등록됩니다. &bull; 강의 대시보드에서 질문을 남길 경우, 관련 섹션 및 수업 제목을 기재 해주세요. &bull; 수업 특정 구간에 대한 질문은 꼭 영상 타임코드 를 남겨주세요! 구체적인 질문 일수록 명확한 답을 받을 수 있어요. &bull; 질문 제목은 핵심 키워드를 포함해 간결하게 적어주세요. &bull; 질문 내용은 자세하게 적어주시되, 지식공유자가 답변할 수 있도록 구체적으로 남겨주세요 . &bull; 정확한 질문 내용과 함께 코드 를 적어주시거나, 캡쳐 이미지 를 첨부하면 더욱 좋습니다. 기본적인 예의 를 지켜주세요. &bull; 정중한 의견 및 문의 제시, 감사 인사 등의 커뮤니케이션은 더 나은 강의를 위한 기틀이 됩니다. &bull; 질문이 있을 때에는 강의를 만든 지식공유자에 대한 기본적인 예의를 꼭 지켜주세요. &bull; 반말, 욕설, 과격한 표현 등 지식공유자를 불쾌하게 할 수 있는 내용 은 스팸 처리 등 제재를 가할 수 있습니다. source files 에 .c를 붙여 파일을 추가한 다음 f5를 누르면 지정된 파일을 찾을 수 없습니다.라고 오류가 뜹니다. 하지만 파일추가하지 않은 채 기존에 있던 파일 한개로는 실행이 되는데 왜 자꾸 새로운 파일을 추가만 하면 이런 오류가 뜨는지 이해가 안됩니다.. 구글링, 몇날을 고민해봤는데 안되서 여기다가 올립니다.. 감사합니다 교수님

  • c
곽수찬 댓글 1 좋아요 0 조회수 315

꼭 모든 엔티티가 공유하는 컬럼만 적용할 수 있는 건가요?

미해결

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

어차피 extends를 통해서 어떤 엔티티가 BaseEntity의 속성을 내려받을지 결정하는 방식으로 사용한다면 굳이 "모든"엔티티가 공통으로 가지는 속성만 BaseEntity에 넣을 필요는 없지 않을까요? 필요에 따라 BaseEntity를 내려받을 엔티티들을 따로 골라서 그 녀석들만 extends를 하고, BaseEntity에는 걔네들끼리만 공통으로 가지는 컬럼을 넣는 게 더 자유로운 사용법이 아닌가 하는 생각이 듭니다.

  • JPA
  • java
akakakakak 댓글 1 좋아요 0 조회수 277

그림들을 못불러오는 문제

미해결

비전공자를 위한 진짜 입문 올인원 개발 부트캠프

웹화면에서 카드섹션들을 불러오지 못해서 혹시나 하고 강사님 목서버 주소로 입력하니 카드 섹션들이 불려와집니다. axios.get("주소") 다른 모든 코드들은 강사님과 동일합니다. 터미널에는 이런게 뜹니다.---------------------------- Line 25:11: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 30:11: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 38:19: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 44:21: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text ----------------------------------------------------- 혹시나 해서 postman 서버에 들어가보니 respond를 못하는거 같더라구요. postman 강의때는 잘 불러와졌었는데 혹시 제가 놓친 부분이 있거나 예상되는 오류가 있으실까요? postman에서 설정을 따로 해야하는 부분이 있나요? -------------------------------------------------- import React from "react" ; import "./index.css" ; import axios from "axios" ; function MainPage () { const [ products , setProducts ] = React . useState ([]); React . useEffect ( function () { axios . get ( "https://37925d61-5832-477c-9c96-71e279b08d78.mock.pstmn.io/products" ) . then ( function ( result ) { const products = result . data . products ; setProducts ( products ); }) . catch ( function ( error ) { console . error ( "에러 발생 : " , error ); }); }, []); return ( < div > < div id = "header" > < div id = "header-area" > < img src = "images/icons/logo.png" /> </ div > </ div > < div id = "body" > < div id = "banner" > < img src = "images/banners/banner1.png" /> </ div > < h1 > 판매되는 상품들 </ h1 > < div id = "product-list" > { products . map ( function ( product , index ) { return ( < div className = "product-card" > < div > < img className = "product-img" src = { product . imageUrl } /> </ div > < div className = "product-contents" > < span className = "product-name" > { product . name } </ span > < span className = "product-price" > { product . price } 원 </ span > < div className = "product-seller" > < img className = "product-avatar" src = "images/icons/avatar.png" /> < span > { product . seller } </ span > </ div > </ div > </ div > ); }) } </ div > </ div > < div id = "footer" ></ div > </ div > ); } export default MainPage ;

  • javascript
  • react
  • react-native
  • nodejs
  • express
  • tensorflow
  • 머신러닝 배워볼래요?
  • HTML/CSS
kkk 댓글 3 좋아요 1 조회수 192

같은 값을 uid와 id에 두번 저장하는 이유는 무엇인가요?

미해결

따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]

chatRooms 데이터 베이스에 저장할때 생성한 key를 id컬럼에도 또 저장하는 이유가 무엇인가요??

  • firebase
  • react
  • 웹앱
특별한 지렁이 댓글 1 좋아요 0 조회수 200

nest 빌드 관련 질문입니다.

미해결

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

안녕하세요! 프론트일 경우 강의 그대로 package.json에 start랑 build 모두 cross-en=production이라고 했는데요, 백앤드일 경우 (nest.js) npm start랑, npm run start:prod에는 cross-env=production이라고 했는데 실수로 build는 안 채웠네요ㅠ 그런데 일단 백앤드에 올린 파일이 production용 파일이라 돌아가긴 잘 돌아갑니다. package.json 스크립트를 올바르게 작성한게 맞는지 궁금합니다. // package.json "scripts": { "prebuild": "rimraf dist", "build": "nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "cross-env NODE_ENV=production nest start", "start:dev": "cross-env NODE_ENV=dev nest start --watch", "start:debug": "cross-env NODE_ENV=dev nest start --debug --watch", "start:prod": "cross-env NODE_ENV=production pm2 start dist/main.js", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config ./test/jest-e2e.json" }, // app.module.ts envFilePath: process.env.NODE_ENV === 'dev' ? '.env.dev' : 'production' ? '.env' : '.env.test',

  • nodejs
  • express
  • redux
  • react
  • Next.js
자유인 댓글 5 좋아요 0 조회수 1504

상속과 슈퍼-서브타입의 차이점?

미해결

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

안녕하세요 강사님, 강의의 흐름상 크게 중요한 것은 아닌 듯 하나 궁금한 점이 생겨 질문을 남깁니다. 객체지향 프로그래밍에서의 상속과 관계형 데이터베이스에서의 슈퍼-서브 타입의 차이점엔 어떤 것이 있는지 궁금합니다. 당장 떠오르는 바로는 RDB는 기능 단위를 포함하지 않기 때문에 오버라이딩/오버로딩이 존재하지 않는다는 것 정도가 떠오르는데요. 이 외에도 어떤 차이점이 이 둘을 다르게 만드는지 간략하게나마 설명을 구하고 싶습니다. 감사합니다.

  • JPA
  • java
akakakakak 댓글 1 좋아요 0 조회수 454

firebase.auth().onAuthStateChanged()에 대해서 질문합니다.

미해결

따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]

안녕하세요. 항상 강의 잘보고 있습니다. 제 질문은 useEffect의 []안에 딱히 넣은 변수가 없어서 onAuthStateChanged는 한번만 실행된것 같은데 user가 바뀔때마다 바뀐 정보가 실시간으로 업데이트 되는 것인가요?? 어떻게 그게 가능한지 지금으로서는 잘 이해가 안되네요^^; onAuthStateChanged메소드 대신에 currentUser프로퍼티 사용하면 맨 처음 브라우저로 열었을때는 유저가 널로 오다가 두번째부터 그 전에 저장되어있던 유저가 오는데 그 이유는 무엇인지... onAuthStateChanged가 실시간 양방향 메소드라서 계속 통신하고 있는 거라면 어떤거는 실시간 양방향 통신을 하고 어떤거는 안하는데 어떻게 구분할 수 있는지 알 수 있을까요?? (죄송합니다ㅜ 머릿속이 혼란스러워 질문이 두서가 없네효...) 저는 Auth가 세션개념이라고 생각했는데.. 유저 전용 데이터베이스인가요??? 한번 로그인 하면 언제 다시 들어가도 유지 되는데 컴퓨터를 껏다 키면 로그인 정보 사라지게 할 순 없을까요?? ㅜ_ㅜ 또.. auth에 photoURL 업데이트하고 데이터베이스에 이미지URL 따로 저장하는 이유가 무엇인가요?? 이상입니다..

  • firebase
  • react
  • 웹앱
특별한 지렁이 댓글 2 좋아요 0 조회수 3078

프론트 서버 배포 전 npm run build 시 에러 발생

미해결

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

강사님 지난번에 알려주신 next 설치 방법 토대로 강의 이어가는 중, 프론트 서버 배포 전 npm run build를 하면 위와 같은 에러가 발생합니다. about.js를 지운 것이 문제인가 해서 다시 넣어보고 git pull한 뒤 npm run build를 해도 같은 에러가 발생합니다. sudo npx pm2 start npm -- start 했을 때는 pm2가 정상적으로 작동하는 걸로 봐서 pm2 쪽 문제는 아니고 build에서 문제가 발생한 것으로 보이는데, 어느 부분이 문제일까요? npm run build 시 발생한 에러 코드 하단에 첨부하겠습니다. ubuntu@ip-172-31-12-20:~/react_twitter/prepare/front$ npm run build > react-nodebird-front@1.0.0 build /home/ubuntu/react_twitter/prepare/front > cross-env ANALYZE=true NODE_ENV=production next build Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db info - Using external babel configuration from /home/ubuntu/react_twitter/prepare/front/.babelrc Webpack Bundle Analyzer saved report to /home/ubuntu/react_twitter/prepare/front/.next/analyze/server.html Webpack Bundle Analyzer saved report to /home/ubuntu/react_twitter/prepare/front/.next/analyze/client.html info - Creating an optimized production build info - Compiled successfully info - Collecting page data [ ===] info - Generating static pages (0/2)getStaticProps { type: 'LOAD_USER_REQUEST', data: 1 } { type: '@@redux-saga/CHANNEL_END' } [====] info - Generating static pages (0/2)Error: connect ECONNREFUSED 127.0.0.1:3030 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3030, config: { url: '/user/1', method: 'get', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.21.1' }, baseURL: 'http://localhost:3030', transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, withCredentials: true, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: <ref *1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Function: handleResponse], error: [Function: handleRequestError] }, _eventsCount: 2, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'http:', path: '/user/1', method: 'GET', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: 'localhost', port: '3030', nativeProtocols: [Object], pathname: '/user/1' }, _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Socket], _header: 'GET /user/1 HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: axios/0.21.1\r\n' + 'Host: localhost:3030\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/user/1', _ended: false, res: null, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'localhost', protocol: 'http:', _redirectable: [Circular *1], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, _currentUrl: 'http://localhost:3030/user/1', [Symbol(kCapture)]: false }, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } TypeError: Cannot read property 'data' of undefined at loadUser (/home/ubuntu/react_twitter/prepare/front/.next/server/pages/_app.js:606:27) at loadUser.throw (<anonymous>) at next (/home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:1071:32) at currCb (/home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:1196:7) at /home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:347:5 at processTicksAndRejections (internal/process/task_queues.js:93:5) The above error occurred in task loadUser created by takeLatest(LOAD_USER_REQUEST, loadUser) created by watchLoadUser created by userSaga created by rootSaga Error occurred prerendering page "/about". Read more: https://err.sh/next.js/prerender-error TypeError: Cannot read property 'data' of undefined at loadUser (/home/ubuntu/react_twitter/prepare/front/.next/server/pages/_app.js:606:27) at loadUser.throw (<anonymous>) at next (/home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:1071:32) at currCb (/home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:1196:7) at /home/ubuntu/react_twitter/prepare/front/node_modules/@redux-saga/core/dist/redux-saga-core.prod.cjs.js:347:5 at processTicksAndRejections (internal/process/task_queues.js:93:5) > Build error occurred Error: Export encountered errors on following paths: /about at exportApp (/home/ubuntu/react_twitter/prepare/front/node_modules/next/dist/export/index.js:25:1103) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async build (/home/ubuntu/react_twitter/prepare/front/node_modules/next/dist/build/index.js:39:69) [ ] info - Generating static pages (0/2)npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-nodebird-front@1.0.0 build: `cross-env ANALYZE=true NODE_ENV=production next build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-nodebird-front@1.0.0 build 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! /home/ubuntu/.npm/_logs/2021-02-25T07_24_14_025Z-debug.log

  • react
  • express
  • redux
  • nodejs
  • Next.js
dionysus0214 댓글 4 좋아요 0 조회수 3075

SignupPage.vue 임포트

미해결

Vue.js 끝장내기 - 실무에 필요한 모든 것

임포트 구문 작성하실 때.. import SignupForm from ' @/components/common/SignupForm.vue ' ; common 이 빠진 것 같네요.. 왜 안되는지 엄청 찾았네요..

  • javascript
  • vuejs
  • vuex
marvelOppa 댓글 1 좋아요 1 조회수 183

UI_EventHandler에 대해서

해결됨

[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진

안녕하세요!! 항상 친절한 답변 감사드립니다. 복습하다가 문득 궁금한 점이 생겨 질문드립니다! Player의 경우 InputManager안에 있는 OnUpdate함수를 Manager에서 계속 update해주면서 Input을 감지 하는 반면 UI의 경우 EventHandler를 두고 UI에서 발생할 수 있는 동작을 정의하여 해당 동작을 EventHandler에서 Inuput을 감지 하는 것으로 보입니다..! 이렇게 Input을 받아들이는 방식을 다르게 하신 이유는 통상적인 게임 디자인 방식인건가요?? 아니면...UI는 마우스를 활용한 Input만 이루어지기 때문에 PointerData를 사용할 수 있어서 인가요..? 그렇다면 Player_EventHandler를 따로 두고 Action<키보드입력을 받을 클래스>를 활용하는방법은 없나요...? 질문이 너무 꼬리를 무는 것 같아 정신없네요...죄송합니다.. 답변 부탁드립니다!

  • C#
  • unity
김지수 댓글 2 좋아요 0 조회수 217

안녕하세요. 강사님

미해결

자바 기본을 위한 강의 1부

복습중인대요.. 수업중에 바닐라 자바스크립트를 잠깐 언급하셨는데. 자바스크립트는 실무에서 어느 정도까지 알고있어야 하는지 궁금합니다.. 신입은 일단 웹페이지 구현에서 쓰이는 정도까지만 알면 될까요?

  • java
paikdabang 댓글 2 좋아요 1 조회수 325

js 코드의 순서 질문 있습니다!

미해결

인터랙티브 웹 개발 제대로 시작하기

문득 궁금한게 있어 질문드립니다 문법 관련 질문인데요ㅜㅜ [ 0:32 ] 정도에 아래 prototype에서 정의해 놓은 this.init(); 을 정의문보다 먼저 호출하는데, prototype의 init 함수는 호출문보다 밑에 정의해놓았는데 어떻게 먼저 실행할 수 있는건지 궁금합니다! ( 지난번 강의에서 브라우저가 html, css, js을 실행할 때 위 -> 아래의 순서로 실행되기 때문에, <script>태그를 html 태그 하단에 작성하는 것이 좋다는 말씀이 생각나서요..! ) 혹시 js가 컴파일??을 먼저 거치고 나서 이후에 실행되는 것이기 때문에 가능한 것일까요??

  • 인터랙티브-웹
  • HTML/CSS
  • javascript
dldldksl 댓글 2 좋아요 1 조회수 291

인기 태그

인프런 TOP Writers

주간 인기글