Client Component - TypeError: Cannot read properties of undefined (reading 'call')
Unanswered
Jamison posted this in #help-forum
JamisonOP
Hello, I'm on the canary release and when I create a client component I get the following error:
Which I can share the call stack if helpful.
The component I have is completely barebones and has one div rendering text. It's imported into the app directory and used in one of the pages. I'm just needing some help on where to start with this error, I'm pretty lost. Any ideas?
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'call')Which I can share the call stack if helpful.
The component I have is completely barebones and has one div rendering text. It's imported into the app directory and used in one of the pages. I'm just needing some help on where to start with this error, I'm pretty lost. Any ideas?
3 Replies
JamisonOP
Call stack:
options.factory
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (715:31)
__webpack_require__
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (37:33)
fn
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (371:21)
eval
(app-pages-browser)/./node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-no-ssr.js (20:21)
(app-pages-browser)/./node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-no-ssr.js
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/app/layout.js (50:1)
options.factory
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (715:31)
__webpack_require__
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (37:33)
fn
file:///home/jamison/projects/mock-audio-plugin-website/.next/static/chunks/webpack.js (371:21)There is more i'm not sure how to share it doesn't fit in discord message length
JamisonOP
What can cause this? The only thing I add to the component is 'use client' that's it.
Config? Just need a point in the right direction completely lost.
Config? Just need a point in the right direction completely lost.