Client side error exception
Tags: nextjs, webdev, javascript, programming
Published: 2022-12-06 09:17:15


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7uuldox5ne2t1ltb5k0t.png)
Hello there i am working on nextjs project, recently when we upload project to IIS server (Microsoft).
I am facing client side exception error this lead me to this page where they talk about error boundary
https://nextjs.org/docs/advanced-features/error-handling.

But this issue is not reproduce again, this is random issues.

Here is some logs

`[12/2 5:58 PM] sunny negi
router.js:995 TypeError: Cannot read properties of undefined (reading 'call')    at n (bootstrap:21:33)    at 459 (894-02dca1e0a1ee4db4.js:1:229)    at n (bootstrap:21:33)    at 8495 (Events-13169ff924f49572.js:1:244)    at n (bootstrap:21:33)    at Events-13169ff924f49572.js:1:156    at route-loader.js:211:51
(anonymous) @ router.js:995
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:994
(anonymous) @ router.js:1190
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
c @ _async_to_generator.js:15
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:1045
(anonymous) @ router.js:793
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:548
value @ router.js:535
p.forEach.n.<computed> @ router.js:143
f @ _app-211cf0d523b0d703.js:1
(anonymous) @ _app-211cf0d523b0d703.js:1
onClick @ _app-211cf0d523b0d703.js:1
$e @ react-dom.production.min.js:52
Ye @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Nr @ react-dom.production.min.js:100
Tr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Fr @ react-dom.production.min.js:105
Jt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Ql @ react-dom.production.min.js:122
Me @ react-dom.production.min.js:292
Xt @ react-dom.production.min.js:73
index.js:234 TypeError: Cannot read properties of undefined (reading 'call')    at n (bootstrap:21:33)    at 459 (894-02dca1e0a1ee4db4.js:1:229)    at n (bootstrap:21:33)    at 8495 (Events-13169ff924f49572.js:1:244)    at n (bootstrap:21:33)    at Events-13169ff924f49572.js:1:156    at route-loader.js:211:51
J @ index.js:234
(anonymous) @ index.js:502
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
ie @ index.js:497
subscription @ index.js:614
value @ router.js:1196
(anonymous) @ router.js:934
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:548
value @ router.js:535
p.forEach.n.<computed> @ router.js:143
f @ _app-211cf0d523b0d703.js:1
(anonymous) @ _app-211cf0d523b0d703.js:1
onClick @ _app-211cf0d523b0d703.js:1
$e @ react-dom.production.min.js:52
Ye @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Nr @ react-dom.production.min.js:100
Tr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Fr @ react-dom.production.min.js:105
Jt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Ql @ react-dom.production.min.js:122
Me @ react-dom.production.min.js:292
Xt @ react-dom.production.min.js:73
index.js:235 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
J @ index.js:235
(anonymous) @ index.js:502
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
ie @ index.js:497
subscription @ index.js:614
value @ router.js:1196
(anonymous) @ router.js:934
(anonymous) @ tslib.es6.js:102
(anonymous) @ tslib.es6.js:83
n @ _async_to_generator.js:23
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:548
value @ router.js:535
p.forEach.n.<computed> @ router.js:143
f @ _app-211cf0d523b0d703.js:1
(anonymous) @ _app-211cf0d523b0d703.js:1
onClick @ _app-211cf0d523b0d703.js:1
$e @ react-dom.production.min.js:52
Ye @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Nr @ react-dom.production.min.js:100
Tr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Fr @ react-dom.production.min.js:105
Jt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Ql @ react-dom.production.min.js:122
Me @ react-dom.production.min.js:292
Xt @ react-dom.production.min.js:73
bootstrap:21 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'call')    at n (bootstrap:21:33)    at 459 (894-02dca1e0a1ee4db4.js:1:229)    at n (bootstrap:21:33)    at 8495 (Events-13169ff924f49572.js:1:244)    at n (bootstrap:21:33)    at Events-13169ff924f49572.js:1:156    at route-loader.js:211:51
n @ bootstrap:21
459 @ 894-02dca1e0a1ee4db4.js:1
n @ bootstrap:21
8495 @ Events-13169ff924f49572.js:1
n @ bootstrap:21
(anonymous) @ Events-13169ff924f49572.js:1
(anonymous) @ route-loader.js:211
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
Promise.then (async)
n @ _async_to_generator.js:32
u @ _async_to_generator.js:12
(anonymous) @ _async_to_generator.js:17
(anonymous) @ _async_to_generator.js:9
value @ router.js:548
value @ router.js:535
p.forEach.n.<computed> @ router.js:143
f @ _app-211cf0d523b0d703.js:1
(anonymous) @ _app-211cf0d523b0d703.js:1
onClick @ _app-211cf0d523b0d703.js:1
$e @ react-dom.production.min.js:52
Ye @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Nr @ react-dom.production.min.js:100
Tr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Fr @ react-dom.production.min.js:105
Jt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Ql @ react-dom.production.min.js:122
Me @ react-dom.production.min.js:292
Xt @ react-dom.production.min.js:73
js?id=G-BZ7LPDT7KM&l=dataLayer&cx=c:302 [Violation] 'setTimeout' handler took 52ms
client-side-exception-occurred | Next.js

`