SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js

Home Page:https://adminjs.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Not able to build after adding admin-bro

Parth-Flutch opened this issue · comments

Contact Details

No response

What happened?

When I am trying to run my app directly it works but when I try to do that from build folder it fails giving some type errors from admin-bro and react

the errors are mentioned below
`
node_modules/admin-bro/node_modules/@types/react/index.d.ts:3245:13 - error TS2717: Subsequent property declarations must have the same type. Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes, HTMLSelectElement>'.

3245 select: React.DetailedHTMLProps<React.SelectHTMLAttributes, HTMLSelectElement>;
~~~~~~

node_modules/@types/react/index.d.ts:4308:13
4308 select: React.DetailedHTMLProps<React.SelectHTMLAttributes, HTMLSelectElement>;
~~~~~~
'select' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3246:13 - error TS2717: Subsequent property declarations must have the same type. Property 'small' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3246 small: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~

node_modules/@types/react/index.d.ts:4309:13
4309 small: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~
'small' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3247:13 - error TS2717: Subsequent property declarations must have the same type. Property 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes, HTMLSourceElement>'.

3247 source: React.DetailedHTMLProps<React.SourceHTMLAttributes, HTMLSourceElement>;
~~~~~~

node_modules/@types/react/index.d.ts:4310:13
4310 source: React.DetailedHTMLProps<React.SourceHTMLAttributes, HTMLSourceElement>;
~~~~~~
'source' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3248:13 - error TS2717: Subsequent property declarations must have the same type. Property 'span' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>'.

3248 span: React.DetailedHTMLProps<React.HTMLAttributes, HTMLSpanElement>;
~~~~

node_modules/@types/react/index.d.ts:4311:13
4311 span: React.DetailedHTMLProps<React.HTMLAttributes, HTMLSpanElement>;
~~~~
'span' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3249:13 - error TS2717: Subsequent property declarations must have the same type. Property 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3249 strong: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~~

node_modules/@types/react/index.d.ts:4312:13
4312 strong: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~~
'strong' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3250:13 - error TS2717: Subsequent property declarations must have the same type. Property 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes, HTMLStyleElement>'.

3250 style: React.DetailedHTMLProps<React.StyleHTMLAttributes, HTMLStyleElement>;
~~~~~

node_modules/@types/react/index.d.ts:4313:13
4313 style: React.DetailedHTMLProps<React.StyleHTMLAttributes, HTMLStyleElement>;
~~~~~
'style' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3251:13 - error TS2717: Subsequent property declarations must have the same type. Property 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3251 sub: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~

node_modules/@types/react/index.d.ts:4314:13
4314 sub: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~
'sub' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3252:13 - error TS2717: Subsequent property declarations must have the same type. Property 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3252 summary: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~~~

node_modules/@types/react/index.d.ts:4315:13
4315 summary: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~~~
'summary' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3253:13 - error TS2717: Subsequent property declarations must have the same type. Property 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3253 sup: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~

node_modules/@types/react/index.d.ts:4316:13
4316 sup: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~
'sup' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3254:13 - error TS2717: Subsequent property declarations must have the same type. Property 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes, HTMLTableElement>'.

3254 table: React.DetailedHTMLProps<React.TableHTMLAttributes, HTMLTableElement>;
~~~~~

node_modules/@types/react/index.d.ts:4317:13
4317 table: React.DetailedHTMLProps<React.TableHTMLAttributes, HTMLTableElement>;
~~~~~
'table' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3255:13 - error TS2717: Subsequent property declarations must have the same type. Property 'template' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTemplateElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTemplateElement>'.

3255 template: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTemplateElement>;
~~~~~~~~

node_modules/@types/react/index.d.ts:4318:13
4318 template: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTemplateElement>;
~~~~~~~~
'template' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3256:13 - error TS2717: Subsequent property declarations must have the same type. Property 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.

3256 tbody: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~

node_modules/@types/react/index.d.ts:4319:13
4319 tbody: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~
'tbody' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3257:13 - error TS2717: Subsequent property declarations must have the same type. Property 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes, HTMLTableDataCellElement>'.

3257 td: React.DetailedHTMLProps<React.TdHTMLAttributes, HTMLTableDataCellElement>;
~~

node_modules/@types/react/index.d.ts:4320:13
4320 td: React.DetailedHTMLProps<React.TdHTMLAttributes, HTMLTableDataCellElement>;
~~
'td' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3258:13 - error TS2717: Subsequent property declarations must have the same type. Property 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes, HTMLTextAreaElement>'.

3258 textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes, HTMLTextAreaElement>;
~~~~~~~~

node_modules/@types/react/index.d.ts:4321:13
4321 textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes, HTMLTextAreaElement>;
~~~~~~~~
'textarea' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3259:13 - error TS2717: Subsequent property declarations must have the same type. Property 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.

3259 tfoot: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~

node_modules/@types/react/index.d.ts:4322:13
4322 tfoot: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~
'tfoot' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3260:13 - error TS2717: Subsequent property declarations must have the same type. Property 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes, HTMLTableHeaderCellElement>'.

3260 th: React.DetailedHTMLProps<React.ThHTMLAttributes, HTMLTableHeaderCellElement>;
~~

node_modules/@types/react/index.d.ts:4323:13
4323 th: React.DetailedHTMLProps<React.ThHTMLAttributes, HTMLTableHeaderCellElement>;
~~
'th' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3261:13 - error TS2717: Subsequent property declarations must have the same type. Property 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.

3261 thead: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~

node_modules/@types/react/index.d.ts:4324:13
4324 thead: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableSectionElement>;
~~~~~
'thead' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3262:13 - error TS2717: Subsequent property declarations must have the same type. Property 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes, HTMLTimeElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes, HTMLElement>'.

3262 time: React.DetailedHTMLProps<React.TimeHTMLAttributes, HTMLElement>;
~~~~

node_modules/@types/react/index.d.ts:4325:13
4325 time: React.DetailedHTMLProps<React.TimeHTMLAttributes, HTMLTimeElement>;
~~~~
'time' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3263:13 - error TS2717: Subsequent property declarations must have the same type. Property 'title' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTitleElement>'.

3263 title: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTitleElement>;
~~~~~

node_modules/@types/react/index.d.ts:4326:13
4326 title: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTitleElement>;
~~~~~
'title' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3264:13 - error TS2717: Subsequent property declarations must have the same type. Property 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableRowElement>'.

3264 tr: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableRowElement>;
~~

node_modules/@types/react/index.d.ts:4327:13
4327 tr: React.DetailedHTMLProps<React.HTMLAttributes, HTMLTableRowElement>;
~~
'tr' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3265:13 - error TS2717: Subsequent property declarations must have the same type. Property 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes, HTMLTrackElement>'.

3265 track: React.DetailedHTMLProps<React.TrackHTMLAttributes, HTMLTrackElement>;
~~~~~

node_modules/@types/react/index.d.ts:4328:13
4328 track: React.DetailedHTMLProps<React.TrackHTMLAttributes, HTMLTrackElement>;
~~~~~
'track' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3266:13 - error TS2717: Subsequent property declarations must have the same type. Property 'u' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3266 u: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~

node_modules/@types/react/index.d.ts:4329:13
4329 u: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~
'u' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3267:13 - error TS2717: Subsequent property declarations must have the same type. Property 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLUListElement>'.

3267 ul: React.DetailedHTMLProps<React.HTMLAttributes, HTMLUListElement>;
~~

node_modules/@types/react/index.d.ts:4330:13
4330 ul: React.DetailedHTMLProps<React.HTMLAttributes, HTMLUListElement>;
~~
'ul' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3268:13 - error TS2717: Subsequent property declarations must have the same type. Property '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3268 "var": React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~

node_modules/@types/react/index.d.ts:4331:13
4331 "var": React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~~~
'"var"' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3269:13 - error TS2717: Subsequent property declarations must have the same type. Property 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes, HTMLVideoElement>'.

3269 video: React.DetailedHTMLProps<React.VideoHTMLAttributes, HTMLVideoElement>;
~~~~~

node_modules/@types/react/index.d.ts:4332:13
4332 video: React.DetailedHTMLProps<React.VideoHTMLAttributes, HTMLVideoElement>;
~~~~~
'video' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3270:13 - error TS2717: Subsequent property declarations must have the same type. Property 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.

3270 wbr: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~

node_modules/@types/react/index.d.ts:4333:13
4333 wbr: React.DetailedHTMLProps<React.HTMLAttributes, HTMLElement>;
~~~
'wbr' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3271:13 - error TS2717: Subsequent property declarations must have the same type. Property 'webview' must be of type 'DetailedHTMLProps<WebViewHTMLAttributes, HTMLWebViewElement>', but here has type 'DetailedHTMLProps<WebViewHTMLAttributes, HTMLWebViewElement>'.

3271 webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes, HTMLWebViewElement>;
~~~~~~~

node_modules/@types/react/index.d.ts:4334:13
4334 webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes, HTMLWebViewElement>;
~~~~~~~
'webview' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3274:13 - error TS2717: Subsequent property declarations must have the same type. Property 'svg' must be of type 'SVGProps', but here has type 'SVGProps'.

3274 svg: React.SVGProps;
~~~

node_modules/@types/react/index.d.ts:4337:13
4337 svg: React.SVGProps;
~~~
'svg' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3276:13 - error TS2717: Subsequent property declarations must have the same type. Property 'animate' must be of type 'SVGProps', but here has type 'SVGProps'.

3276 animate: React.SVGProps; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
~~~~~~~

node_modules/@types/react/index.d.ts:4339:13
4339 animate: React.SVGProps; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
~~~~~~~
'animate' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3277:13 - error TS2717: Subsequent property declarations must have the same type. Property 'animateMotion' must be of type 'SVGProps', but here has type 'SVGProps'.

3277 animateMotion: React.SVGProps;
~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4340:13
4340 animateMotion: React.SVGProps;
~~~~~~~~~~~~~
'animateMotion' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3278:13 - error TS2717: Subsequent property declarations must have the same type. Property 'animateTransform' must be of type 'SVGProps', but here has type 'SVGProps'.

3278 animateTransform: React.SVGProps; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4341:13
4341 animateTransform: React.SVGProps; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
~~~~~~~~~~~~~~~~
'animateTransform' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3279:13 - error TS2717: Subsequent property declarations must have the same type. Property 'circle' must be of type 'SVGProps', but here has type 'SVGProps'.

3279 circle: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4342:13
4342 circle: React.SVGProps;
~~~~~~
'circle' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3280:13 - error TS2717: Subsequent property declarations must have the same type. Property 'clipPath' must be of type 'SVGProps', but here has type 'SVGProps'.

3280 clipPath: React.SVGProps;
~~~~~~~~

node_modules/@types/react/index.d.ts:4343:13
4343 clipPath: React.SVGProps;
~~~~~~~~
'clipPath' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3281:13 - error TS2717: Subsequent property declarations must have the same type. Property 'defs' must be of type 'SVGProps', but here has type 'SVGProps'.

3281 defs: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4344:13
4344 defs: React.SVGProps;
~~~~
'defs' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3282:13 - error TS2717: Subsequent property declarations must have the same type. Property 'desc' must be of type 'SVGProps', but here has type 'SVGProps'.

3282 desc: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4345:13
4345 desc: React.SVGProps;
~~~~
'desc' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3283:13 - error TS2717: Subsequent property declarations must have the same type. Property 'ellipse' must be of type 'SVGProps', but here has type 'SVGProps'.

3283 ellipse: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4346:13
4346 ellipse: React.SVGProps;
~~~~~~~
'ellipse' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3284:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feBlend' must be of type 'SVGProps', but here has type 'SVGProps'.

3284 feBlend: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4347:13
4347 feBlend: React.SVGProps;
~~~~~~~
'feBlend' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3285:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feColorMatrix' must be of type 'SVGProps', but here has type 'SVGProps'.

3285 feColorMatrix: React.SVGProps;
~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4348:13
4348 feColorMatrix: React.SVGProps;
~~~~~~~~~~~~~
'feColorMatrix' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3286:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feComponentTransfer' must be of type 'SVGProps', but here has type 'SVGProps'.

3286 feComponentTransfer: React.SVGProps;
~~~~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4349:13
4349 feComponentTransfer: React.SVGProps;
~~~~~~~~~~~~~~~~~~~
'feComponentTransfer' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3287:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feComposite' must be of type 'SVGProps', but here has type 'SVGProps'.

3287 feComposite: React.SVGProps;
~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4350:13
4350 feComposite: React.SVGProps;
~~~~~~~~~~~
'feComposite' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3288:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feConvolveMatrix' must be of type 'SVGProps', but here has type 'SVGProps'.

3288 feConvolveMatrix: React.SVGProps;
~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4351:13
4351 feConvolveMatrix: React.SVGProps;
~~~~~~~~~~~~~~~~
'feConvolveMatrix' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3289:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feDiffuseLighting' must be of type 'SVGProps', but here has type 'SVGProps'.

3289 feDiffuseLighting: React.SVGProps;
~~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4352:13
4352 feDiffuseLighting: React.SVGProps;
~~~~~~~~~~~~~~~~~
'feDiffuseLighting' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3290:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feDisplacementMap' must be of type 'SVGProps', but here has type 'SVGProps'.

3290 feDisplacementMap: React.SVGProps;
~~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4353:13
4353 feDisplacementMap: React.SVGProps;
~~~~~~~~~~~~~~~~~
'feDisplacementMap' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3291:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feDistantLight' must be of type 'SVGProps', but here has type 'SVGProps'.

3291 feDistantLight: React.SVGProps;
~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4354:13
4354 feDistantLight: React.SVGProps;
~~~~~~~~~~~~~~
'feDistantLight' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3292:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feDropShadow' must be of type 'SVGProps', but here has type 'SVGProps'.

3292 feDropShadow: React.SVGProps;
~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4355:13
4355 feDropShadow: React.SVGProps;
~~~~~~~~~~~~
'feDropShadow' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3293:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feFlood' must be of type 'SVGProps', but here has type 'SVGProps'.

3293 feFlood: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4356:13
4356 feFlood: React.SVGProps;
~~~~~~~
'feFlood' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3294:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feFuncA' must be of type 'SVGProps', but here has type 'SVGProps'.

3294 feFuncA: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4357:13
4357 feFuncA: React.SVGProps;
~~~~~~~
'feFuncA' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3295:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feFuncB' must be of type 'SVGProps', but here has type 'SVGProps'.

3295 feFuncB: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4358:13
4358 feFuncB: React.SVGProps;
~~~~~~~
'feFuncB' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3296:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feFuncG' must be of type 'SVGProps', but here has type 'SVGProps'.

3296 feFuncG: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4359:13
4359 feFuncG: React.SVGProps;
~~~~~~~
'feFuncG' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3297:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feFuncR' must be of type 'SVGProps', but here has type 'SVGProps'.

3297 feFuncR: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4360:13
4360 feFuncR: React.SVGProps;
~~~~~~~
'feFuncR' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3298:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feGaussianBlur' must be of type 'SVGProps', but here has type 'SVGProps'.

3298 feGaussianBlur: React.SVGProps;
~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4361:13
4361 feGaussianBlur: React.SVGProps;
~~~~~~~~~~~~~~
'feGaussianBlur' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3299:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feImage' must be of type 'SVGProps', but here has type 'SVGProps'.

3299 feImage: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4362:13
4362 feImage: React.SVGProps;
~~~~~~~
'feImage' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3300:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feMerge' must be of type 'SVGProps', but here has type 'SVGProps'.

3300 feMerge: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4363:13
4363 feMerge: React.SVGProps;
~~~~~~~
'feMerge' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3301:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feMergeNode' must be of type 'SVGProps', but here has type 'SVGProps'.

3301 feMergeNode: React.SVGProps;
~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4364:13
4364 feMergeNode: React.SVGProps;
~~~~~~~~~~~
'feMergeNode' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3302:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feMorphology' must be of type 'SVGProps', but here has type 'SVGProps'.

3302 feMorphology: React.SVGProps;
~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4365:13
4365 feMorphology: React.SVGProps;
~~~~~~~~~~~~
'feMorphology' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3303:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feOffset' must be of type 'SVGProps', but here has type 'SVGProps'.

3303 feOffset: React.SVGProps;
~~~~~~~~

node_modules/@types/react/index.d.ts:4366:13
4366 feOffset: React.SVGProps;
~~~~~~~~
'feOffset' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3304:13 - error TS2717: Subsequent property declarations must have the same type. Property 'fePointLight' must be of type 'SVGProps', but here has type 'SVGProps'.

3304 fePointLight: React.SVGProps;
~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4367:13
4367 fePointLight: React.SVGProps;
~~~~~~~~~~~~
'fePointLight' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3305:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feSpecularLighting' must be of type 'SVGProps', but here has type 'SVGProps'.

3305 feSpecularLighting: React.SVGProps;
~~~~~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4368:13
4368 feSpecularLighting: React.SVGProps;
~~~~~~~~~~~~~~~~~~
'feSpecularLighting' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3306:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feSpotLight' must be of type 'SVGProps', but here has type 'SVGProps'.

3306 feSpotLight: React.SVGProps;
~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4369:13
4369 feSpotLight: React.SVGProps;
~~~~~~~~~~~
'feSpotLight' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3307:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feTile' must be of type 'SVGProps', but here has type 'SVGProps'.

3307 feTile: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4370:13
4370 feTile: React.SVGProps;
~~~~~~
'feTile' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3308:13 - error TS2717: Subsequent property declarations must have the same type. Property 'feTurbulence' must be of type 'SVGProps', but here has type 'SVGProps'.

3308 feTurbulence: React.SVGProps;
~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4371:13
4371 feTurbulence: React.SVGProps;
~~~~~~~~~~~~
'feTurbulence' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3309:13 - error TS2717: Subsequent property declarations must have the same type. Property 'filter' must be of type 'SVGProps', but here has type 'SVGProps'.

3309 filter: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4372:13
4372 filter: React.SVGProps;
~~~~~~
'filter' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3310:13 - error TS2717: Subsequent property declarations must have the same type. Property 'foreignObject' must be of type 'SVGProps', but here has type 'SVGProps'.

3310 foreignObject: React.SVGProps;
~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4373:13
4373 foreignObject: React.SVGProps;
~~~~~~~~~~~~~
'foreignObject' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3311:13 - error TS2717: Subsequent property declarations must have the same type. Property 'g' must be of type 'SVGProps', but here has type 'SVGProps'.

3311 g: React.SVGProps;
~

node_modules/@types/react/index.d.ts:4374:13
4374 g: React.SVGProps;
~
'g' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3312:13 - error TS2717: Subsequent property declarations must have the same type. Property 'image' must be of type 'SVGProps', but here has type 'SVGProps'.

3312 image: React.SVGProps;
~~~~~

node_modules/@types/react/index.d.ts:4375:13
4375 image: React.SVGProps;
~~~~~
'image' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3313:13 - error TS2717: Subsequent property declarations must have the same type. Property 'line' must be of type 'SVGLineElementAttributes', but here has type 'SVGLineElementAttributes'.

3313 line: React.SVGLineElementAttributes;
~~~~

node_modules/@types/react/index.d.ts:4376:13
4376 line: React.SVGLineElementAttributes;
~~~~
'line' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3314:13 - error TS2717: Subsequent property declarations must have the same type. Property 'linearGradient' must be of type 'SVGProps', but here has type 'SVGProps'.

3314 linearGradient: React.SVGProps;
~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4377:13
4377 linearGradient: React.SVGProps;
~~~~~~~~~~~~~~
'linearGradient' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3315:13 - error TS2717: Subsequent property declarations must have the same type. Property 'marker' must be of type 'SVGProps', but here has type 'SVGProps'.

3315 marker: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4378:13
4378 marker: React.SVGProps;
~~~~~~
'marker' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3316:13 - error TS2717: Subsequent property declarations must have the same type. Property 'mask' must be of type 'SVGProps', but here has type 'SVGProps'.

3316 mask: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4379:13
4379 mask: React.SVGProps;
~~~~
'mask' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3317:13 - error TS2717: Subsequent property declarations must have the same type. Property 'metadata' must be of type 'SVGProps', but here has type 'SVGProps'.

3317 metadata: React.SVGProps;
~~~~~~~~

node_modules/@types/react/index.d.ts:4380:13
4380 metadata: React.SVGProps;
~~~~~~~~
'metadata' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3318:13 - error TS2717: Subsequent property declarations must have the same type. Property 'mpath' must be of type 'SVGProps', but here has type 'SVGProps'.

3318 mpath: React.SVGProps;
~~~~~

node_modules/@types/react/index.d.ts:4381:13
4381 mpath: React.SVGProps;
~~~~~
'mpath' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3319:13 - error TS2717: Subsequent property declarations must have the same type. Property 'path' must be of type 'SVGProps', but here has type 'SVGProps'.

3319 path: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4382:13
4382 path: React.SVGProps;
~~~~
'path' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3320:13 - error TS2717: Subsequent property declarations must have the same type. Property 'pattern' must be of type 'SVGProps', but here has type 'SVGProps'.

3320 pattern: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4383:13
4383 pattern: React.SVGProps;
~~~~~~~
'pattern' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3321:13 - error TS2717: Subsequent property declarations must have the same type. Property 'polygon' must be of type 'SVGProps', but here has type 'SVGProps'.

3321 polygon: React.SVGProps;
~~~~~~~

node_modules/@types/react/index.d.ts:4384:13
4384 polygon: React.SVGProps;
~~~~~~~
'polygon' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3322:13 - error TS2717: Subsequent property declarations must have the same type. Property 'polyline' must be of type 'SVGProps', but here has type 'SVGProps'.

3322 polyline: React.SVGProps;
~~~~~~~~

node_modules/@types/react/index.d.ts:4385:13
4385 polyline: React.SVGProps;
~~~~~~~~
'polyline' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3323:13 - error TS2717: Subsequent property declarations must have the same type. Property 'radialGradient' must be of type 'SVGProps', but here has type 'SVGProps'.

3323 radialGradient: React.SVGProps;
~~~~~~~~~~~~~~

node_modules/@types/react/index.d.ts:4386:13
4386 radialGradient: React.SVGProps;
~~~~~~~~~~~~~~
'radialGradient' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3324:13 - error TS2717: Subsequent property declarations must have the same type. Property 'rect' must be of type 'SVGProps', but here has type 'SVGProps'.

3324 rect: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4387:13
4387 rect: React.SVGProps;
~~~~
'rect' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3325:13 - error TS2717: Subsequent property declarations must have the same type. Property 'stop' must be of type 'SVGProps', but here has type 'SVGProps'.

3325 stop: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4389:13
4389 stop: React.SVGProps;
~~~~
'stop' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3326:13 - error TS2717: Subsequent property declarations must have the same type. Property 'switch' must be of type 'SVGProps', but here has type 'SVGProps'.

3326 switch: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4390:13
4390 switch: React.SVGProps;
~~~~~~
'switch' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3327:13 - error TS2717: Subsequent property declarations must have the same type. Property 'symbol' must be of type 'SVGProps', but here has type 'SVGProps'.

3327 symbol: React.SVGProps;
~~~~~~

node_modules/@types/react/index.d.ts:4391:13
4391 symbol: React.SVGProps;
~~~~~~
'symbol' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3328:13 - error TS2717: Subsequent property declarations must have the same type. Property 'text' must be of type 'SVGTextElementAttributes', but here has type 'SVGTextElementAttributes'.

3328 text: React.SVGTextElementAttributes;
~~~~

node_modules/@types/react/index.d.ts:4392:13
4392 text: React.SVGTextElementAttributes;
~~~~
'text' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3329:13 - error TS2717: Subsequent property declarations must have the same type. Property 'textPath' must be of type 'SVGProps', but here has type 'SVGProps'.

3329 textPath: React.SVGProps;
~~~~~~~~

node_modules/@types/react/index.d.ts:4393:13
4393 textPath: React.SVGProps;
~~~~~~~~
'textPath' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3330:13 - error TS2717: Subsequent property declarations must have the same type. Property 'tspan' must be of type 'SVGProps', but here has type 'SVGProps'.

3330 tspan: React.SVGProps;
~~~~~

node_modules/@types/react/index.d.ts:4394:13
4394 tspan: React.SVGProps;
~~~~~
'tspan' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3331:13 - error TS2717: Subsequent property declarations must have the same type. Property 'use' must be of type 'SVGProps', but here has type 'SVGProps'.

3331 use: React.SVGProps;
~~~

node_modules/@types/react/index.d.ts:4395:13
4395 use: React.SVGProps;
~~~
'use' was also declared here.

node_modules/admin-bro/node_modules/@types/react/index.d.ts:3332:13 - error TS2717: Subsequent property declarations must have the same type. Property 'view' must be of type 'SVGProps', but here has type 'SVGProps'.

3332 view: React.SVGProps;
~~~~

node_modules/@types/react/index.d.ts:4396:13
4396 view: React.SVGProps;
~~~~
'view' was also declared here.

node_modules/admin-bro/types/src/frontend/components/app/sort-link.d.ts:16:52 - error TS2344: Type 'typeof SortLink' does not satisfy the constraint 'ComponentType'.
Type 'typeof SortLink' is not assignable to type 'ComponentClass<any, any>'.
Types of property 'contextType' are incompatible.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").Context | undefined' is not assignable to type 'React.Context | undefined'.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").Context' is not assignable to type 'React.Context'.
The types of 'Provider.propTypes' are incompatible between these types.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").WeakValidationMap<import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").ProviderProps> | undefined' is not assignable to type 'React.WeakValidationMap<React.ProviderProps> | undefined'.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").WeakValidationMap<import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").ProviderProps>' is not assignable to type 'React.WeakValidationMap<React.ProviderProps>'.
Types of property 'children' are incompatible.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").Validator<import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").ReactNode> | undefined' is not assignable to type 'React.Validator<React.ReactNode> | undefined'.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").Validator<import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").ReactNode>' is not assignable to type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/@types/prop-types/index").Validator<React.ReactNode>'.
Type 'import("/Users/apple/Projects/ClubbleLink/clubble-link-api/node_modules/admin-bro/node_modules/@types/react/index").ReactNode' is not assignable to type 'React.ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.

16 }, any> & import("react-router").WithRouterStatics;
~~~~~~~~~~~~~~~

node_modules/admin-bro/types/src/frontend/interfaces/action/build-action-api-call-trigger.d.ts:12:115 - error TS2344: Type 'K' does not satisfy the constraint 'ActionResponse'.

12 export declare const buildActionCallApiTrigger: (options: BuildActionCallApiTriggerOptions) => CallApiFunction;
~

node_modules/admin-bro/types/src/frontend/interfaces/action/build-action-api-call-trigger.d.ts:12:50
12 export declare const buildActionCallApiTrigger: (options: BuildActionCallApiTriggerOptions) => CallApiFunction;
~
This type parameter might need an extends ActionResponse constraint.

Found 185 errors in 4 files.

Errors Files
7 node_modules/@types/react/index.d.ts:4192
176 node_modules/admin-bro/node_modules/@types/react/index.d.ts:3141
1 node_modules/admin-bro/types/src/frontend/components/app/sort-link.d.ts:16
1 node_modules/admin-bro/types/src/frontend/interfaces/action/build-action-api-call-trigger.d.ts:12`

Bug prevalence

Whenever try to build my express typescript app

AdminJS dependencies version

"@admin-bro/express": "^3.1.0",
"@admin-bro/mongoose": "^1.1.0",
"admin-bro": "^4.0.1",

What browsers do you see the problem on?

No response

Relevant log output

No response

Relevant code that's giving you issues

No response

admin-bro is a very old package, use adminjs packages. We don't support admin-bro anymore