묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
Redux관련 오류 질문드립니다.
안녕하세요 제로초님. 아래와 같은 오류사항이 있는데 답을찾을 수 없어 질문드립니다. 서버에 접속하면 페이지에 다음과같은 문구가 뜨고 오류 내용은 다음과 같습니다. --------------------------------------------------------- /!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.withRedux(). error - TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) error - TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) -------------------------------------------------------- 아래는 제 git 주소입니다. ----------------------------------------------- https://github.com/812jay/react-nodebird ----------------------------------------------- 감사합니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
express 라이브러리..
import { response } from 'express'; 이거 저절로 생기던데 그냥 계쏙 지우고 하면되나요?
-
미해결스프링 웹 MVC
Event.builder() 관련 mac에서 lombok 문제 있으신 분들
참고한 링크 남깁니다.! https://gigas-blog.tistory.com/151 모두들 즐코하세요!!
-
해결됨스프링 프레임워크 핵심 기술
@Autowired 로 가져오는 Bean은 ?
@Componentpublic class AppRunner implements ApplicationRunner {// @Autowired// ApplicationContext applicationContext; @Autowired MessageSource messageSource; @Override public void run(ApplicationArguments args) throws Exception {// System.out.println(applicationContext.getClass()); System.out.println(messageSource.getClass()); } Autowired 로 가져오는 Bean 이 햇갈려서 질문드립니다. 위 코드에서 @Autowired을 통해서 주입받는 빈은 MessageSource 가 구현된 클래스인걸로 아는데요.. AnnotationConfigServletWebServerApplicationContext , ResourceBundleMessageSource 두개 모두 문서를 찾아보니 MessageSource 를 구현한 클래스입니다~! 그런데 왜 "ResourceBundleMessageSource "가 빈으로 등록되는지 궁금합니다. 혹시 @Primary 같은 우선순위가 적용되서 그러는건가요 ?
-
미해결모의해킹 실무자가 알려주는, 파일 다운로드 취약점 공격 기법과 실무 사례 분석
burp suite 설치는 언제 한건가요??
버프 수이트는 설치 방법이 안나왔던것 같은데 갑자기 설치되어 있어서 당황스럽네요
-
미해결초보를 위한 쿠버네티스 안내서
ingress window접속안됨 문의드려요!
선생님 안녕하세요! 질문이 있습니다~ 윈도우에서는 작동을 해서요~ cluter ip나 nodePort의 경우 minikube service 'NAME'으로 접속이 되었는데요 비슷한 문제 같아요 ㅠ
-
미해결문과생도, 비전공자도, 누구나 배울 수 있는 파이썬(Python)!
엑세스 거부 추가 질문
엑세스 거부가 떠서 관리자 모드로 들어갔더니 이렇게 나옵니다ㅠㅠ
-
미해결홍정모의 따라하며 배우는 C++
5:10 부분 결과값이 강의와 약간 다르게 나오는데 원인이 뭔지 모르겠습니다
main.cpp #include "AutoPtr.h" #include "Resource.h" using namespace std; AutoPtr<Resource> generateResource() { AutoPtr<Resource> res(new Resource(3)); return res; } int main() { { AutoPtr<Resource> main_res; main_res = generateResource(); } return 0; } //////////////////////////// AutoPtr.h #pragma once #include <iostream> template<class T> class AutoPtr { public: T* m_ptr = nullptr; public: AutoPtr(T* ptr = nullptr) :m_ptr(ptr) { std::cout << "AutoPtr default constructor" << std::endl; } ~AutoPtr() { std::cout << "AutoPtr destructor" << std::endl; if (m_ptr != nullptr) delete m_ptr; } T& operator*() const { return *m_ptr; } T* operator->()const { return m_ptr; } bool isNull()const { return m_ptr == nullptr; } AutoPtr(const AutoPtr& a) { std::cout << "AutoPtr copy constructor" << std::endl; //deep copy m_ptr = new T; *m_ptr = *a.m_ptr; } AutoPtr& operator=(const AutoPtr& a) { std::cout << "AutoPtr copy assignement" << std::endl; if (&a == this) return *this; //deep copy m_ptr = new T; *m_ptr = *a.m_ptr; return *this; } ///////////////////////////////////// Resource.h #pragma once #include <iostream> class Resource { //private: public: int* m_data=nullptr; unsigned m_length = 0; public: Resource() { std::cout << "Resource default constructed" << std::endl; } Resource(unsigned length) { std::cout << "Resource length constructed" << std::endl; this->m_data = new int[length]; this->m_length = length; } ~Resource() { std::cout << "Resource destroyed" << std::endl; if (m_data != nullptr) delete[]m_data; } Resource(const Resource& res) { std::cout << "Resource copy constructed" << std::endl; Resource(res.m_length); for (unsigned i = 0; i < m_length; ++i) m_data[i] = res.m_data[i]; } Resource& operator =(Resource& res) { std::cout << "Resource copy assignment" << std::endl; if (&res == this)return *this; if (this->m_data != nullptr)delete[]m_data; m_length = res.m_length; m_data = new int[m_length]; for (unsigned i = 0; i < m_length; ++i) m_data[i] = res.m_data[i]; return *this; } void print() { for (unsigned i = 0; i < m_length; ++i) std::cout << m_data[i] << " "; std::cout << std::endl; } }; 웬만하면 코드 질문은 스스로 해결하려고 했는데 며칠 고민하면서 디버거로 찍어봐도 중간중간에 뜬금없이 생성자가 호출되거나 다시 복사가 되는 원인을 못찾겠습니다
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
hd 화질로 올려주실수는 없는건가여?
강의 가다보니까 갑자기 화질이 낮아지는데 이것좀 어떻게 해주실수 없나영?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
success가 안뜨네요 ㅠㅠ 도와주세요
안녕하세요 이제 거의 다 만들었는데 결제 이후에 success가 안뜨고 이렇게만 뜨네요 제품은 사라지는데요 ㅠㅠ 에러 사항으로 보면 이렇게 뜨는데요 user.js에 들어가서 확인해본 결과 let products = []; doc.product.forEach((item) => { products.push({ id: item.id, quantity: item.quantity }); }); 이 부분 입니다. 선생님꺼랑 비교해본 결과 같게 했는데 뭐가 문제일까요ㅠㅠ
-
미해결[백문이불여일타] 데이터 분석을 위한 고급 SQL
WHERE 서브쿼리
강사님 안녕하세요. WHERE - IN 서브쿼리 질문 드립니다. 저는 group by가 쓰이면 select 절에는 꼭 기준 컬럼이 함께 들어가야 한다고 알았거든요. 그런데 where -in 서브쿼리 안에는 group by가 사용되어도 기준 컬럼이 안들어가도 되는 것 같더라고요. 예를 들면 아래처럼요. SELECT EMPNO, ENAME, DEPTNO, SAL FROM EMP WHERE SAL IN (SELECT MAX(SAL) FROM EMP GROUP BY DEPTNO); 서브쿼리는 이 법칙에서 예외인지요??
-
미해결단 두 장의 문서로 데이터 분석과 시각화 뽀개기
seaborn 모듈 설치 이후 (맥북 > jupyter notebook)
seaborn 설치 이후, df = sns.load_dataset("iris") 를 입력했는데 다음과 같은 에러 메시지가 뜹니다. 원인이 무얼까요? /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py in connect(self) 1423 -> 1424 self.sock = self._context.wrap_socket(self.sock, 1425 server_hostname=server_hostname) /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py in wrap_socket(self, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname, session) 499 # ctx._wrap_socket() --> 500 return self.sslsocket_class._create( 501 sock=sock, /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py in _create(cls, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname, context, session) 1039 raise ValueError("do_handshake_on_connect should not be specified for non-blocking sockets") -> 1040 self.do_handshake() 1041 except (OSError, ValueError): /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py in do_handshake(self, block) 1308 self.settimeout(None) -> 1309 self._sslobj.do_handshake() 1310 finally: SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122) During handling of the above exception, another exception occurred: URLError Traceback (most recent call last) <ipython-input-6-87515bdb8e81> in <module> ----> 1 df = sns.load_dataset("iris") 2 df /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/seaborn/utils.py in load_dataset(name, cache, data_home, **kws) 483 os.path.basename(full_path)) 484 if not os.path.exists(cache_path): --> 485 if name not in get_dataset_names(): 486 raise ValueError(f"'{name}' is not one of the example datasets.") 487 urlretrieve(full_path, cache_path) /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/seaborn/utils.py in get_dataset_names() 417 """ 418 url = "https://github.com/mwaskom/seaborn-data" --> 419 with urlopen(url) as resp: 420 html = resp.read() 421 /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context) 212 else: 213 opener = _opener --> 214 return opener.open(url, data, timeout) 215 216 def install_opener(opener): /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in open(self, fullurl, data, timeout) 515 516 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method()) --> 517 response = self._open(req, data) 518 519 # post-process response /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in _open(self, req, data) 532 533 protocol = req.type --> 534 result = self._call_chain(self.handle_open, protocol, protocol + 535 '_open', req) 536 if result: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) 492 for handler in handlers: 493 func = getattr(handler, meth_name) --> 494 result = func(*args) 495 if result is not None: 496 return result /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in https_open(self, req) 1383 1384 def https_open(self, req): -> 1385 return self.do_open(http.client.HTTPSConnection, req, 1386 context=self._context, check_hostname=self._check_hostname) 1387 /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1343 encode_chunked=req.has_header('Transfer-encoding')) 1344 except OSError as err: # timeout error -> 1345 raise URLError(err) 1346 r = h.getresponse() 1347 except: URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)>
-
미해결Java TPC 실전프로젝트 (Java API 활용)
이미지파일이 0 kb에 엑박으로 생성 됩니다.
질문드리기 부끄럽지만.. 도저히 혼자서는 문제를 못찾겠습니다.. 보여주신 코드중에 혹시 어느부분이 이미지생성인지 알려주신다면 다시 찾아보겠습니다.. 증상은 이미지파일은 생성은 되는데 0kb 크기로 생성되며 그림판으로 열든 사진으로 열든 엑박이 뜹니다.. 확장자는 jpg 이구요
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
readline 질문
readline을 이용해 한문장씩 출력할 때, 한줄의 공백이 발생하는 이유는 무엇인가요? 그리고 에서 a가 아닌 w를 써도 덮어쓰기가 되지 않고 개행되어 써지는 이유는 무엇인가요?
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
꼭 요청을 해야지만 응답을받을 수 있나요?
클라이언트에서 요청을 하지않고, 서버에서 정보를 보내주는경우가있다면 (예를들어 댓글알림) 클라이언트는 어떠한요청도 하지않고 서버가 보내주는 데이터를 수동적으로 받는경우가있을까요? 서버가 요청을 보내는입장 클라이언트가 응답을 주는입장의 통신도 가능한지 궁금합니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
IP가 틀려서그런지 유니티에서 서버로 접속이 안되네요.
첫번째 사진이 서버 IP로그구요. 밑에 사진이 유니티 클라이언트 IP로그 입니다. 유니티에서 서버로 접속할때 OnConnectCompleted Fail: ConnectionRefused 로그가 뜨면서 플레이어 케릭터가 생성이 안되는 현상이 발생했습니다. 서버에 연결이 실패한 원인을 찾아보니 서버쪽에선 아이피가 :::1인반면 유니티쪽은 127.부터 시작하는 아이피로 서로 틀리더라고요. 서버쪽 로그를 보니 더미 클라에서 모아 보내기가 계속 찍히는거 보면 문제는 없어보입니다만, 이 경우 어떻게 해야될까요? 잘 부탁드립니다 ^^
-
미해결홍정모의 따라하며 배우는 C언어
LINK1104 오류입니다 ㅠㅠ
자꾸 이 파일을 읽을 수 없다고 하네요 해당 경로 파일 들어가보니 파일이 없긴한데 왜 파일이 안생길까요??
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
Number.MAX_SAFE_INTEGER
Number.MAX_SAFE_INTEGER도 결국 값이 있기 때문에 if(i ===0 ) {} 이렇게 해주는게 좀 더 안정적일까요 ?
-
미해결30분 요약 강좌 시즌2 : Python 활용편
안녕하세요 글씨 깨짐 현상에대해 문의 드립니다! ㅠ
import requests from bs4 import BeautifulSoup html = requests.get("http://paullab.synology.me/stock.html") soup = BeautifulSoup(html.text, 'html.parser') print(soup.find('tr')) 검색 결과 이렇게 글씨가 깨져서 나오는데 혹시 어떤것 때문일까요
-
미해결Flutter + Firebase로 넷플릭스 UI 클론 코딩하기 [무작정 플러터]
강사님하고 똑같이 한거 같은데 .
import 'package:flutter/material.dart'; //4번줄 _HomeScreenState , createState() 요부분에 물결이 막 생기네요. 강사님처럼 초록색글씨로 안나오고요~ 어떤부분때문에 그랬을까요? class HomeScreen extends StatefulWidget { _HomeScreenState createState() => _HomeScreenState(); } Class _HomeScreenState extends State<HomeScreen> { @override void initState(){ super.initState(); } @override Widget build(BuildContext context){ return Container( child: Center( child: Text('Home'), ), ); } }