Next.js: Uncaught TypeError: Cannot read property ‘call’ of undefined in Chrome

Created on 2 May 2017  Â·  8Comments  Â·  Source: vercel/next.js

I get this issue on page load (next compiled in dev mode only, only in Chrome. Using next.js 2.2.0)

Uncaught TypeError: Cannot read property ‘call’ of undefined
at __webpack_require__ (bootstrap a817da8…?f27e374:693)
at fn (bootstrap a817da8…?f27e374:114)
at Object.556 (main.js:7)
at __webpack_require__ (bootstrap a817da8…?f27e374:693)
at webpackJsonpCallback (bootstrap a817da8…?f27e374:25)
at main.js:2

When I run in production mode, the app works fine. It also works fine in Safari in dev mode.

please add a complete reproduction

Most helpful comment

Getting this same thing still w/ 2.4.1, node 8, and Chrome (also latest)

All 8 comments

May be it's related to a package you are using.
Anyway, I'd like to have a sample repo to check it out locally.

Reopen when you have it.

I'm getting this, too. For me it happens when I switch to a new page that includes modules that the first page did not.

Getting this same thing still w/ 2.4.1, node 8, and Chrome (also latest)

Hm, I am getting the same thing. I temporarily fixed it when I don't import the component that is causing the issue. In my case, it is likely due to the props not matching up.

any thoughts on how to isolate what is causing this (ie is it a rogue component)?

Yeah I'm getting this too

Hello,
There is a long thread here with this problem:
Bug: Runtime TypeError ("Cannot read property 'call' of undefined") #6196.
Maybe salvation will come from your thread?

Thank you in advance

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sospedra picture sospedra  Â·  3Comments

wagerfield picture wagerfield  Â·  3Comments

ghost picture ghost  Â·  3Comments

knipferrc picture knipferrc  Â·  3Comments

havefive picture havefive  Â·  3Comments