ERROR in resources/scripts/components/server/console/PopoutConsoleContainer.tsx:149:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 147 | 148 | const PopoutConsole = () => { > 149 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 150 | const pteroxSettings: { [name: string]: any } = {}; 151 | try { 152 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/components/server/MainServerButton.tsx:19:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 17 | 18 | export default () => { > 19 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 20 | const pteroxSettings: { [name: string]: any } = {}; 21 | try { 22 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/components/server/MainServerButton.tsx:38:78 TS2339: Property 'nestId' does not exist on type 'Server'. 36 | const status = ServerContext.useStoreState((state) => state.status.value); 37 | const instance = ServerContext.useStoreState((state) => state.socket.instance); > 38 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId); | ^^^^^^ 39 | 40 | const killable = status === 'stopping'; 41 | const onButtonClick = ( ERROR in resources/scripts/components/server/MainServerButton.tsx:336:30 TS2739: Type '{ children: Element; copyOnClick: string; }' is missing the following properties from type 'StatBlockProps': title, icon 334 | 335 | > 336 | | ^^^^^^^^^ 337 |
338 | {pteroxSettings["iphider"].value === 'No' || pteroxSettings["iphider"].value === 'no' ? 339 | <> ERROR in resources/scripts/components/server/MainServerButton.tsx:368:34 TS2739: Type '{ children: string | undefined; copyOnClick: string | undefined; }' is missing the following properties from type 'StatBlockProps': title, icon 366 | <> 367 | > 368 | | ^^^^^^^^^ 369 | {id} 370 | 371 | ERROR in resources/scripts/components/server/MainServerButton.tsx:376:34 TS2739: Type '{ children: string | undefined; copyOnClick: string | undefined; }' is missing the following properties from type 'StatBlockProps': title, icon 374 | <> 375 |
> 376 | | ^^^^^^^^^ 377 | {id} 378 | 379 |
ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:2:24 TS2307: Cannot find module '@mui/material/styles' or its corresponding type declarations. 1 | import * as React from 'react'; > 2 | import { styled } from '@mui/material/styles'; | ^^^^^^^^^^^^^^^^^^^^^^ 3 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; 4 | import Cookies from 'js-cookie'; 5 | import Button from '@mui/material/Button'; ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:3:55 TS2307: Cannot find module '@mui/material/Tooltip' or its corresponding type declarations. 1 | import * as React from 'react'; 2 | import { styled } from '@mui/material/styles'; > 3 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; | ^^^^^^^^^^^^^^^^^^^^^^^ 4 | import Cookies from 'js-cookie'; 5 | import Button from '@mui/material/Button'; 6 | import Menu, { MenuProps } from '@mui/material/Menu'; ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:4:21 TS2307: Cannot find module 'js-cookie' or its corresponding type declarations. 2 | import { styled } from '@mui/material/styles'; 3 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; > 4 | import Cookies from 'js-cookie'; | ^^^^^^^^^^^ 5 | import Button from '@mui/material/Button'; 6 | import Menu, { MenuProps } from '@mui/material/Menu'; 7 | import MenuItem from '@mui/material/MenuItem'; ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:5:20 TS2307: Cannot find module '@mui/material/Button' or its corresponding type declarations. 3 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; 4 | import Cookies from 'js-cookie'; > 5 | import Button from '@mui/material/Button'; | ^^^^^^^^^^^^^^^^^^^^^^ 6 | import Menu, { MenuProps } from '@mui/material/Menu'; 7 | import MenuItem from '@mui/material/MenuItem'; 8 | import Divider from '@mui/material/Divider'; ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:6:33 TS2307: Cannot find module '@mui/material/Menu' or its corresponding type declarations. 4 | import Cookies from 'js-cookie'; 5 | import Button from '@mui/material/Button'; > 6 | import Menu, { MenuProps } from '@mui/material/Menu'; | ^^^^^^^^^^^^^^^^^^^^ 7 | import MenuItem from '@mui/material/MenuItem'; 8 | import Divider from '@mui/material/Divider'; 9 | import { HiOutlineColorSwatch } from 'react-icons/hi'; ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:7:22 TS2307: Cannot find module '@mui/material/MenuItem' or its corresponding type declarations. 5 | import Button from '@mui/material/Button'; 6 | import Menu, { MenuProps } from '@mui/material/Menu'; > 7 | import MenuItem from '@mui/material/MenuItem'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import Divider from '@mui/material/Divider'; 9 | import { HiOutlineColorSwatch } from 'react-icons/hi'; 10 | const StyledMenu = styled((props: MenuProps) => ( ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:8:21 TS2307: Cannot find module '@mui/material/Divider' or its corresponding type declarations. 6 | import Menu, { MenuProps } from '@mui/material/Menu'; 7 | import MenuItem from '@mui/material/MenuItem'; > 8 | import Divider from '@mui/material/Divider'; | ^^^^^^^^^^^^^^^^^^^^^^^ 9 | import { HiOutlineColorSwatch } from 'react-icons/hi'; 10 | const StyledMenu = styled((props: MenuProps) => ( 11 | 9 | import { HiOutlineColorSwatch } from 'react-icons/hi'; | ^^^^^^^^^^^^^^^^ 10 | const StyledMenu = styled((props: MenuProps) => ( 11 | > 23 | ))(({ theme }) => ({ | ^^^^^ 24 | '& .MuiPaper-root': { 25 | borderRadius: 6, 26 | backgroundColor: "var(--ptx-secondary)", ERROR in resources/scripts/pterox/components/elements/ColorMode.tsx:44:7 TS7031: Binding element 'theme' implicitly has an 'any' type. 42 | const LightTooltip = styled(({ className, ...props }: TooltipProps) => ( 43 | > 44 | ))(({ theme }) => ({ | ^^^^^ 45 | [`& .${tooltipClasses.tooltip}`]: { 46 | backgroundColor: 'var(--wp-background)', 47 | color: 'var(--wp-textcolor)', ERROR in resources/scripts/pterox/components/NavigationBar.tsx:11:55 TS2307: Cannot find module '@mui/material/Tooltip' or its corresponding type declarations. 9 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 10 | import ColorMode from '@/pterox/components/elements/ColorMode'; > 11 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; | ^^^^^^^^^^^^^^^^^^^^^^^ 12 | import styled1 from 'styled-components/macro'; 13 | import { styled } from '@mui/material/styles'; 14 | import Md5 from 'md5'; ERROR in resources/scripts/pterox/components/NavigationBar.tsx:13:24 TS2307: Cannot find module '@mui/material/styles' or its corresponding type declarations. 11 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; 12 | import styled1 from 'styled-components/macro'; > 13 | import { styled } from '@mui/material/styles'; | ^^^^^^^^^^^^^^^^^^^^^^ 14 | import Md5 from 'md5'; 15 | import Cookies from 'js-cookie'; 16 | import { IconContext } from "react-icons"; ERROR in resources/scripts/pterox/components/NavigationBar.tsx:14:17 TS2307: Cannot find module 'md5' or its corresponding type declarations. 12 | import styled1 from 'styled-components/macro'; 13 | import { styled } from '@mui/material/styles'; > 14 | import Md5 from 'md5'; | ^^^^^ 15 | import Cookies from 'js-cookie'; 16 | import { IconContext } from "react-icons"; 17 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; ERROR in resources/scripts/pterox/components/NavigationBar.tsx:15:21 TS2307: Cannot find module 'js-cookie' or its corresponding type declarations. 13 | import { styled } from '@mui/material/styles'; 14 | import Md5 from 'md5'; > 15 | import Cookies from 'js-cookie'; | ^^^^^^^^^^^ 16 | import { IconContext } from "react-icons"; 17 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; 18 | ERROR in resources/scripts/pterox/components/NavigationBar.tsx:16:29 TS2307: Cannot find module 'react-icons' or its corresponding type declarations. 14 | import Md5 from 'md5'; 15 | import Cookies from 'js-cookie'; > 16 | import { IconContext } from "react-icons"; | ^^^^^^^^^^^^^ 17 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; 18 | 19 | ERROR in resources/scripts/pterox/components/NavigationBar.tsx:17:36 TS2307: Cannot find module 'react-icons/hi' or its corresponding type declarations. 15 | import Cookies from 'js-cookie'; 16 | import { IconContext } from "react-icons"; > 17 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; | ^^^^^^^^^^^^^^^^ 18 | 19 | 20 | const LightTooltip = styled(({ className, ...props }: TooltipProps) => ( ERROR in resources/scripts/pterox/components/NavigationBar.tsx:22:7 TS7031: Binding element 'theme' implicitly has an 'any' type. 20 | const LightTooltip = styled(({ className, ...props }: TooltipProps) => ( 21 | > 22 | ))(({ theme }) => ({ | ^^^^^ 23 | [`& .${tooltipClasses.tooltip}`]: { 24 | backgroundColor: 'var(--ptx-primary)', 25 | color: 'var(--ptx-text)', ERROR in resources/scripts/pterox/components/NavigationBar.tsx:448:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 446 | 447 | export default () => { > 448 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 449 | const pteroxSettings: { [name: string]: any } = {}; 450 | try { 451 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:12:55 TS2307: Cannot find module '@mui/material/Tooltip' or its corresponding type declarations. 10 | import ColorMode from '@/pterox/components/elements/ColorMode'; 11 | import { useLocation } from 'react-router-dom'; > 12 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; | ^^^^^^^^^^^^^^^^^^^^^^^ 13 | import styled1 from 'styled-components/macro'; 14 | import { styled } from '@mui/material/styles'; 15 | import routes from '@/routers/routes'; ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:14:24 TS2307: Cannot find module '@mui/material/styles' or its corresponding type declarations. 12 | import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip'; 13 | import styled1 from 'styled-components/macro'; > 14 | import { styled } from '@mui/material/styles'; | ^^^^^^^^^^^^^^^^^^^^^^ 15 | import routes from '@/routers/routes'; 16 | import Can from '@/components/elements/Can'; 17 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:18:17 TS2307: Cannot find module 'md5' or its corresponding type declarations. 16 | import Can from '@/components/elements/Can'; 17 | import { ServerContext } from '@/state/server'; > 18 | import Md5 from 'md5'; | ^^^^^ 19 | import { httpErrorToHuman } from '@/api/http'; 20 | import { IconContext } from "react-icons"; 21 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:20:29 TS2307: Cannot find module 'react-icons' or its corresponding type declarations. 18 | import Md5 from 'md5'; 19 | import { httpErrorToHuman } from '@/api/http'; > 20 | import { IconContext } from "react-icons"; | ^^^^^^^^^^^^^ 21 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; 22 | import Cookies from 'js-cookie'; 23 | ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:21:36 TS2307: Cannot find module 'react-icons/hi' or its corresponding type declarations. 19 | import { httpErrorToHuman } from '@/api/http'; 20 | import { IconContext } from "react-icons"; > 21 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; | ^^^^^^^^^^^^^^^^ 22 | import Cookies from 'js-cookie'; 23 | 24 | interface Props { ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:22:21 TS2307: Cannot find module 'js-cookie' or its corresponding type declarations. 20 | import { IconContext } from "react-icons"; 21 | import { HiMenuAlt1, HiMenu } from "react-icons/hi"; > 22 | import Cookies from 'js-cookie'; | ^^^^^^^^^^^ 23 | 24 | interface Props { 25 | route: any; ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:37:7 TS7031: Binding element 'theme' implicitly has an 'any' type. 35 | const LightTooltip = styled(({ className, ...props }: TooltipProps) => ( 36 | > 37 | ))(({ theme }) => ({ | ^^^^^ 38 | [`& .${tooltipClasses.tooltip}`]: { 39 | backgroundColor: 'var(--ptx-primary)', 40 | color: 'var(--ptx-text)', ERROR in resources/scripts/pterox/components/NavigationBarServerRoute.tsx:476:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 474 | 475 | export default () => { > 476 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 477 | const pteroxSettings: { [name: string]: any } = {}; 478 | try { 479 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/pterox/Loading.tsx:7:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 5 | 6 | export default () => { > 7 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 8 | const pteroxSettings: { [name: string]: any } = {}; 9 | try { 10 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/pterox/Login.tsx:7:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 5 | 6 | export default () => { > 7 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 8 | const pteroxSettings: { [name: string]: any } = {}; 9 | try { 10 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/pterox/Logo.tsx:7:96 TS2339: Property 'pterox_settings' does not exist on type 'SiteSettings'. 5 | 6 | export default () => { > 7 | const pteroxSettingsJSON = useStoreState((state: ApplicationStore) => state.settings.data!.pterox_settings); | ^^^^^^^^^^^^^^^ 8 | const pteroxSettings: { [name: string]: any } = {}; 9 | try { 10 | const settings: any[] = JSON.parse(pteroxSettingsJSON); ERROR in resources/scripts/routers/ServerElements.tsx:19:78 TS2339: Property 'nestId' does not exist on type 'Server'. 17 | const match = useRouteMatch<{ id: string }>(); 18 | > 19 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId); | ^^^^^^ 20 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId); 21 | 22 | const to = (value: string, url = false) => { ERROR in resources/scripts/routers/ServerElements.tsx:20:77 TS2339: Property 'eggId' does not exist on type 'Server'. 18 | 19 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId); > 20 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId); | ^^^^^ 21 | 22 | const to = (value: string, url = false) => { 23 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`; ERROR in resources/scripts/routers/ServerElements.tsx:63:84 TS2339: Property 'nestId' does not exist on type 'Server'. 61 | const location = useLocation(); 62 | > 63 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId); | ^^^^^^ 64 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId); 65 | 66 | const to = (value: string, url = false) => { ERROR in resources/scripts/routers/ServerElements.tsx:64:83 TS2339: Property 'eggId' does not exist on type 'Server'. 62 | 63 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId); > 64 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId); | ^^^^^ 65 | 66 | const to = (value: string, url = false) => { 67 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`; ERROR in resources/scripts/routers/ServerElements.tsx:74:83 TS2339: Property 'nestIds' does not exist on type 'ServerRouteDefinition'. 72 | 73 | > 74 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => { | ^^^^^^^ 75 | return ( 76 | ((nestIds && nestIds.includes(serverNestId ?? 0)) || 77 | (eggIds && eggIds.includes(serverEggId ?? 0)) || ERROR in resources/scripts/routers/ServerElements.tsx:74:92 TS2339: Property 'eggIds' does not exist on type 'ServerRouteDefinition'. 72 | 73 | > 74 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => { | ^^^^^^ 75 | return ( 76 | ((nestIds && nestIds.includes(serverNestId ?? 0)) || 77 | (eggIds && eggIds.includes(serverEggId ?? 0)) || ERROR in resources/scripts/routers/ServerElements.tsx:74:100 TS2339: Property 'nestId' does not exist on type 'ServerRouteDefinition'. 72 | 73 | > 74 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => { | ^^^^^^ 75 | return ( 76 | ((nestIds && nestIds.includes(serverNestId ?? 0)) || 77 | (eggIds && eggIds.includes(serverEggId ?? 0)) || ERROR in resources/scripts/routers/ServerElements.tsx:74:108 TS2339: Property 'eggId' does not exist on type 'ServerRouteDefinition'. 72 | 73 | > 74 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => { | ^^^^^ 75 | return ( 76 | ((nestIds && nestIds.includes(serverNestId ?? 0)) || 77 | (eggIds && eggIds.includes(serverEggId ?? 0)) || error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 23:35:14 INFO: Linking filesystems.. 23:35:14 INFO: Flushing view, config and route cache.. 23:35:15 INFO: Changing Pterodactyl file ownership to 'www-data:www-data'.. 23:35:15 SUCCESS: darkenate has been installed. root@fluxlux-hosting:/var/www/pterodactyl#