I'm using filemanger in my Nextjs apps.it showing me ReferenceError: self is not defined. even though I disabled SSR on that page but still same error.
Server Error
ReferenceError: self is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
<unknown>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (442:30)
<unknown>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (437:47)
module.exports
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (459:68)
Object.<anonymous>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (25678:36)
__webpack_require__
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (30:30)
Object.<anonymous>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (9485:1)
__webpack_require__
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (30:30)
Object.<anonymous>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (10427:19)
__webpack_require__
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (30:30)
Object.<anonymous>
file:///home/zulqarnain/arqitek/DTMP/node_modules/@opuscapita/react-filemanager/lib/index.js (8319:18)
I have seen same closed issue that resolved it by loading on clientside.
I'm using
filemanger
in my Nextjs apps.it showing me ReferenceError: self is not defined. even though I disabled SSR on that page but still same error.Here the error.
I have seen same closed issue that resolved it by loading on clientside.