ERROR in ./resources/scripts/components/auth/LoginFormContainer.tsx Module not found: Error: Can't resolve '@blueprint/components/Authentication/Container/AfterContent' in '/var/www/pterodactyl/resources/scripts/components/auth' @ ./resources/scripts/components/auth/LoginFormContainer.tsx 11:0-87 100:57-69 @ ./resources/scripts/components/auth/LoginCheckpointContainer.tsx @ ./resources/scripts/routers/AuthenticationRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/auth/LoginFormContainer.tsx Module not found: Error: Can't resolve '@blueprint/components/Authentication/Container/BeforeContent' in '/var/www/pterodactyl/resources/scripts/components/auth' @ ./resources/scripts/components/auth/LoginFormContainer.tsx 10:0-89 57:39-52 @ ./resources/scripts/components/auth/LoginCheckpointContainer.tsx @ ./resources/scripts/routers/AuthenticationRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/elements/PageContentBlock.tsx Module not found: Error: Can't resolve '@blueprint/components/Dashboard/Global/AfterSection' in '/var/www/pterodactyl/resources/scripts/components/elements' @ ./resources/scripts/components/elements/PageContentBlock.tsx 8:0-79 29:50-62 @ ./resources/scripts/components/elements/ScreenBlock.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/elements/PageContentBlock.tsx Module not found: Error: Can't resolve '@blueprint/components/Dashboard/Global/BeforeSection' in '/var/www/pterodactyl/resources/scripts/components/elements' @ ./resources/scripts/components/elements/PageContentBlock.tsx 7:0-81 25:93-106 @ ./resources/scripts/components/elements/ScreenBlock.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/NavigationBar.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/NavigationBar/AdditionalItems' in '/var/www/pterodactyl/resources/scripts/components' @ ./resources/scripts/components/NavigationBar.tsx 14:0-93 82:41-56 @ ./resources/scripts/routers/DashboardRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/NavigationBar.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/NavigationBar/AfterNavigation' in '/var/www/pterodactyl/resources/scripts/components' @ ./resources/scripts/components/NavigationBar.tsx 15:0-93 98:43-58 @ ./resources/scripts/routers/DashboardRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/NavigationBar.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/NavigationBar/BeforeNavigation' in '/var/www/pterodactyl/resources/scripts/components' @ ./resources/scripts/components/NavigationBar.tsx 13:0-95 52:38-54 @ ./resources/scripts/routers/DashboardRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/DashboardRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/AdditionalAccountItems' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/DashboardRouter.tsx 7:0-107 13:202-224 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/ServerRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/AdditionalServerItems' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/ServerRouter.tsx 18:0-105 65:202-223 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/DashboardRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/AfterSubNavigation' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/DashboardRouter.tsx 8:0-99 13:267-285 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/ServerRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/AfterSubNavigation' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/ServerRouter.tsx 19:0-99 73:41-59 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/DashboardRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/BeforeSubNavigation' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/DashboardRouter.tsx 6:0-101 13:38-57 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/ServerRouter.tsx Module not found: Error: Can't resolve '@blueprint/components/Navigation/SubNavigation/BeforeSubNavigation' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/ServerRouter.tsx 17:0-101 65:38-57 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/auth/LoginFormContainer.tsx Module not found: Error: Can't resolve '@blueprint/extends/Attribution' in '/var/www/pterodactyl/resources/scripts/components/auth' @ ./resources/scripts/components/auth/LoginFormContainer.tsx 9:0-57 122:108-119 @ ./resources/scripts/components/auth/LoginCheckpointContainer.tsx @ ./resources/scripts/routers/AuthenticationRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/components/elements/PageContentBlock.tsx Module not found: Error: Can't resolve '@blueprint/extends/Attribution' in '/var/www/pterodactyl/resources/scripts/components/elements' @ ./resources/scripts/components/elements/PageContentBlock.tsx 6:0-57 33:104-115 @ ./resources/scripts/components/elements/ScreenBlock.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/DashboardRouter.tsx Module not found: Error: Can't resolve '@blueprint/extends/routers/DashboardRouter' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/DashboardRouter.tsx 5:0-95 13:145-160 13:328-344 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in ./resources/scripts/routers/ServerRouter.tsx Module not found: Error: Can't resolve '@blueprint/extends/routers/ServerRouter' in '/var/www/pterodactyl/resources/scripts/routers' @ ./resources/scripts/routers/ServerRouter.tsx 16:0-92 65:145-160 73:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:55:12 TS2786: 'Switch' cannot be used as a JSX component. Its instance type 'Switch' is not a valid JSX element. Property 'refs' is missing in type 'Component' but required in type 'ElementClass'. 53 | 54 | }> > 55 | | ^^^^^^ 56 | 57 | 58 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:56:14 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "/">' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, "/">' but required in type 'ElementClass'. 54 | }> 55 | > 56 | | ^^^^^ 57 | 58 | 59 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:62:16 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, string>' is not a valid JSX element. 60 | {/* Pterodactyl routes */} 61 | {routes.account.map(({ path, component: Component }) => ( > 62 | | ^^^^^ 63 | 64 | 65 | ))} ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:72:20 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, string>' is not a valid JSX element. 70 | .filter((route) => (route.adminOnly ? rootAdmin : true)) 71 | .map(({ path, component: Component }) => ( > 72 | | ^^^^^ 73 | 74 | 75 | ))} ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:77:14 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "*">' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, "*">' but required in type 'ElementClass'. 75 | ))} 76 | > 77 | | ^^^^^ 78 | 79 | 80 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:128:10 TS2786: 'Switch' cannot be used as a JSX component. Its instance type 'Switch' is not a valid JSX element. 126 | <> 127 | > 128 | | ^^^^^^ 129 | {/* Pterodactyl routes */} 130 | {routes.server.map(({ path, permission, component: Component }) => ( 131 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:155:12 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "*">' is not a valid JSX element. 153 | ))} 154 | > 155 | | ^^^^^ 156 | 157 | 158 | ERROR in resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx:23:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 21 | css={tw`absolute top-2 right-2 text-white hover:text-gray-800 p-2 rounded-full bg-gray-700 hover:bg-gray-600 transition-all duration-200`} 22 | > > 23 | | ^^^^ 24 | 25 | {children} 26 | ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginCard.tsx:109:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 107 |

