souhe / reactScrollbar

Scrollbar component for React
MIT License
466 stars 137 forks source link

ReferenceError: Cannot access '__WEBPACK_DEFAULT_EXPORT__' before initialization #155

Open igdev116 opened 2 years ago

igdev116 commented 2 years ago

How can I fix that?

Uncaught     at Module.default (webpack-internal:///./src/features/NewsFeed/components/NewsFeedContent/index.tsx:4:42)
    at NewsFeed (webpack-internal:///./src/pages/newsfeed/index.tsx:75:169)
    at processChild (file://E:\My Projects\Fire Land App\client\node_modules\react-dom\cjs\react-dom-server.node.development.js:3353:14)
    at resolve (file://E:\My Projects\Fire Land App\client\node_modules\react-dom\cjs\react-dom-server.node.development.js:3270:5)
    at ReactDOMServerRenderer.render (file://E:\My Projects\Fire Land App\client\node_modules\react-dom\cjs\react-dom-server.node.development.js:3753:22)
    at ReactDOMServerRenderer.read (file://E:\My Projects\Fire Land App\client\node_modules\react-dom\cjs\react-dom-server.node.development.js:3690:29)
    at Object.renderToString (file://E:\My Projects\Fire Land App\client\node_modules\react-dom\cjs\react-dom-server.node.development.js:4298:27)
    at Object.renderPage (file://E:\My Projects\Fire Land App\client\node_modules\next\dist\server\render.js:621:45)
    at Object.defaultGetInitialProps (file://E:\My Projects\Fire Land App\client\node_modules\next\dist\server\render.js:301:51)
    at Function.getInitialProps (webpack-internal:///./node_modules/next/dist/pages/_document.js:145:20)