RadikalWiki / radikalwiki

A full open source solution for voting, organizing conference communication and managing political documents
https://radikal.wiki
GNU Affero General Public License v3.0
5 stars 1 forks source link

Enable strict mode #85

Open noverby opened 2 years ago

noverby commented 2 years ago

Blocked by: https://github.com/atlassian/react-beautiful-dnd/issues/2399

Blocked by: ValueAxis in @devexpress/dx-react-chart

GEThttp://localhost:3000/radikal_ungdom/hb4/eksterne_resolutioner/eu_bor_vaere_selvforsynende_nar_det_kommer_til_kritisk_materiel/23052022_21.10.37
[HTTP/1.1 200 OK 2834ms]

GETwss://pgvhpsenoifywhuxnybq.nhost.run/v1/graphql
[HTTP/1.1 101 WebSocket Protocol Handshake 123ms]

GraphQL subscription ID 7 [id=3] [data] (0ms) 3 selections index.mjs:56
GraphQL subscription ID 7 [id=2] [data] (0ms) 3 selections index.mjs:56
GraphQL subscription ID 7 [id=1] [data] (0ms) 3 selections index.mjs:56
GEThttp://localhost:3000/_next/static/chunks/webpack.js?ts=1653333443833
[HTTP/1.1 200 OK 8ms]

GEThttp://localhost:3000/_next/static/chunks/main.js?ts=1653333443833
[HTTP/1.1 200 OK 175ms]

GEThttp://localhost:3000/_next/static/chunks/pages/_app.js?ts=1653333443833
[HTTP/1.1 200 OK 1516ms]

GEThttp://localhost:3000/_next/static/chunks/pages/[...path].js?ts=1653333443833
[HTTP/1.1 200 OK 9ms]

GEThttp://localhost:3000/_next/static/development/_buildManifest.js?ts=1653333443833
[HTTP/1.1 200 OK 6ms]

GEThttp://localhost:3000/_next/static/development/_ssgManifest.js?ts=1653333443833
[HTTP/1.1 200 OK 3ms]

GEThttp://localhost:3000/_next/static/development/_middlewareManifest.js?ts=1653333443833
[HTTP/1.1 200 OK 3ms]

GEThttp://localhost:3000/_next/static/chunks/react-refresh.js?ts=1653333443833
[HTTP/1.1 200 OK 46ms]

GETws://localhost:3000/_next/webpack-hmr
[HTTP/1.1 101 Switching Protocols 1ms]

GEThttp://localhost:3000/favicon.ico
[HTTP/1.1 200 OK 0ms]

GEThttp://localhost:3000/_next/static/chunks/node_modules_gqty_logger_index_mjs.js
[HTTP/1.1 200 OK 86ms]

GraphQL query ID 1 (152ms) 7 selections index.mjs:56
GraphQL query ID 2 (77ms) 9 selections index.mjs:56
GraphQL query ID 3 (121ms) 92 selections index.mjs:56
GraphQL query ID 4 (144ms) 10 selections index.mjs:56
GraphQL query ID 5 (108ms) 172 selections index.mjs:56
GETwss://pgvhpsenoifywhuxnybq.nhost.run/v1/graphql
[HTTP/1.1 101 WebSocket Protocol Handshake 96ms]

GraphQL query ID 6 (65ms) 2 selections index.mjs:56
GraphQL query ID 7 (111ms) 8 selections index.mjs:56
GraphQL subscription ID 8 [id=1] [created] (422ms) 3 selections index.mjs:56
GraphQL subscription ID 8 [id=1] [data] (0ms) 3 selections index.mjs:56
GraphQL subscription ID 9 [id=1] [unsubscribe] (1ms) 9 selections index.mjs:56
GraphQL subscription ID 8 [id=2] [data] (0ms) 3 selections index.mjs:56
GraphQL subscription ID 10 [id=2] [created] (516ms) 10 selections index.mjs:56
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
    React 4
    updateConnection dx-react-core.es.js:536
    UPDATE_CONNECTION_EVENT dx-react-core.es.js:521
    broadcast dx-core.es.js:202
    broadcast dx-core.es.js:202
    componentDidUpdate dx-react-core.es.js:452
    React 13
    workLoop scheduler.development.js:266
    flushWork scheduler.development.js:239
    performWorkUntilDeadline scheduler.development.js:533
    EventHandlerNonNull* scheduler.development.js:571
    <anonymous> scheduler.development.js:633
    NextJS 4
    <anonymous> index.js:6
    NextJS 4
    React 2
    NextJS 4
    <anonymous> React
    NextJS 4
    <anonymous> index.js:10
    NextJS 4
    <anonymous> next-dev.js:2
    NextJS 7