108 | {pluginCategory} > 109 | | ^^^^ 110 | {plugin.downloads.toLocaleString()} 111 |

112 | ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginCard.tsx:141:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 139 | onClick={() => setModalVisible(true)} 140 | > > 141 | | ^^^^ 142 | Versions 143 | 144 | {plugin.installable ? ( ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginCard.tsx:149:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 147 | onClick={() => handleInstallPlugin(plugin.category, plugin.id, plugin.name)} 148 | > > 149 | | ^^^^ 150 | Install 151 | 152 | ) : ( ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginCard.tsx:157:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 155 | css={[tw`text-white px-4 py-2 rounded text-sm flex items-center`, buttonStyle]} 156 | > > 157 | | ^^^^ 158 | Install 159 | 160 | )} ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginsVersionContainer.tsx:106:58 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 104 | {version.downloads && ( 105 |

> 106 | | ^^^^ 107 | {version.downloads.toLocaleString()} downloads 108 |

109 | )} ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginsVersionContainer.tsx:132:62 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 130 | css={[tw`text-white px-4 py-2 rounded text-sm flex items-center`, buttonStyle]} 131 | > > 132 | | ^^^^ 133 | Download 134 | 135 | ) : ( ERROR in resources/scripts/blueprint/extensions/mcplugins/PluginsVersionContainer.tsx:140:62 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 138 | onClick={() => handleInstall(version.versionId, pluginName)} 139 | > > 140 | | ^^^^ 141 | Install 142 | 143 | )} ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:97:110 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 95 | 96 | > 97 | }> | ^^^^ 98 | Whispering will send a message that's only visible for the player you are whispering to. 99 | Avoid whispering sensitive information as whispers are visible in the server's console. 100 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:138:105 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 136 | 137 | > 138 | }> | ^^^^ 139 | Players with OP can do all sorts of (potentially) bad things to your 140 | server and give other players OP. Only give OP to people you trust. 141 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:174:110 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 172 | 173 | > 174 | }> | ^^^^ 175 | Banning a player will no longer make them able to join this server 176 | until they are unbanned. This ban is permanent until you remove it. 177 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:213:110 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 211 | 212 | > 213 | }> | ^^^^ 214 | Kicking a player will remove them from the server immediately. They will be able to rejoin 215 | unless they are banned. 216 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:253:105 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 251 | 252 | > 253 | }> | ^^^^ 254 | Clearing a player's inventory will cause them to lose all of their 255 | items permanently. This action cannot be undone. 256 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:290:105 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 288 | 289 | > 290 | }> | ^^^^ 291 | Wiping all player data associated with this player is permanent 292 | and cannot be undone. This includes all player data, inventories, and 293 | any other information stored by the server. If the player is currently ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:331:110 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 329 | 330 | > 331 | }> | ^^^^ 332 | Banning a player will no longer make them able to join this server 333 | until they are unbanned. This ban is permanent until you remove it. 334 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:371:105 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 369 | 370 | > 371 | }> | ^^^^ 372 | Killing a player will make them lose all of their items and will 373 | respawn them at the spawn point (or their bed if they have one). 374 | This action cannot be undone. ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:401:54 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 399 | setPlayer(undefined); 400 | }}> > 401 | | ^^^^ 402 | 403 | 404 |
ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:408:54 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 406 | 407 |

> 408 | | ^^^^ 409 | UUID 410 |

411 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:416:54 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 414 | 415 |

> 416 | | ^^^^ 417 | Power actions 418 |

