inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

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

리덕스 실제 구현하기

Redux관련 오류 질문드립니다.

819

부드러운 캥거루

작성한 질문수 5

1

안녕하세요 제로초님.

아래와 같은 오류사항이 있는데 답을찾을 수 없어 질문드립니다.

서버에 접속하면 페이지에 다음과같은 문구가 뜨고

오류 내용은 다음과 같습니다.

---------------------------------------------------------

/!\ 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

-----------------------------------------------

감사합니다.

redux nodejs express react Next.js

답변 2

1

제로초(조현영)

import {createWrapper} 입니다.

0

부드러운 캥거루

해결되었어요~ 빠른답변 감사드립니다!!

넥스트 버젼 질문

0

75

2

로그인시 401 Unauthorized 오류가 뜹니다

0

88

1

무한 스크롤 중 스크롤 튐 현상

0

172

1

특정 페이지 접근을 막고 싶을 때

0

103

2

createGlobalStyle의 위치와 영향범위

0

94

2

인라인 스타일 리렌더링 관련

0

90

2

vsc 에서 npm init 설치시 오류

0

146

2

nextjs 15버전 사용 가능할까요?

0

158

1

화면 새로고침 문의

0

120

1

RTK에서 draft, state 차이가 있나요?

0

152

2

Next 14 사용해도 될까요?

0

452

1

next, node 버전 / 폴더 구조 질문 드립니다.

0

348

1

url 오류 질문있습니다

0

211

1

ssh xxxxx로 우분투에 들어가려니까 port 22: Connection timed out

0

372

1

sudo certbot --nginx 에러

0

1271

2

Minified React error 콘솔에러 (hydrate)

0

469

1

카카오 공유했을 때 이전에 작성했던 글이 나오는 버그

0

246

1

프론트서버 배포 후 EADDRINUSE에러 발생

0

325

1

npm run build 에러

0

517

1

front 서버 npm run build 중에 발생한 에러들

0

381

1

서버 실행하고 브라우저로 들어갔을때 404에러

0

336

2

css 서버사이드 랜더링이 적용되지 않아서 문의 드립니다.

0

284

1

팔로워 3명씩 불러오고 데이터 합쳐주는걸로 바꾸고 서버요청을 무한으로하고있습니다.

0

235

2

해시태그 검색에서 throttle에 관해 질문있습니다.

0

200

1