You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to upgrade to the latest one, but npm run dev got this failure. Can you please help?
wait - compiling...
event - compiled successfully
/!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.withRedux().
Unexpected keys "AppTree", "Component", "router", "ctx" found in preloadedState argument passed to createStore. Expected to find one of the known reducer keys instead: "counter", "page", "reduxSagaDebounce", "reduxSagaThrottle". Unexpected keys will be ignored.
Index returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps
event - build page: /_error
wait - compiling...
event - compiled successfully
/!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.withRedux().
TypeError: Cannot read property 'getState' of undefined
at Function._defineProperty [as getInitialProps] (webpack-internal:///./pages/_document.tsx:118:31)
TypeError: Cannot read property 'getState' of undefined
at /Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-redux/lib/components/Provider.js:33:18
at Object.useMemo (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:1582:19)
at useMemo (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react/cjs/react.development.js:1532:21)
at Provider (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-redux/lib/components/Provider.js:32:42)
at processChild (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
at resolve (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
at ReactDOMServerRenderer.render (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
at ReactDOMServerRenderer.read (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
at renderToString (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
at renderPage (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/next/dist/next-server/server/render.js:54:854)
at Object.ctx.renderPage (webpack-internal:///./pages/_document.tsx:109:26)
at Function.getInitialProps (webpack-internal:///./node_modules/next/dist/pages/_document.js:211:19)
at Function._defineProperty [as getInitialProps] (webpack-internal:///./pages/_document.tsx:117:83)
at loadGetInitialProps (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/next/dist/next-server/lib/utils.js:5:101)
at renderToHTML (/Users/qiwa/workspace/golang/src/github.com/deviceplane/lomohome/node_modules/next/dist/next-server/server/render.js:54:1145)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
The text was updated successfully, but these errors were encountered:
I'm trying to use this project as bootstrap, but seems like some packages are outdated.
I try to upgrade to the latest one, but
npm run dev
got this failure. Can you please help?The text was updated successfully, but these errors were encountered: