question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

{ Error: No page context at Function._callee$ (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/lib/index.js:169:25) at tryCatch (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/runtime.js:296:22) at Generator.prototype.(anonymous function) [as next] (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/r untime.js:114:21) at step (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/node_modules/@babel/runtime/helpers/asyncToGener ator.js:12:30) at _next (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/node_modules/@babel/runtime/helpers/asyncToGene rator.js:27:9) at /Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/node_modules/@babel/runtime/helpers/asyncToGenerator.js:34:7 at new Promise (/Users/liumin/Desktop/next/with-redux-saga/node_modules/core-js/library/modules/es6.promise.js:177:7) at Function.<anonymous> (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/node_modules/@babel/runtime/helpers/asyncToGenerator.js:7:12) at Function.value [as getInitialProps] (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next-redux-wrapper/lib/index.js:211:25) at _callee$ (/Users/liumin/Desktop/next/with-redux-saga/node_modules/next/dist/lib/utils.js:111:30) at tryCatch (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/runtime.js:296:22) at Generator.prototype.(anonymous function) [as next] (/Users/liumin/Desktop/next/with-redux-saga/node_modules/regenerator-runtime/runtime.js:114:21) at step (/Users/liumin/Desktop/next/with-redux-saga/node_modules/@babel/runtime/helpers/asyncToGenerator.js:12:30) at _next (/Users/liumin/Desktop/next/with-redux-saga/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:9) sourceMapsApplied: true }

Steps to Reproduce (for bugs)

  1. curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-redux-saga
  2. cd with-redux-saga
  3. yarn
  4. yarn add next next-redux-saga next-redux-wrapper
  5. yarn dev

Context

Your Environment

Tech Version
next 6.0.1
node v10.0.0
OS macOS 10.13.4
browser chrome
etc

package.json { “name”: “with-redux-saga”, “version”: “1.0.0”, “license”: “MIT”, “scripts”: { “dev”: “next”, “build”: “next build”, “start”: “next start” }, “dependencies”: { “es6-promise”: “4.1.1”, “isomorphic-unfetch”: “2.0.0”, “next”: “^6.0.1”, “next-redux-saga”: “^3.0.0-beta.1”, “next-redux-wrapper”: “^2.0.0-beta.6”, “react”: “^16.0.0”, “react-dom”: “^16.0.0”, “react-redux”: “5.0.5”, “redux”: “3.7.2”, “redux-saga”: “0.15.4” }, “devDependencies”: { “redux-devtools-extension”: “2.13.2” } }

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
timneutkenscommented, May 13, 2018

Thanks @gastonfartek 🙏 🙌

0reactions
paulrbergcommented, Jun 22, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

No page context · Issue #4351 · vercel/next.js - GitHub
I have searched the issues of this repository and believe that this is not a duplicate. Expected Behavior Current Behavior { Error: No...
Read more >
Error: No page context When trying to add react-i18next to my ...
in the recent day I've been trying to add react-i18next to nextJs project to i18n and to do that I used the nextJs...
Read more >
PageContext (Java EE 6 ) - Oracle Help Center
A PageContext instance is obtained by a JSP implementation class by calling the ... not by code written by JSP page authors, or...
Read more >
PageContext class - Microsoft Learn
Contextual information for the SharePoint list item that is hosting the page. If there is no list item associated to the current page,...
Read more >
Page Context for Web - Dynamic Yield Knowledge Base
Page context is the information you pass to Dynamic Yield about a currently-viewed page. The page context includes details about the page type...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found