[WARNING] This is an advanced feature, only proceed if you know what you are doing. ██ ██ ██ ████ [INFO] Checking dependencies.. [INFO] Updating folder placeholders.. [INFO] Copying Blueprint logo from assets.. [INFO] Enable maintenance. INFO Application is now in maintenance mode. [INFO] Modifying admin panel css. [INFO] Clearing view cache.. INFO Compiled views cleared successfully. INFO Configuration cache cleared successfully. [INFO] Linking filesystems.. [INFO] Rolling admin cache refresh class name. [INPUT] Do you want to migrate your database? (Y/n) [INFO] Running database migrations.. INFO Nothing to migrate. [INFO] Changing file ownership to www-data.. [INFO] Removing placeholder files.. [INFO] Rebuilding panel assets.. yarn run v1.22.19 $ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production $ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete warn - As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default. warn - Remove it from the `plugins` array in your configuration to eliminate this warning. Hash: 351e5a43f192d4686775 Version: webpack 4.47.0 Time: 26512ms Built at: 10/24/2023 2:20:59 PM 15 assets Entrypoint main = bundle.d67bc8e8.js [11] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {5} [built] | 3 modules [19] ./resources/scripts/api/http.ts 3.89 KiB {5} [built] [20] ./resources/scripts/state/index.ts + 7 modules 4.76 KiB {5} [built] | ./resources/scripts/state/index.ts 359 bytes [built] | ./resources/scripts/state/flashes.ts 1.55 KiB [built] | ./resources/scripts/state/user.ts 1.39 KiB [built] | ./resources/scripts/state/permissions.ts 393 bytes [built] | ./resources/scripts/state/settings.ts 177 bytes [built] | ./resources/scripts/state/progress.ts 407 bytes [built] | ./resources/scripts/api/account/updateAccountEmail.ts 239 bytes [built] | ./resources/scripts/api/getSystemPermissions.ts 277 bytes [built] [34] ./resources/scripts/helpers.ts 1.08 KiB {5} [built] [40] ./node_modules/react-transition-group/esm/index.js + 4 modules 22.6 KiB {5} [built] | 5 modules [51] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/assets/tailwind.css 50.9 KiB {5} [built] [52] ./node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js + 1 modules 4.52 KiB {5} [built] | 2 modules [53] ./resources/scripts/state/server/index.ts + 5 modules 5.82 KiB {5} [built] | ./resources/scripts/state/server/index.ts 2.37 KiB [built] | ./resources/scripts/state/server/socket.ts 284 bytes [built] | ./resources/scripts/state/server/files.ts 1.45 KiB [built] | ./resources/scripts/state/server/subusers.ts 574 bytes [built] | ./resources/scripts/state/server/schedules.ts 584 bytes [built] | ./resources/scripts/state/server/databases.ts 584 bytes [built] [56] ./node_modules/@fortawesome/react-fontawesome/index.es.js + 1 modules 120 KiB {5} [built] | 2 modules [84] ./node_modules/react-i18next/dist/es/index.js + 11 modules 33.7 KiB {5} [built] | 12 modules [98] multi react-hot-loader/patch ./resources/scripts/index.tsx 40 bytes {5} [built] [146] ./resources/scripts/index.tsx + 14 modules 121 KiB {5} [built] | ./resources/scripts/index.tsx 543 bytes [built] | ./resources/scripts/i18n.ts 1.08 KiB [built] | ./resources/scripts/assets/css/GlobalStylesheet.ts 1.94 KiB [built] | ./resources/scripts/api/interceptors.ts 769 bytes [built] | ./resources/scripts/assets/tailwind.css 410 bytes [built] | + 10 hidden modules [453] ./resources/scripts/routers/AuthenticationRouter.tsx + 10 modules 33.2 KiB {3} [built] | ./resources/scripts/routers/AuthenticationRouter.tsx 1.52 KiB [built] | ./resources/scripts/api/auth/login.ts 747 bytes [built] | ./resources/scripts/api/auth/requestPasswordResetEmail.ts 295 bytes [built] | ./resources/scripts/api/auth/performPasswordReset.ts 432 bytes [built] | ./resources/scripts/api/auth/loginCheckpoint.ts 493 bytes [built] | + 6 hidden modules [455] ./resources/scripts/routers/ServerRouter.tsx + 8 modules 22.1 KiB {6} [built] | ./resources/scripts/routers/ServerRouter.tsx 5.25 KiB [built] | ./resources/scripts/plugins/Websocket.ts 2.97 KiB [built] | ./resources/scripts/api/server/getWebsocketToken.ts 344 bytes [built] | + 6 hidden modules [457] ./resources/scripts/routers/DashboardRouter.tsx + 3 modules 21.3 KiB {4} [built] | ./resources/scripts/routers/DashboardRouter.tsx 1.92 KiB [built] | ./resources/scripts/api/server/getServerResourceUsage.ts 757 bytes [built] | + 2 hidden modules + 443 hidden modules ERROR in resources/scripts/components/App.tsx:62:14 TS2786: 'StoreProvider' cannot be used as a JSX component. Its instance type 'StoreProvider' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. 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'. 60 | <> 61 | > 62 | | ^^^^^^^^^^^^^ 63 | 64 |
65 | ERROR in resources/scripts/components/auth/ForgotPasswordContainer.tsx:91:26 TS2786: 'Reaptcha' cannot be used as a JSX component. Its instance type 'Reaptcha' is not a valid JSX element. 89 |
90 | {recaptchaEnabled && ( > 91 | | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 108 | 109 | return ( > 110 | | ^^^^^^^^^^^^ 111 | ); 112 | }; 113 | ERROR in resources/scripts/components/auth/LoginContainer.tsx:88:26 TS2786: 'Reaptcha' cannot be used as a JSX component. Its instance type 'Reaptcha' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. Type 'string | number | boolean | ReactFragment | Element | null | undefined' is not assignable to type 'ReactNode'. Type '{}' is not assignable to type 'ReactNode'. 86 | 87 | {recaptchaEnabled && ( > 88 | 0 && tw`mt-2`]} 71 | > > 72 | | ^^^^ 73 |
74 |

{key.description}

75 |

ERROR in resources/scripts/components/dashboard/AccountApiContainer.tsx:85:41 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 83 | ERROR in resources/scripts/components/dashboard/forms/CreateApiKeyForm.tsx:49:14 TS2786: 'ApiKeyModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 47 | return ( 48 | <> > 49 | 0} onModalDismissed={() => setApiKey('')} apiKey={apiKey} /> | ^^^^^^^^^^^ 50 | ' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. 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'. 66 | 67 | ) : ( > 68 | | ^^^^^^ 69 | )} 70 |

71 | 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:95:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 93 |
94 |
> 95 | | ^^^^ 96 |
97 |
98 |

{server.name}

ERROR in resources/scripts/components/dashboard/ServerRow.tsx:106:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 104 |
105 |
> 106 | | ^^^^ 107 |

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

144 |
> 145 | | ^^^^ 146 | 147 | {stats.cpuUsagePercent.toFixed(2)} % 148 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:154:39 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 152 |
153 |
> 154 | | ^^^^ 155 | 156 | {bytesToString(stats.memoryUsageInBytes)} 157 | ERROR in resources/scripts/components/dashboard/ServerRow.tsx:163:39 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 161 |
162 |
> 163 | | ^^^^ 164 | 165 | {bytesToString(stats.diskUsageInBytes)} 166 | ERROR in resources/scripts/components/dashboard/ssh/AccountSSHContainer.tsx:46:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 44 | css={[tw`bg-neutral-600 flex space-x-4 items-center`, index > 0 && tw`mt-2`]} 45 | > > 46 | | ^^^^ 47 |
48 |

{key.name}

49 |

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:11:13 TS2769: No overload matches this call. Overload 1 of 2, '(props: (RouteProps & OmitNative<{}, keyof RouteProps>) | Readonly<...>): Route<...>', gave the following error. Type '({ location }: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => string | number | boolean | Element | Iterable | ((props: RouteChildrenProps<...>) => ReactNode) | null | undefined' is not assignable to type '(props: RouteComponentProps<{ [x: string]: string | undefined; }, StaticContext, unknown>) => ReactNode'. Type 'string | number | boolean | Element | Iterable | ((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 | boolean | Element | Iterable | ((props: RouteChildrenProps<...>) => ReactNode) | null | 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/CopyOnClick.tsx:35:15 TS2769: No overload matches this call. The last overload gave the following error. Argument of type '{ className: string; onClick: (e: React.MouseEvent) => 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' is not assignable to type 'Ref | undefined'. Type '(instance: (ComponentMenu & { Button: ComponentMenuButton; Items: ComponentMenuItems; Item: ComponentMenuItem; }) | null) => void' is not assignable to type 'Ref | undefined'. Type '(instance: (ComponentMenu & { Button: ComponentMenuButton; Items: ComponentMenuItems; Item: 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 '(ComponentMenu & { Button: ComponentMenuButton; Items: ComponentMenuItems; Item: ComponentMenuItem; }) | null'. Type 'HTMLElement' is not assignable to type 'ComponentMenu & { Button: ComponentMenuButton; Items: ComponentMenuItems; Item: ComponentMenuItem; }'. Property 'displayName' is missing in type 'HTMLElement' but required in type '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/Fade.tsx:41:13 TS2769: No overload matches this call. Overload 1 of 2, '(props: CSSTransitionProps | Readonly>): CSSTransition<...>', gave the following error. Type 'ReactNode' is not assignable to type 'TransitionChildren'. Type '{}' is not assignable to type 'TransitionChildren'. Overload 2 of 2, '(props: CSSTransitionProps, context: any): CSSTransition', gave the following error. Type 'ReactNode' is not assignable to type 'TransitionChildren'. 39 | 40 | > 41 | {children} | ^^^^^^^^^^ 42 | 43 | 44 | ); 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/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:62:10 TS2786: 'ErrorBoundary' cannot be used as a JSX component. Its instance type 'ErrorBoundary' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. 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'. 60 | Spinner.Suspense = ({ children, centered = true, size = Spinner.Size.LARGE, ...props }) => ( 61 | }> > 62 | {children} | ^^^^^^^^^^^^^ 63 | 64 | ); 65 | Spinner.Suspense.displayName = 'Spinner.Suspense'; ERROR in resources/scripts/components/elements/Translate.tsx:4:19 TS2707: Generic type 'TransProps' requires between 1 and 4 type arguments. 2 | import { Trans, TransProps, useTranslation } from 'react-i18next'; 3 | > 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:66:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 64 | 65 | > 66 | | ^^^^ 67 | 68 | 69 | {rootAdmin && ( ERROR in resources/scripts/components/NavigationBar.tsx:72:50 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 70 | 71 | > 72 | | ^^^^ 73 | 74 | 75 | )} ERROR in resources/scripts/components/NavigationBar.tsx:85:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 83 | 84 | 87 | 88 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:172:46 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 170 | css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`} 171 | > > 172 | | ^^^^ 173 | 174 | )} 175 | > ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:179:61 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 177 | 178 | > 179 | | ^^^^ 180 | Download 181 | 182 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:185:61 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 183 | 184 | setModal('restore')}> > 185 | | ^^^^ 186 | Restore 187 | 188 | ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:194:41 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 192 | 194 | icon={backup.isLocked ? faUnlock : faLock} | ^^^^ 195 | css={tw`text-xs mr-2`} 196 | /> 197 | {backup.isLocked ? 'Unlock' : 'Lock'} ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:201:69 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 199 | {!backup.isLocked && ( 200 | setModal('delete')}> > 201 | | ^^^^ 202 | Delete 203 | 204 | )} ERROR in resources/scripts/components/server/backups/BackupContextMenu.tsx:214:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 212 | css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`} 213 | > > 214 | | ^^^^ 215 | 216 | )} 217 | 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" | "end" | "start" | 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" | "end" | "start" | 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" | "end" | "start" | 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" | "end" | "start" | 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" | "end" | "start" | 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/Features.tsx:17:18 TS2786: 'Component' cannot be used as a JSX component. Its element type 'ReactElement | Component<{}, any, any> | null' is not a valid JSX element. Type 'Component<{}, any, any>' is not assignable to type 'Element | ElementClass | null'. Type 'Component<{}, any, any>' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 15 | 16 | {mapped.map(([key, Component]) => ( > 17 | | ^^^^^^^^^ 18 | ))} 19 | 20 | ); 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:52:26 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 50 | const Row = ({ icon, title, ...props }: RowProps) => ( 51 | > 52 | | ^^^^ 53 | {title} 54 | 55 | ); ERROR in resources/scripts/components/server/files/FileDropdownMenu.tsx:146:42 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 144 | renderToggle={(onClick) => ( 145 |

> 146 | | ^^^^ 147 | {modal ? ( 148 | modal === 'chmod' ? ( 149 | 88 | > 89 | | ^^^^^^^^^^^^^ 90 |
91 | 92 |
ERROR in resources/scripts/components/server/files/FileManagerContainer.tsx:64:14 TS2786: 'ErrorBoundary' cannot be used as a JSX component. Its instance type 'ErrorBoundary' is not a valid JSX element. 62 | return ( 63 | > 64 | | ^^^^^^^^^^^^^ 65 |
66 | > 32 | {children} | ^^^^^^^^^^ 33 | 34 | ); 35 | }, isEqual); ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:51:25 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 49 | {file.isFile ? ( 50 | 51 | icon={file.isSymlink ? faFileImport : file.isArchiveType() ? faFileArchive : faFileAlt} | ^^^^ 52 | /> 53 | ) : ( 54 | ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:54:38 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 52 | /> 53 | ) : ( > 54 | | ^^^^ 55 | )} 56 |
57 |
{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/NewTaskButton.tsx:15:14 TS2786: 'TaskDetailsModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 13 | return ( 14 | <> > 15 | setVisible(false)} /> | ^^^^^^^^^^^^^^^^ 16 | ERROR in resources/scripts/components/server/schedules/ScheduleContainer.tsx:69:30 TS2786: 'EditScheduleModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 67 | 68 |
> 69 | setVisible(false)} /> | ^^^^^^^^^^^^^^^^^ 70 | ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:155:22 TS2786: 'EditScheduleModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. 153 |
154 |
> 155 | | ^^^^^^^^^^^^^^^^^ 156 |
157 | 158 | 11 |
> 12 | | ^^^^ 13 |
14 |
15 |

{schedule.name}

ERROR in resources/scripts/components/server/schedules/ScheduleTaskRow.tsx:72:14 TS2786: 'TaskDetailsModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. 70 |
71 | > 72 | | Component | null' is not a valid JSX element. 76 | onModalDismissed={() => setIsEditing(false)} 77 | /> > 78 | 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/AddSubuserButton.tsx:10:14 TS2786: 'EditSubuserModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 8 | return ( 9 | <> > 10 | setVisible(false)} /> | ^^^^^^^^^^^^^^^^ 11 | 12 | 13 | ); ERROR in resources/scripts/components/server/users/RemoveSubuserButton.tsx:38:14 TS2786: 'ConfirmationModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 36 | return ( 37 | <> > 38 | setShowConfirmation(true)} 54 | > > 55 | | ^^^^ 56 | 57 | 58 | ); ERROR in resources/scripts/components/server/users/UserRow.tsx:22:14 TS2786: 'EditSubuserModal' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. 20 | return ( 21 | > 22 | setVisible(false)} /> | ^^^^^^^^^^^^^^^^ 23 | 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/hoc/asDialog.tsx:15:26 TS2786: 'Component' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 13 | 14 | > 15 | )} /> | ^^^^^^^^^ 16 | 17 | 18 | ); ERROR in resources/scripts/hoc/asModal.tsx:92:30 TS2786: 'Component' cannot be used as a JSX component. Its element type 'ReactElement | Component | null' is not a valid JSX element. Type 'Component' is not assignable to type 'Element | ElementClass | null'. Type 'Component' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. 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'. 90 | }} 91 | > > 92 | | ^^^^^^^^^ 93 | 94 | 95 | ); ERROR in resources/scripts/routers/DashboardRouter.tsx:39:34 TS2786: 'Component' cannot be used as a JSX component. Its element type 'ReactElement | Component<{}, any, any> | null' is not a valid JSX element. 37 | {routes.account.map(({ path, component: Component }) => ( 38 | > 39 | | ^^^^^^^^^ 40 | 41 | ))} 42 | ERROR in resources/scripts/routers/ServerRouter.tsx:97:58 TS2322: Type 'IconDefinition' is not assignable to type 'IconProp'. 95 | // eslint-disable-next-line react/jsx-no-target-blank 96 | > 97 | | ^^^^ 98 | 99 | )} 100 |
ERROR in resources/scripts/routers/ServerRouter.tsx:109:26 TS2786: 'ErrorBoundary' cannot be used as a JSX component. Its instance type 'ErrorBoundary' is not a valid JSX element. 107 | 108 | ) : ( > 109 | | ^^^^^^^^^^^^^ 110 | 111 | 112 | {routes.server.map(({ path, permission, component: Component }) => ( ERROR in resources/scripts/routers/ServerRouter.tsx:115:50 TS2786: 'Component' cannot be used as a JSX component. Its element type 'ReactElement | Component<{}, any, any> | null' is not a valid JSX element. 113 | 114 | > 115 | | ^^^^^^^^^ 116 | 117 | 118 | ))} error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [INFO] Updating route cache to include recent changes.. [INFO] Disable maintenance. INFO Application is now live. [INFO] Blueprint is completely open source and free. Please consider supporting us on "ptero.shop/donate". [SUCCESS] Blueprint should now be installed. If something didn't work as expected, please let us know at ptero.shop/issue.