419 |
ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:537:96 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 535 | 536 | setViewing('banned')} title={'Banned IPs'}> > 537 | }> | ^^^^ 538 | IP addresses listed here are banned from connecting to this server. Removing IP 539 | addresses from this list will restore their access. 540 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:560:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 558 | }); 559 | }} disabled={isLoading || address.length < 7 || query.banned.ips.some(ip => ip.ip === address)}> > 560 | | ^^^^ 561 | 562 |
563 | {query.banned.ips.map(ip => ( ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:577:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 575 | .finally(() => setIsLoading(false)); 576 | }} disabled={isLoading}> > 577 | | ^^^^ 578 | 579 |
580 | ))} ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:743:98 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 741 | 742 | {viewing === 'opped' ? ( > 743 | }> | ^^^^ 744 | Operators are able to run any command in the server which allows 745 | them to do actions such as moderating players (kicking, banning), granting 746 | other players operator permissions, switching game mods, use command blocks ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:750:98 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 748 | 749 | ) : viewing === 'whitelisted' ? ( > 750 | } extra={ | ^^^^ 751 | { 752 | setIsLoading(true); 753 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:770:107 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 768 | 769 | ) : ( > 770 | } extra={ | ^^^^ 771 | setViewing('banned-ips')}> 772 | View Banned IPs 773 | ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:790:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 788 | ))} 789 |
setNewOpModalVisible(true)}> > 790 | | ^^^^ 791 |
792 | 793 | ) : viewing === 'whitelisted' ? ( ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:799:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 797 | ))} 798 |
setNewWhitelistModalVisible(true)}> > 799 | | ^^^^ 800 |
801 | 802 | ) : ( ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerManagerContainer.tsx:808:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 806 | ))} 807 |
setNewBanModalVisible(true)}> > 808 | | ^^^^ 809 |
810 | 811 | )} ERROR in resources/scripts/blueprint/extensions/minecraftplayermanager/PlayerRow.tsx:22:30 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 20 | 21 | > 22 | | ^^^^ 23 | 24 | ) 25 | } ERROR in resources/scripts/blueprint/extensions/sagaserverpropertiesui/ServerPropertiesContainer.tsx:234:62 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 232 | /> 233 | > 234 | | ^^^^ 235 | 236 | 237 | ERROR in resources/scripts/blueprint/extensions/sagaserverpropertiesui/ServerPropertiesContainer.tsx:239:54 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 237 | 238 | > 239 | | ^^^^ 240 | {isSubmitting ? 'Saving...' : 'Save'} 241 | 242 | ERROR in resources/scripts/blueprint/extensions/sagaserverpropertiesui/ServerPropertiesContainer.tsx:244:58 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 242 | 243 | > 244 | | ^^^^ 245 | Manual 246 | 247 | ERROR in resources/scripts/blueprint/extensions/serverimporter/ServerImporterContainer.tsx:260:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 258 | className={'self-end ml-2'} 259 | > > 260 | | ^^^^ 261 | 262 | 263 | ERROR in resources/scripts/blueprint/extensions/serverimporter/ServerImporterContainer.tsx:329:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 327 | className={'self-end ml-2'} 328 | > > 329 | | ^^^^ 330 | 331 | 332 | ERROR in resources/scripts/blueprint/extensions/serverimporter/ServerImporterContainer.tsx:767:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 765 | className={'ml-1 h-full min-w-[3rem]'} 766 | > > 767 | | ^^^^ 768 | 769 | 770 | ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:239:66 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 237 | 238 | > 239 | | ^^^^ 240 | 241 | 242 | )} ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:246:66 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 244 | 245 | > 246 | | ^^^^ 247 | 248 | 249 | )} ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:308:78 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 306 | 307 | > 308 | | ^^^^ 309 | 310 | 311 | )} ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:315:78 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 313 | 314 | > 315 | | ^^^^ 316 | 317 | 318 | )} ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:347:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 345 | > 346 | > 347 | | ^^^^ 348 | 349 |
350 |
ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:366:54 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 364 | > 365 | > 366 | | ^^^^ 367 | 368 |
369 |
ERROR in resources/scripts/components/App.tsx:61:14 TS2786: 'GlobalStylesheet' cannot be used as a JSX component. Its instance type 'Component, any, any>' is not a valid JSX element. Property 'refs' is missing in type 'Component, any, any>' but required in type 'ElementClass'. 59 | return ( 60 | <> > 61 | | ^^^^^^^^^^^^^^^^ 62 | 63 | 64 |
ERROR in resources/scripts/components/App.tsx:65:22 TS2786: 'Router' cannot be used as a JSX component. Its instance type 'Router' is not a valid JSX element. Property 'refs' is missing in type 'Component' but required in type 'ElementClass'. 63 | 64 |
> 65 | | ^^^^^^ 66 | 67 | 68 | ERROR in resources/scripts/components/App.tsx:66:26 TS2786: 'Switch' cannot be used as a JSX component. Its instance type 'Switch' is not a valid JSX element. 64 |
65 | > 66 | | ^^^^^^ 67 | 68 | 69 | ERROR in resources/scripts/components/App.tsx:67:30 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "/auth">' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, "/auth">' but required in type 'ElementClass'. 65 | 66 | > 67 | | ^^^^^ 68 | 69 | 70 | ERROR in resources/scripts/components/App.tsx:84:30 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "*">' is not a valid JSX element. 82 | 83 | > 84 | | ^^^^^ 85 | 86 | 87 | ERROR in resources/scripts/components/dashboard/AccountApiContainer.tsx:76:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 74 | css={[tw`bg-neutral-600 flex items-center`, index > 0 && tw`mt-2`]} 75 | > > 76 | | ^^^^ 77 |
78 |

{key.description}

79 |

ERROR in resources/scripts/components/dashboard/AccountApiContainer.tsx:89:41 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 87 | ERROR in resources/scripts/components/dashboard/search/SearchContainer.tsx:24:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 22 | 23 |

setVisible(true)}> > 24 | | ^^^^ 25 |
26 | 27 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:101:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 99 |
100 |
> 101 | | ^^^^ 102 |
103 |
104 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:118:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 116 |
117 |
> 118 | | ^^^^ 119 |