react-dom.development.js:27245
    React 4
    updateConnection dx-react-core.es.js:536
    UPDATE_CONNECTION_EVENT dx-react-core.es.js:521
    broadcast dx-core.es.js:202
    forEach self-hosted:4293
    broadcast dx-core.es.js:202
    componentDidUpdate dx-react-core.es.js:452
    React 8
    performSyncWorkOnRoot self-hosted:1165
    React 5
    performConcurrentWorkOnRoot self-hosted:1165
    workLoop scheduler.development.js:266
    flushWork scheduler.development.js:239
    performWorkUntilDeadline scheduler.development.js:533
    (Async: EventHandlerNonNull)
    <anonymous> scheduler.development.js:571
    <anonymous> scheduler.development.js:633
    NextJS 4
    <anonymous> index.js:6
    NextJS 4
    React 2
    NextJS 4
    <anonymous> React
    NextJS 4
    <anonymous> index.js:10
    NextJS 4
    <anonymous> next-dev.js:2
    NextJS 6
    webpackJsonpCallback self-hosted:1165
    <anonymous> NextJS
The above error occurred in the <GetterBase> component:

GetterBase@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:448:28
PluginIndexer@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:131:47
PluginBase@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:183:42
LayoutManager@webpack-internal:///./node_modules/@devexpress/dx-react-chart/dist/dx-react-chart.es.js:306:28
PluginIndexer@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:131:47
PluginHostBase@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:303:28
RawChart@webpack-internal:///./node_modules/@devexpress/dx-react-chart/dist/dx-react-chart.es.js:395:42
Component@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:1218:46
ChartWithPalette@webpack-internal:///./node_modules/@devexpress/dx-react-chart-material-ui/dist/dx-react-chart-material-ui.es.js:284:18
Component@webpack-internal:///./node_modules/@devexpress/dx-react-core/dist/dx-react-core.es.js:1218:46
div
withEmotionCache/<@webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-cbed451f.browser.esm.js:57:66
Paper@webpack-internal:///./node_modules/@mui/material/Paper/Paper.js:85:82
withEmotionCache/<@webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-cbed451f.browser.esm.js:57:66
Card@webpack-internal:///./node_modules/@mui/material/Card/Card.js:51:82
PollChartSub@webpack-internal:///./components/poll/PollChartSub.tsx:171:14
PollApp@webpack-internal:///./components/poll/PollApp.tsx:17:14
AppLoader@webpack-internal:///./components/layout/AppLoader.tsx:31:72
Suspense
Component
Path@webpack-internal:///./pages/[...path].tsx:23:72
div
withEmotionCache/<@webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-cbed451f.browser.esm.js:57:66
Container@webpack-internal:///./node_modules/@mui/material/Container/Container.js:93:82
div
withEmotionCache/<@webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-cbed451f.browser.esm.js:57:66
Box@webpack-internal:///./node_modules/@mui/system/esm/createBox.js:33:72
Scroll@webpack-internal:///./components/layout/Scroll.tsx:17:20
SessionProvider@webpack-internal:///./components/layout/SessionProvider.tsx:15:20
Layout@webpack-internal:///./components/layout/Layout.tsx:22:20
InnerThemeProvider@webpack-internal:///./node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js:21:70
ThemeProvider@webpack-internal:///./node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js:49:7
ThemeProvider@webpack-internal:///./node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js:43:7
LocalizationProvider@webpack-internal:///./node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js:31:7
NhostReactProvider@webpack-internal:///./node_modules/@nhost/react/dist/index.es.js:95:7
App@webpack-internal:///./pages/_app.tsx:58:21
ErrorBoundary@webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/client.js:8:20746
ReactDevOverlay@webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/client.js:8:23393
Container@webpack-internal:///./node_modules/next/dist/client/index.js:323:24
AppContainer@webpack-internal:///./node_modules/next/dist/client/index.js:825:20
Root@webpack-internal:///./node_modules/next/dist/client/index.js:949:21

React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary. next-dev.js:25:25
GraphQL subscription ID 8 [id=3] [data] (0ms) 3 selections index.mjs:56
GraphQL subscription ID 9 [id=2] [unsubscribe] (0ms) 11 selections index.mjs:56
GraphQL subscription ID 10 [id=3] [created] (201ms) 10 selections index.mjs:56
GETws://localhost:3000/_next/webpack-hmr
[HTTP/1.1 101 Switching Protocols 334ms]

GEThttps://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2
[HTTP/2 200 OK 0ms]