120 | {server.allocations 121 | .filter((alloc) => alloc.isDefault) ERROR in resources/scripts/components/dashboard/ServerRow.tsx:157:39 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 155 |

156 |
> 157 | | ^^^^ 158 | 159 | {stats.cpuUsagePercent.toFixed(2)} % 160 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:166:39 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 164 |
165 |
> 166 | | ^^^^ 167 | 168 | {bytesToString(stats.memoryUsageInBytes)} 169 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:175:39 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 173 |
174 |
> 175 | | ^^^^ 176 | 177 | {bytesToString(stats.diskUsageInBytes)} 178 | ERROR in resources/scripts/components/dashboard/ssh/AccountSSHContainer.tsx:50:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 48 | css={[tw`bg-neutral-600 flex space-x-4 items-center`, index > 0 && tw`mt-2`]} 49 | > > 50 | | ^^^^ 51 |
52 |

{key.name}

53 |

SHA256:{key.fingerprint}

ERROR in resources/scripts/components/dashboard/ssh/DeleteSSHKeyButton.tsx:40:21 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 38 | ERROR in resources/scripts/components/elements/AuthenticatedRoute.tsx:9:10 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, string>' is not a valid JSX element. 7 | 8 | return ( > 9 | 12 | isAuthenticated ? children : ERROR in resources/scripts/components/elements/AuthenticatedRoute.tsx:11:13 TS2769: No overload matches this call. Overload 1 of 2, '(props: RouteProps & OmitNative<{}, keyof RouteProps>): Route<...>', gave the following error. Type '({ location }: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => string | number | bigint | boolean | Element | ... 4 more ... | undefined' is not assignable to type '(props: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => ReactNode'. Type 'string | number | bigint | boolean | Element | Iterable | Promise | ((props: RouteChildrenProps<{ [x: string]: string | undefined; }, unknown>) => ReactNode) | null | undefined' is not assignable to type 'ReactNode'. Type '(props: RouteChildrenProps<{ [x: string]: string | undefined; }, unknown>) => ReactNode' is not assignable to type 'ReactNode'. Overload 2 of 2, '(props: RouteProps & OmitNative<{}, keyof RouteProps>, context: any): Route<...>', gave the following error. Type '({ location }: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => string | number | bigint | boolean | Element | ... 4 more ... | undefined' is not assignable to type '(props: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => ReactNode'. 9 | 11 | render={({ location }) => | ^^^^^^ 12 | isAuthenticated ? children : 13 | } 14 | /> ERROR in resources/scripts/components/elements/AuthenticatedRoute.tsx:12:47 TS2786: 'Redirect' cannot be used as a JSX component. Its instance type 'Redirect' is not a valid JSX element. Property 'refs' is missing in type 'Component' but required in type 'ElementClass'. 10 | {...props} 11 | render={({ location }) => > 12 | isAuthenticated ? children : | ^^^^^^^^ 13 | } 14 | /> 15 | ); ERROR in resources/scripts/components/elements/Button.tsx:111:52 TS2769: No overload matches this call. Overload 1 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 285 more ...; value?: string | ... 2 more ... | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ children?: ((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined; ... 275 more ...; as: string; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 285 more ...; value?: string | ... 2 more ... | undefined; }'. Types of property 'children' are incompatible. Type '((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined' is not assignable to type 'ReactNode'. Type '{}' is not assignable to type 'ReactNode'. Overload 2 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 285 more ...; value?: string | ... 2 more ... | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type 'string' is not assignable to type 'undefined'. Overload 3 of 3, '(props: StyledComponentPropsWithAs<"a", any, Omit, never, "a", "a">): ReactElement, never, "a", "a">, string | JSXElementConstructor<...>>', gave the following error. Type '{ children?: ((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined; ... 275 more ...; as: "a"; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 284 more ...; referrerPolicy?: HTMLAttributeReferrerPolicy | undefined; }'. Types of property 'children' are incompatible. Type '((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined' is not assignable to type 'ReactNode'. 109 | type LinkProps = Omit & Props; 110 | > 111 | const LinkButton: React.FC = (props) => ; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 112 | 113 | export { LinkButton, ButtonStyle }; 114 | export default Button; ERROR in resources/scripts/components/elements/Checkbox.tsx:25:18 TS2769: No overload matches this call. Overload 1 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ className: string | undefined; type: "checkbox"; checked: boolean; onClick: () => Promise>; onChange: (e: ChangeEvent) => void; ... 288 more ...; name: string; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'ReactI18NextChild | Iterable' is not assignable to type 'ReactNode'. Type '{}' is not assignable to type 'ReactNode'. Overload 2 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ className: string | undefined; type: "checkbox"; checked: boolean; onClick: () => Promise>; onChange: (e: ChangeEvent) => void; ... 288 more ...; name: string; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'ReactI18NextChild | Iterable' is not assignable to type 'ReactNode'. Overload 3 of 3, '(props: StyledComponentPropsWithAs<"input", any, Props, never, "input", "input">): ReactElement, string | JSXElementConstructor<...>>', gave the following error. Type '{ className: string | undefined; type: "checkbox"; checked: boolean; onClick: () => Promise>; onChange: (e: ChangeEvent) => void; ... 288 more ...; name: string; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'ReactI18NextChild | Iterable' is not assignable to type 'ReactNode'. 23 | 24 | return ( > 25 | ) => void; }' is not assignable to parameter of type 'Partial & Attributes'. Object literal may only specify known properties, and 'className' does not exist in type 'Partial & Attributes'. 33 | ? React.Children.only(children) 34 | : React.cloneElement(React.Children.only(children), { > 35 | className: classNames(children.props.className || '', 'cursor-pointer'), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 | onClick: (e: React.MouseEvent) => { 37 | copy(String(text)); 38 | setCopied(true); ERROR in resources/scripts/components/elements/dropdown/Dropdown.tsx:36:56 TS2322: Type 'ForwardedRef<_internal_ComponentMenu & { Button: _internal_ComponentMenuButton; Items: _internal_ComponentMenuItems; Item: _internal_ComponentMenuItem; }>' is not assignable to type 'Ref | undefined'. Type '(instance: (_internal_ComponentMenu & { Button: _internal_ComponentMenuButton; Items: _internal_ComponentMenuItems; Item: _internal_ComponentMenuItem; }) | null) => void' is not assignable to type 'Ref | undefined'. Type '(instance: (_internal_ComponentMenu & { Button: _internal_ComponentMenuButton; Items: _internal_ComponentMenuItems; Item: _internal_ComponentMenuItem; }) | null) => void' is not assignable to type '(instance: HTMLElement | null) => void'. Types of parameters 'instance' and 'instance' are incompatible. Type 'HTMLElement | null' is not assignable to type '(_internal_ComponentMenu & { Button: _internal_ComponentMenuButton; Items: _internal_ComponentMenuItems; Item: _internal_ComponentMenuItem; }) | null'. Type 'HTMLElement' is not assignable to type '_internal_ComponentMenu & { Button: _internal_ComponentMenuButton; Items: _internal_ComponentMenuItems; Item: _internal_ComponentMenuItem; }'. Property 'displayName' is missing in type 'HTMLElement' but required in type '_internal_ComponentMenu'. 34 | 35 | return ( > 36 | | ^^^ 37 | {Button} 38 | 27 |
> 28 | | ^^^^ 29 |

30 | An error was encountered by the application while rendering this view. Try refreshing the page. 31 |

ERROR in resources/scripts/components/elements/Field.tsx:26:22 TS2769: No overload matches this call. Overload 1 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ isLight: boolean; hasError: boolean; children?: ((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined; ... 290 more ...; id: string | undefined; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type '((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined' is not assignable to type 'ReactNode'. Overload 2 of 3, '(props: { children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ isLight: boolean; hasError: boolean; children?: ((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined; ... 290 more ...; id: string | undefined; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type '((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined' is not assignable to type 'ReactNode'. Overload 3 of 3, '(props: StyledComponentPropsWithAs<"input", any, Props, never, "input", "input">): ReactElement, string | JSXElementConstructor<...>>', gave the following error. Type '{ isLight: boolean; hasError: boolean; children?: ((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined; ... 290 more ...; id: string | undefined; }' is not assignable to type '{ children?: ReactNode; form?: string | undefined; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; pattern?: string | undefined; ... 305 more ...; readOnly?: boolean | undefined; }'. Types of property 'children' are incompatible. Type '((string | number | boolean | {} | ReactElement> | ReactNodeArray | ReactPortal | Iterable<...>) & (boolean | ... 2 more ... | ReactPortal)) | null | undefined' is not assignable to type 'ReactNode'. 24 | 25 | )} > 26 | ( > 21 | | ^^^^^^^^^ 22 | 23 |
24 | ERROR in resources/scripts/components/elements/InputSpinner.tsx:21:6 TS2769: No overload matches this call. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. 19 | 20 | const InputSpinner = ({ visible, children }: { visible: boolean; children: React.ReactNode }) => ( > 21 | | ^^^^^^^^^ 22 | 23 |
24 | ERROR in resources/scripts/components/elements/PageContentBlock.tsx:28:18 TS2746: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. 26 | <> 27 | > 28 | | ^^^^^^^^^^^^^^^^ 29 | {showFlashKey && } 30 | {children} 31 | ERROR in resources/scripts/components/elements/PageContentBlock.tsx:28:18 TS2769: No overload matches this call. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. 26 | <> 27 | > 28 | | ^^^^^^^^^^^^^^^^ 29 | {showFlashKey && } 30 | {children} 31 | ERROR in resources/scripts/components/elements/Pagination.tsx:53:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 51 | {pages[0] > 1 && !isFirstPage && ( 52 | onPageSelect(1)}> > 53 | | ^^^^ 54 | 55 | )} 56 | {pages.map((i) => ( ERROR in resources/scripts/components/elements/Pagination.tsx:68:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 66 | {pages[4] < pagination.totalPages && !isLastPage && ( 67 | onPageSelect(pagination.totalPages)}> > 68 | | ^^^^ 69 | 70 | )} 71 |
ERROR in resources/scripts/components/elements/PermissionRoute.tsx:13:6 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, string>' is not a valid JSX element. 11 | 12 | export default ({ permission, children, ...props }: Props) => ( > 13 | | ^^^^^ 14 | {!permission ? ( 15 | children 16 | ) : ( ERROR in resources/scripts/components/elements/ScreenBlock.tsx:55:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. Type 'IconDefinition' is not assignable to type 'IconLookup'. Types of property 'iconName' are incompatible. Type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-common-types/index").IconName' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-svg-core/node_modules/@fortawesome/fontawesome-common-types/index").IconName'. 53 | className={onRetry ? 'hover:spin' : undefined} 54 | > > 55 | | ^^^^ 56 | 57 |
58 | )} ERROR in resources/scripts/components/elements/Spinner.tsx:47:14 TS2769: No overload matches this call. Overload 1 of 3, '(props: { children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. Overload 2 of 3, '(props: { children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. Overload 3 of 3, '(props: StyledComponentPropsWithAs<"div", any, Props, never, "div", "div">): ReactElement, string | JSXElementConstructor<...>>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. 45 | centered ? ( 46 |
> 47 | | ^^^^^^^^^^^^^^^^ 48 |
49 | ) : ( 50 | ERROR in resources/scripts/components/elements/Spinner.tsx:50:10 TS2769: No overload matches this call. Overload 1 of 3, '(props: { children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. Type '{}' is not assignable to type 'ReactNode'. Overload 2 of 3, '(props: { children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. Overload 3 of 3, '(props: StyledComponentPropsWithAs<"div", any, Props, never, "div", "div">): ReactElement, string | JSXElementConstructor<...>>', gave the following error. Type '{ size?: SpinnerSize | undefined; isBlue?: boolean | undefined; children?: ReactNode; }' is not assignable to type '{ children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref | undefined; ... 277 more ...; isBlue?: boolean | undefined; }'. Types of property 'children' are incompatible. Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. 48 |
49 | ) : ( > 50 | | ^^^^^^^^^^^^^^^^ 51 | ); 52 | Spinner.displayName = 'Spinner'; 53 | ERROR in resources/scripts/components/elements/Switch.tsx:54:14 TS2746: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided. 52 | return ( 53 |
> 54 | | ^^^^^^^^^^^^^^^ 55 | {children || ( 56 | > 54 | | ^^^^^^^^^^^^^^^ 55 | {children || ( 56 | 4 | type Props = Omit; | ^^^^^^^^^^ 5 | 6 | export default ({ ns, children, ...props }: Props) => { 7 | const { t } = useTranslation(ns); ERROR in resources/scripts/components/elements/Translate.tsx:7:19 TS2589: Type instantiation is excessively deep and possibly infinite. 5 | 6 | export default ({ ns, children, ...props }: Props) => { > 7 | const { t } = useTranslation(ns); | ^^^^^^^^^^^^^^^^^^ 8 | 9 | return ( 10 | ERROR in resources/scripts/components/NavigationBar.tsx:71:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 69 | 70 | > 71 | | ^^^^ 72 | 73 | 74 | {rootAdmin && ( ERROR in resources/scripts/components/NavigationBar.tsx:77:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 75 | 76 | > 77 | | ^^^^ 78 | 79 | 80 | )} ERROR in resources/scripts/components/NavigationBar.tsx:91:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 89 | 90 | 93 | 94 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:174:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 172 | css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`} 173 | > > 174 | | ^^^^ 175 | 176 | )} 177 | > ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:181:61 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 179 | 180 | > 181 | | ^^^^ 182 | Download 183 | 184 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:187:61 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 185 | 186 | setModal('restore')}> > 187 | | ^^^^ 188 | Restore 189 | 190 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:196:41 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 194 | 196 | icon={backup.isLocked ? faUnlock : faLock} | ^^^^ 197 | css={tw`text-xs mr-2`} 198 | /> 199 | {backup.isLocked ? 'Unlock' : 'Lock'} ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:203:69 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 201 | {!backup.isLocked && ( 202 | setModal('delete')}> > 203 | | ^^^^ 204 | Delete 205 | 206 | )} ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:217:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 215 | css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`} 216 | > > 217 | | ^^^^ 218 | 219 | )} 220 | ERROR in resources/scripts/components/server/backups/BackupRow.tsx:56:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 54 | {backup.completedAt !== null ? ( 55 | backup.isLocked ? ( > 56 | | ^^^^ 57 | ) : ( 58 | 59 | ) ERROR in resources/scripts/components/server/backups/BackupRow.tsx:58:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 56 | 57 | ) : ( > 58 | | ^^^^ 59 | ) 60 | ) : ( 61 | ERROR in resources/scripts/components/server/backups/BackupRow.tsx:93:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 91 | {!backup.completedAt ? ( 92 |
> 93 | | ^^^^ 94 |
95 | ) : ( 96 | ERROR in resources/scripts/components/server/console/chart.ts:74:5 TS2322: Type 'Omit & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>, { ...; }], Readonly<...>, Readonly<...>>, "__proto__">' is not assignable to type '_DeepPartialObject & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>'. Types of property 'scales' are incompatible. Type '{ [x: string]: { type?: "time" | undefined; title?: { display?: boolean | undefined; align?: "center" | "start" | "end" | undefined; text?: string | (string | undefined)[] | undefined; color?: string | ... 2 more ... | undefined; font?: { ...; } | ... 2 more ... | undefined; padding?: number | ... 1 more ... | undef...' is not assignable to type '_DeepPartialObject<{ [key: string]: ScaleOptionsByType; }> | undefined'. Type '{ [x: string]: { type?: "time" | undefined; title?: { display?: boolean | undefined; align?: "center" | "start" | "end" | undefined; text?: string | (string | undefined)[] | undefined; color?: string | ... 2 more ... | undefined; font?: { ...; } | ... 2 more ... | undefined; padding?: number | ... 1 more ... | undef...' is not assignable to type '_DeepPartialObject<{ [key: string]: ScaleOptionsByType; }>'. 'string' index signatures are incompatible. Type '{ type?: "time" | undefined; title?: { display?: boolean | undefined; align?: "center" | "start" | "end" | undefined; text?: string | (string | undefined)[] | undefined; color?: string | { ...; } | { ...; } | undefined; font?: { ...; } | ... 2 more ... | undefined; padding?: number | ... 1 more ... | undefined; } | ...' is not assignable to type '_DeepPartialObject<{ type: "time"; } & Omit & { min: string | number; max: string | number; suggestedMin: string | number; ... 5 more ...; ticks: { ...; }; }> | ... 4 more ... | undefined'. Type '{ type?: "category" | undefined; title?: { display?: boolean | undefined; align?: "center" | "start" | "end" | undefined; text?: string | (string | undefined)[] | undefined; color?: string | { ...; } | { ...; } | undefined; font?: { ...; } | ... 2 more ... | undefined; padding?: number | ... 1 more ... | undefined; ...' is not assignable to type '_DeepPartialObject<{ type: "time"; } & Omit & { min: string | number; max: string | number; suggestedMin: string | number; ... 5 more ...; ticks: { ...; }; }> | ... 4 more ... | undefined'. Type '{ type?: "category" | undefined; title?: { display?: boolean | undefined; align?: "center" | "start" | "end" | undefined; text?: string | (string | undefined)[] | undefined; color?: string | { ...; } | { ...; } | undefined; font?: { ...; } | ... 2 more ... | undefined; padding?: number | ... 1 more ... | undefined; ...' is not assignable to type '_DeepPartialObject<{ type: "category"; } & Omit & { min: string | number; max: string | number; labels: string[] | string[][]; }>'. Types of property 'labels' are incompatible. Type '(string | undefined)[] | ((string | undefined)[] | undefined)[] | undefined' is not assignable to type '_DeepPartialArray | _DeepPartialArray | undefined'. Type '((string | undefined)[] | undefined)[]' is not assignable to type '_DeepPartialArray | _DeepPartialArray | undefined'. Type '((string | undefined)[] | undefined)[]' is not assignable to type '_DeepPartialArray'. Type '(string | undefined)[] | undefined' is not assignable to type 'string | undefined'. Type '(string | undefined)[]' is not assignable to type 'string'. 72 | 73 | function getOptions(opts?: DeepPartial> | undefined): ChartOptions<'line'> { > 74 | return deepmerge(options, opts || {}); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 75 | } 76 | 77 | type ChartDatasetCallback = (value: ChartDataset<'line'>, index: number) => ChartDataset<'line'>; ERROR in resources/scripts/components/server/console/StatBlock.tsx:27:25 TS2322: Type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-svg-core/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition'. 25 |
26 | 27 | icon={icon} | ^^^^ 28 | className={classNames({ 29 | 'text-gray-100': !color || color === 'bg-gray-700', 30 | 'text-gray-50': color && color !== 'bg-gray-700', ERROR in resources/scripts/components/server/databases/DatabaseRow.tsx:144:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 142 | 143 |
> 144 | | ^^^^ 145 |
146 |
147 | ERROR in resources/scripts/components/server/databases/DatabaseRow.tsx:169:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 167 |
168 | 171 | 172 | 175 | 176 |
ERROR in resources/scripts/components/server/features/PIDLimitModalFeature.tsx:62:57 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 60 | <> 61 |
> 62 | | ^^^^ 63 |

Memory or process limit reached...

64 |
65 |

This server has reached the maximum process or memory limit.

ERROR in resources/scripts/components/server/features/PIDLimitModalFeature.tsx:83:57 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 81 | <> 82 |
> 83 | | ^^^^ 84 |

Possible resource limit reached...

85 |
86 |

ERROR in resources/scripts/components/server/files/FileDropdownMenu.tsx:54:26 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 52 | const Row = ({ icon, title, ...props }: RowProps) => ( 53 | > 54 | | ^^^^ 55 | {title} 56 | 57 | ); ERROR in resources/scripts/components/server/files/FileDropdownMenu.tsx:148:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 146 | renderToggle={(onClick) => ( 147 |

> 148 | | ^^^^ 149 | {modal ? ( 150 | modal === 'chmod' ? ( 151 | 21 | import { Editor } from '@monaco-editor/react'; | ^^^^^^^^^^^^^^^^^^^^^^ 22 | import CodemirrorEditor from '@/components/elements/CodemirrorEditor'; 23 | import tw from 'twin.macro'; 24 | /** ERROR in resources/scripts/components/server/files/FileEditContainer.tsx:199:35 TS7006: Parameter 'editor' implicitly has an 'any' type. 197 | language={getLanguageFromFilename(hash.replace(/^#/, ''))} 198 | value={content} > 199 | onMount={(editor) => { | ^^^^^^ 200 | editorRef.current = editor; 201 | }} 202 | /> ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:31:17 TS2322: Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. Type '{}' is not assignable to type 'ReactNode'. 29 | to={`/server/${uuid}/properties`} 30 | > > 31 | {children} | ^^^^^^^^^^ 32 | 33 | ); 34 | } // sagaserverpropertiesui ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:43:13 TS2322: Type 'React.ReactNode' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").ReactNode'. 41 | to={`${match.url}${file.isFile ? '/edit' : ''}#${encodePathSegments(join(directory, file.name))}`} 42 | > > 43 | {children} | ^^^^^^^^^^ 44 | 45 | ); 46 | }, isEqual); ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:62:25 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 60 | {file.isFile ? ( 61 | 62 | icon={file.isSymlink ? faFileImport : file.isArchiveType() ? faFileArchive : faFileAlt} | ^^^^ 63 | /> 64 | ) : ( 65 | ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:65:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 63 | /> 64 | ) : ( > 65 | | ^^^^ 66 | )} 67 |
68 |
{file.name}
ERROR in resources/scripts/components/server/network/AllocationRow.tsx:66:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 64 |
65 |
> 66 | | ^^^^ 67 |
68 |
69 | {allocation.alias ? ( ERROR in resources/scripts/components/server/network/DeleteAllocationButton.tsx:55:23 TS2322: Type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-svg-core/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition'. 53 | onClick={() => setConfirm(true)} 54 | > > 55 | | ^^^^ 56 | 57 | 58 | ); ERROR in resources/scripts/components/server/schedules/ScheduleRow.tsx:12:30 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 10 | <> 11 |
> 12 | | ^^^^ 13 |
14 |
15 |

{schedule.name}

ERROR in resources/scripts/components/server/schedules/ScheduleTaskRow.tsx:107:35 TS2322: Type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-svg-core/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition'. 105 |
106 |
> 107 | | ^^^^ 108 | Continues on Failure 109 |
110 |
ERROR in resources/scripts/components/server/schedules/ScheduleTaskRow.tsx:115:35 TS2322: Type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@fortawesome/fontawesome-svg-core/node_modules/@fortawesome/fontawesome-common-types/index").IconDefinition'. 113 |
114 |
> 115 | | ^^^^ 116 | {task.timeOffset}s later 117 |
118 |
ERROR in resources/scripts/components/server/schedules/ScheduleTaskRow.tsx:127:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 125 | onClick={() => setIsEditing(true)} 126 | > > 127 | | ^^^^ 128 | 129 | 130 | ERROR in resources/scripts/components/server/schedules/ScheduleTaskRow.tsx:137:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 135 | onClick={() => setVisible(true)} 136 | > > 137 | | ^^^^ 138 | 139 | 140 |
ERROR in resources/scripts/components/server/users/RemoveSubuserButton.tsx:55:34 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 53 | onClick={() => setShowConfirmation(true)} 54 | > > 55 | | ^^^^ 56 | 57 | 58 | ); ERROR in resources/scripts/components/server/users/UserRow.tsx:33:25 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 31 |   32 | 33 | icon={subuser.twoFactorEnabled ? faUserLock : faUnlockAlt} | ^^^^ 34 | fixedWidth 35 | css={!subuser.twoFactorEnabled ? tw`text-red-400` : undefined} 36 | /> ERROR in resources/scripts/components/server/users/UserRow.tsx:56:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 54 | onClick={() => setVisible(true)} 55 | > > 56 | | ^^^^ 57 | 58 | 59 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:17:14 TS2786: 'Switch' cannot be used as a JSX component. Its instance type 'Switch' is not a valid JSX element. 15 | return ( 16 |
> 17 | | ^^^^^^ 18 | 19 | 20 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:18:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, `${string}/login`>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, `${string}/login`>' but required in type 'ElementClass'. 16 |
17 | > 18 | | ^^^^^ 19 | 20 | 21 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:19:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, `${string}/login/checkpoint`>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, `${string}/login/checkpoint`>' but required in type 'ElementClass'. 17 | 18 | > 19 | | ^^^^^ 20 | 21 | 22 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:20:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, `${string}/password`>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, `${string}/password`>' but required in type 'ElementClass'. 18 | 19 | > 20 | | ^^^^^ 21 | 22 | 23 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:21:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, `${string}/password/reset/:token`>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, `${string}/password/reset/:token`>' but required in type 'ElementClass'. 19 | 20 | > 21 | | ^^^^^ 22 | 23 | 24 | history.push('/auth/login')} /> ERROR in resources/scripts/routers/AuthenticationRouter.tsx:22:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, `${string}/checkpoint`>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, `${string}/checkpoint`>' but required in type 'ElementClass'. 20 | 21 | > 22 | | ^^^^^ 23 | 24 | history.push('/auth/login')} /> 25 | ERROR in resources/scripts/routers/AuthenticationRouter.tsx:23:18 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, "*">' is not a valid JSX element. 21 | 22 | > 23 | | ^^^^^ 24 | history.push('/auth/login')} /> 25 | 26 | ERROR in resources/scripts/routers/ServerRouter.tsx:74:58 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 72 | // eslint-disable-next-line react/jsx-no-target-blank 73 | > 74 | | ^^^^ 75 | 76 | )} 77 |
ERROR in resources/scripts/TransitionRouter.tsx:8:39 TS2769: No overload matches this call. Overload 1 of 2, '(component: AnyStyledComponent): ThemedStyledFunction', gave the following error. Argument of type 'typeof SwitchTransition' is not assignable to parameter of type 'AnyStyledComponent'. Type 'typeof SwitchTransition' is not assignable to type 'StyledComponent'. Type 'typeof SwitchTransition' is not assignable to type 'string'. Overload 2 of 2, '(component: keyof IntrinsicElements | ComponentType): ThemedStyledFunction, any, {}, never>', gave the following error. Argument of type 'typeof SwitchTransition' is not assignable to parameter of type 'keyof IntrinsicElements | ComponentType'. Type 'typeof SwitchTransition' is not assignable to type 'ComponentClass'. Types of property 'contextType' are incompatible. Type 'React.Context | undefined' is not assignable to type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").Context | undefined'. Property '$$typeof' is missing in type 'React.Context' but required in type 'import("/var/www/pterodactyl/node_modules/@types/react-router/node_modules/@types/react/ts5.0/index").Context'. 6 | import tw from 'twin.macro'; 7 | > 8 | const StyledSwitchTransition = styled(SwitchTransition)` | ^^^^^^^^^^^^^^^^ 9 | ${tw`relative`}; 10 | 11 | & section { ERROR in resources/scripts/TransitionRouter.tsx:18:10 TS2786: 'Route' cannot be used as a JSX component. Its instance type 'Route<{}, string>' is not a valid JSX element. Property 'refs' is missing in type 'Route<{}, string>' but required in type 'ElementClass'. 16 | const TransitionRouter: React.FC = ({ children }) => { 17 | return ( > 18 | ( 20 | 21 | error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 13:55:49 SUCCESS: Blueprint has completed its installation process.