Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@vmi2221039:/var/www/pterodactyl# blueprint -rerun-install
- 18:51:12 WARNING: This is an advanced feature, only proceed if you know what you are doing.
- ██▌▌▌ Blueprint Framework
- ██ ██▌▌▌ https://blueprint.zip
- ████▌▌▌ © 2023-2024 Emma (prpl.wtf)
- 18:51:12 INFO: Searching and validating framework dependencies..
- 18:51:12 INFO: Placing Blueprint command shortcut..
- 18:51:12 INFO: Linking directories and filesystems..
- 18:51:12 INPUT: Would you like to put your application into maintenance while Blueprint is installing? (Y/n)
- Y
- 18:51:15 INFO: Put application into maintenance mode.
- 18:51:15 INFO: Flushing cache..
- 18:51:17 INFO: Running database migrations..
- INFO Nothing to migrate.
- 18:51:17 INFO: Seeding Blueprint database records..
- 18:51:17 INFO: Changing Pterodactyl file ownership to 'www-data:www-data'..
- 18:51:18 INFO: Rebuilding panel assets..
- yarn run v1.22.22
- $ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production --progress
- $ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete
- 10% building 1/2 modules 1 active /var/www/pterodactyl/node_modules/babel-loader/lib/index.js!/var/www/pterodactyl/resources/scripts/index.tsxBrowserslist: caniuse-lite is outdated. Please run:
- npx update-browserslist-db@latest
- Why you should do it regularly: https://github.com/browserslist/update-db#readme
- Hash: 239192c80de571563343
- Version: webpack 4.43.0
- Time: 27127ms
- Built at: 06/21/2025 6:51:46 PM
- 15 assets
- Entrypoint main = bundle.ad42d4b2.js
- [12] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {5} [built]
- | 3 modules
- [15] ./node_modules/react-router/esm/react-router.js + 1 modules 29.2 KiB {5} [built]
- | 2 modules
- [17] ./resources/scripts/api/http.ts 4.07 KiB {5} [built]
- [18] ./resources/scripts/state/index.ts + 7 modules 5.07 KiB {5} [built]
- | ./resources/scripts/state/index.ts 359 bytes [built]
- | ./resources/scripts/state/flashes.ts 1.7 KiB [built]
- | ./resources/scripts/state/user.ts 1.54 KiB [built]
- | ./resources/scripts/state/permissions.ts 393 bytes [built]
- | ./resources/scripts/state/settings.ts 177 bytes [built]
- | ./resources/scripts/state/progress.ts 408 bytes [built]
- | ./resources/scripts/api/account/updateAccountEmail.ts 239 bytes [built]
- | ./resources/scripts/api/getSystemPermissions.ts 277 bytes [built]
- [29] ./resources/scripts/helpers.ts 1.08 KiB {5} [built]
- [37] ./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 64.8 KiB {5} [built]
- [52] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/blueprint/css/extensions.css 426 bytes {5} [built]
- [53] ./resources/scripts/state/server/index.ts + 5 modules 5.83 KiB {5} [built]
- | ./resources/scripts/state/server/index.ts 2.38 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 575 bytes [built]
- | ./resources/scripts/state/server/schedules.ts 584 bytes [built]
- | ./resources/scripts/state/server/databases.ts 584 bytes [built]
- [82] ./node_modules/react-i18next/dist/es/index.js + 9 modules 30.2 KiB {5} [built]
- | 10 modules
- [98] multi react-hot-loader/patch ./resources/scripts/index.tsx 40 bytes {5} [built]
- [152] ./resources/scripts/index.tsx + 23 modules 122 KiB {5} [built]
- | ./resources/scripts/index.tsx 584 bytes [built]
- | ./resources/scripts/blueprint/css/extensions.css 421 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 772 bytes [built]
- | ./resources/scripts/assets/tailwind.css 410 bytes [built]
- | + 18 hidden modules
- [420] ./resources/scripts/routers/AuthenticationRouter.tsx + 13 modules 58.1 KiB {3} [built]
- | ./resources/scripts/routers/AuthenticationRouter.tsx 1.57 KiB [built]
- | ./resources/scripts/api/auth/login.ts 748 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]
- | ./resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx 25.1 KiB [built]
- | ./resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx 2.04 KiB [built]
- | + 7 hidden modules
- [421] ./resources/scripts/routers/DashboardRouter.tsx + 12 modules 25.7 KiB {4} [built]
- | ./resources/scripts/routers/DashboardRouter.tsx 1.22 KiB [built]
- | ./resources/scripts/blueprint/extends/routers/DashboardRouter.tsx 2.74 KiB [built]
- | ./resources/scripts/api/server/getServerResourceUsage.ts 767 bytes [built]
- | + 10 hidden modules
- [423] ./resources/scripts/routers/ServerRouter.tsx + 9 modules 24.8 KiB {6} [built]
- | ./resources/scripts/routers/ServerRouter.tsx 3.91 KiB [built]
- | ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx 6.29 KiB [built]
- | ./resources/scripts/plugins/Websocket.ts 2.46 KiB [built]
- | ./resources/scripts/api/server/getWebsocketToken.ts 354 bytes [built]
- | + 6 hidden modules
- + 410 hidden modules
- ERROR in resources/scripts/components/dashboard/forms/AppearanceWrapper.tsx:21:96
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 19 | });
- 20 |
- > 21 | const modeToggler = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler));
- | ^^^^
- 22 | const langSwitch = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.langSwitch));
- 23 | const defaultMode = useStoreState((state: ApplicationStore) => state.settings.data!.arix.defaultMode);
- 24 |
- ERROR in resources/scripts/components/dashboard/forms/AppearanceWrapper.tsx:22:95
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 20 |
- 21 | const modeToggler = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler));
- > 22 | const langSwitch = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.langSwitch));
- | ^^^^
- 23 | const defaultMode = useStoreState((state: ApplicationStore) => state.settings.data!.arix.defaultMode);
- 24 |
- 25 | const languages = [
- ERROR in resources/scripts/components/dashboard/forms/AppearanceWrapper.tsx:23:89
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 21 | const modeToggler = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler));
- 22 | const langSwitch = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.langSwitch));
- > 23 | const defaultMode = useStoreState((state: ApplicationStore) => state.settings.data!.arix.defaultMode);
- | ^^^^
- 24 |
- 25 | const languages = [
- 26 | { key: 'en', value: 'English' },
- ERROR in resources/scripts/components/dashboard/ServerCardBanner.tsx:59:162
- TS2339: Property 'eggImage' does not exist on type 'Server'.
- 57 | <>
- 58 | <div className="bg-gray-700 backdrop overflow-hidden rounded-box">
- > 59 | <div className="flex z-10 items-center justify-between bg-center bg-cover bg-no-repeat px-6 pt-5 pb-10 relative" css={`background-image:url(${server.eggImage ? server.eggImage : '/arix/minecraft-banner.png'})`}>
- | ^^^^^^^^
- 60 | <div className="z-[-1] absolute inset-0" css={'background-color:color-mix(in srgb, var(--gray700-default) 65%, transparent);'}/>
- 61 | <p className="text-lg font-semibold text-gray-50">{server.name}</p>
- 62 | <span className={`py-1 px-2 rounded
- ERROR in resources/scripts/components/dashboard/ServerCardBanner.tsx:59:180
- TS2339: Property 'eggImage' does not exist on type 'Server'.
- 57 | <>
- 58 | <div className="bg-gray-700 backdrop overflow-hidden rounded-box">
- > 59 | <div className="flex z-10 items-center justify-between bg-center bg-cover bg-no-repeat px-6 pt-5 pb-10 relative" css={`background-image:url(${server.eggImage ? server.eggImage : '/arix/minecraft-banner.png'})`}>
- | ^^^^^^^^
- 60 | <div className="z-[-1] absolute inset-0" css={'background-color:color-mix(in srgb, var(--gray700-default) 65%, transparent);'}/>
- 61 | <p className="text-lg font-semibold text-gray-50">{server.name}</p>
- 62 | <span className={`py-1 px-2 rounded
- ERROR in resources/scripts/components/dashboard/ServerCardGradient.tsx:59:124
- TS2339: Property 'eggImage' does not exist on type 'Server'.
- 57 | <>
- 58 | <div className="backdrop rounded-box overflow-hidden" css={'background-color:var(--gray700-default);'}>
- > 59 | <div className={'bg-center bg-cover bg-no-repeat relative px-6 pt-5 z-10'} css={`background-image:url(${server.eggImage ? server.eggImage : '/arix/minecraft-banner.png'})`}>
- | ^^^^^^^^
- 60 | <div className={'z-[-1] absolute inset-0'} css={'background-image:linear-gradient(0deg, var(--gray700-default) 0%, color-mix(in srgb, var(--gray700-default) 65%, transparent) 100%);'}/>
- 61 | <div className="flex items-center justify-between pb-5">
- 62 | <p className="text-lg font-semibold text-gray-50">{server.name}</p>
- ERROR in resources/scripts/components/dashboard/ServerCardGradient.tsx:59:142
- TS2339: Property 'eggImage' does not exist on type 'Server'.
- 57 | <>
- 58 | <div className="backdrop rounded-box overflow-hidden" css={'background-color:var(--gray700-default);'}>
- > 59 | <div className={'bg-center bg-cover bg-no-repeat relative px-6 pt-5 z-10'} css={`background-image:url(${server.eggImage ? server.eggImage : '/arix/minecraft-banner.png'})`}>
- | ^^^^^^^^
- 60 | <div className={'z-[-1] absolute inset-0'} css={'background-image:linear-gradient(0deg, var(--gray700-default) 0%, color-mix(in srgb, var(--gray700-default) 65%, transparent) 100%);'}/>
- 61 | <div className="flex items-center justify-between pb-5">
- 62 | <p className="text-lg font-semibold text-gray-50">{server.name}</p>
- ERROR in resources/scripts/components/elements/Alert.tsx:4:110
- TS2307: Cannot find module 'react-icons/lu' or its corresponding type declarations.
- 2 | import { useStoreState } from 'easy-peasy';
- 3 | import { ApplicationStore } from '@/state';
- > 4 | import { LuPartyPopper, LuMegaphone, LuInfo, LuCircleAlert, LuTriangleAlert, LuCircleCheck, LuCircleX } from "react-icons/lu";
- | ^^^^^^^^^^^^^^^^
- 5 | import parser from 'bbcode-to-react';
- 6 | import styled from 'styled-components/macro';
- 7 | import tw from 'twin.macro';
- ERROR in resources/scripts/components/elements/Alert.tsx:5:20
- TS2307: Cannot find module 'bbcode-to-react' or its corresponding type declarations.
- 3 | import { ApplicationStore } from '@/state';
- 4 | import { LuPartyPopper, LuMegaphone, LuInfo, LuCircleAlert, LuTriangleAlert, LuCircleCheck, LuCircleX } from "react-icons/lu";
- > 5 | import parser from 'bbcode-to-react';
- | ^^^^^^^^^^^^^^^^^
- 6 | import styled from 'styled-components/macro';
- 7 | import tw from 'twin.macro';
- 8 |
- ERROR in resources/scripts/components/elements/Alert.tsx:45:94
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 43 | const [isOpen, setIsOpen] = useState(true);
- 44 |
- > 45 | const announcementType = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementType);
- | ^^^^
- 46 | const announcementCloseable = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementCloseable);
- 47 | const announcementMessage = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementMessage);
- 48 |
- ERROR in resources/scripts/components/elements/Alert.tsx:46:99
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 44 |
- 45 | const announcementType = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementType);
- > 46 | const announcementCloseable = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementCloseable);
- | ^^^^
- 47 | const announcementMessage = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementMessage);
- 48 |
- 49 | useEffect(() => {
- ERROR in resources/scripts/components/elements/Alert.tsx:47:97
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 45 | const announcementType = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementType);
- 46 | const announcementCloseable = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementCloseable);
- > 47 | const announcementMessage = useStoreState((state: ApplicationStore) => state.settings.data!.arix.announcementMessage);
- | ^^^^
- 48 |
- 49 | useEffect(() => {
- 50 | const closedTime = localStorage.getItem('closedTime');
- ERROR in resources/scripts/components/Navigation.tsx:10:39
- TS2307: Cannot find module 'react-icons/lu' or its corresponding type declarations.
- 8 | import CopyOnClick from '@/components/elements/CopyOnClick';
- 9 | import { GlobeIcon, ChipIcon, ChevronDownIcon } from '@heroicons/react/outline';
- > 10 | import { LuSave, LuMemoryStick } from "react-icons/lu";
- | ^^^^^^^^^^^^^^^^
- 11 | import styled from 'styled-components/macro';
- 12 | import Can from '@/components/elements/Can';
- 13 | import { SubNavigationLinks } from '@/routers/RouterElements';
- ERROR in resources/scripts/components/Navigation.tsx:117:84
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 115 |
- 116 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin);
- > 117 | const layout = useStoreState((state: ApplicationStore) => state.settings.data!.arix.layout);
- | ^^^^
- 118 |
- 119 | const name = ServerContext.useStoreState((state) => state.server.data?.name);
- 120 | const status = ServerContext.useStoreState((state) => state.status.value);
- ERROR in resources/scripts/components/Navigation.tsx:236:35
- TS2322: Type '{ icons: true; className: string; }' is not assignable to type 'IntrinsicAttributes & PowerButtonProps'.
- Property 'icons' does not exist on type 'IntrinsicAttributes & PowerButtonProps'.
- 234 | <Can action={['control.start', 'control.stop', 'control.restart']} matchAny>
- 235 | <PowerButtons className="md:grid grid-cols-3 gap-2 hidden" />
- > 236 | <PowerButtons icons className="md:hidden grid-cols-3 gap-2 grid mt-5 pt-5 md:border-t-0 border-t-[2px] border-gray-500" /> | ^^^^^
- 237 | </Can>
- 238 | </div>
- 239 | {layout == 3 &&
- ERROR in resources/scripts/components/server/console/FullConsoleContainer.tsx:10:26
- TS2322: Type '{ fullConsole: true; }' is not assignable to type 'IntrinsicAttributes'.
- Property 'fullConsole' does not exist on type 'IntrinsicAttributes'.
- 8 | <div>
- 9 | <Spinner.Suspense>
- > 10 | <Console fullConsole/>
- | ^^^^^^^^^^^
- 11 | </Spinner.Suspense>
- 12 | <div className={'fixed top-0 left-0 h-full w-full z-[50] bg-gray-800'}/>
- 13 | </div>
- ERROR in resources/scripts/components/server/console/SideGraphs.tsx:83:48
- TS2322: Type '{ children: Element; title: string; type: string; limit: string; usage: string; }' is not assignable to type 'IntrinsicAttributes & ChartBlockProps'.
- Property 'type' does not exist on type 'IntrinsicAttributes & ChartBlockProps'.
- 81 | return (
- 82 | <>
- > 83 | <ChartBlock title={t('cpu-usage')} type={'cpu'} limit={limits.cpu ? limits.cpu + '%' : '∞'} usage={`${stats.cpu.toFixed(2)}%`}>
- | ^^^^
- 84 | <Line {...cpu.props} />
- 85 | </ChartBlock>
- 86 | <ChartBlock title={t('memory-usage')} type={'memory'} limit={limits.memory ? bytesToString(mbToBytes(limits.memory)) : '∞'} usage={bytesToString(stats.memory)}>
- ERROR in resources/scripts/components/server/console/SideGraphs.tsx:86:51
- TS2322: Type '{ children: Element; title: string; type: string; limit: string; usage: string; }' is not assignable to type 'IntrinsicAttributes & ChartBlockProps'.
- Property 'type' does not exist on type 'IntrinsicAttributes & ChartBlockProps'.
- 84 | <Line {...cpu.props} />
- 85 | </ChartBlock>
- > 86 | <ChartBlock title={t('memory-usage')} type={'memory'} limit={limits.memory ? bytesToString(mbToBytes(limits.memory)) : '∞'} usage={bytesToString(stats.memory)}>
- | ^^^^
- 87 | <Line {...memory.props} />
- 88 | </ChartBlock>
- 89 | </>
- ERROR in resources/scripts/components/server/dashboard/Banner.tsx:5:80
- TS2339: Property 'eggImage' does not exist on type 'Server'.
- 3 |
- 4 | const Banner = () => {
- > 5 | const eggImage = ServerContext.useStoreState((state) => state.server.data!.eggImage);
- | ^^^^^^^^
- 6 |
- 7 | return(
- 8 | <div className={'lg:col-span-2'}>
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:58:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 56 | const DashboardContainer = () => {
- 57 | const { t } = useTranslation('arix/server/dashboard');
- > 58 | const slot1 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot1);
- | ^^^^
- 59 | const slot2 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot2);
- 60 | const slot3 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot3);
- 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:59:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 57 | const { t } = useTranslation('arix/server/dashboard');
- 58 | const slot1 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot1);
- > 59 | const slot2 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot2);
- | ^^^^
- 60 | const slot3 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot3);
- 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:60:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 58 | const slot1 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot1);
- 59 | const slot2 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot2);
- > 60 | const slot3 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot3);
- | ^^^^
- 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- 63 | const slot6 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot6);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:61:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 59 | const slot2 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot2);
- 60 | const slot3 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot3);
- > 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- | ^^^^
- 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- 63 | const slot6 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot6);
- 64 | const slot7 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot7);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:62:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 60 | const slot3 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot3);
- 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- > 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- | ^^^^
- 63 | const slot6 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot6);
- 64 | const slot7 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot7);
- 65 |
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:63:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 61 | const slot4 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot4);
- 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- > 63 | const slot6 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot6);
- | ^^^^
- 64 | const slot7 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot7);
- 65 |
- 66 | const isInstalling = ServerContext.useStoreState((state) => state.server.isInstalling);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:64:83
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 62 | const slot5 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot5);
- 63 | const slot6 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot6);
- > 64 | const slot7 = useStoreState((state: ApplicationStore) => state.settings.data!.arix.slot7);
- | ^^^^
- 65 |
- 66 | const isInstalling = ServerContext.useStoreState((state) => state.server.isInstalling);
- 67 | const isTransferring = ServerContext.useStoreState((state) => state.server.data!.isTransferring);
- ERROR in resources/scripts/components/server/dashboard/DashboardContainer.tsx:71:52
- TS2322: Type '{ children: Element; title: string; icon: (props: SVGProps<SVGSVGElement>) => Element; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- Property 'icon' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- 69 |
- 70 | return(
- > 71 | <ServerContentBlock title={t('dashboard')} icon={ViewGridIcon}>
- | ^^^^
- 72 | {(isNodeUnderMaintenance || isInstalling || isTransferring) ? (
- 73 | <div>
- 74 | <Alert type={'warning'} className={'mb-4'}>
- ERROR in resources/scripts/components/server/LowResourcesAlert.tsx:29:102
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 27 | const { t } = useTranslation('arix/utilities');
- 28 | const [stats, setStats] = useState<Stats>({ memory: 0, cpu: 0, disk: 0, uptime: 0 });
- > 29 | const lowResourcesAlert = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.lowResourcesAlert));
- | ^^^^
- 30 | const billing = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.billing));
- 31 |
- 32 | const connected = ServerContext.useStoreState((state) => state.socket.connected);
- ERROR in resources/scripts/components/server/LowResourcesAlert.tsx:30:92
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 28 | const [stats, setStats] = useState<Stats>({ memory: 0, cpu: 0, disk: 0, uptime: 0 });
- 29 | const lowResourcesAlert = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.lowResourcesAlert));
- > 30 | const billing = String(useStoreState((state: ApplicationStore) => state.settings.data!.arix.billing));
- | ^^^^
- 31 |
- 32 | const connected = ServerContext.useStoreState((state) => state.socket.connected);
- 33 | const instance = ServerContext.useStoreState((state) => state.socket.instance);
- ERROR in resources/scripts/components/server/NodeAlert.tsx:3:26
- TS2307: Cannot find module 'react-icons/lu' or its corresponding type declarations.
- 1 | import React from 'react';
- 2 | import { ServerContext } from '@/state/server';
- > 3 | import { LuServer } from "react-icons/lu";
- | ^^^^^^^^^^^^^^^^
- 4 | import styled from 'styled-components/macro';
- 5 | import parser from 'bbcode-to-react';
- 6 | import tw from 'twin.macro';
- ERROR in resources/scripts/components/server/NodeAlert.tsx:5:20
- TS2307: Cannot find module 'bbcode-to-react' or its corresponding type declarations.
- 3 | import { LuServer } from "react-icons/lu";
- 4 | import styled from 'styled-components/macro';
- > 5 | import parser from 'bbcode-to-react';
- | ^^^^^^^^^^^^^^^^^
- 6 | import tw from 'twin.macro';
- 7 |
- 8 | const MyAlert = styled.div`
- ERROR in resources/scripts/components/server/NodeAlert.tsx:21:81
- TS2339: Property 'nodeAlert' does not exist on type 'Server'.
- 19 |
- 20 | const NodeAlert = () => {
- > 21 | const nodeAlert = ServerContext.useStoreState((state) => state.server.data?.nodeAlert);
- | ^^^^^^^^^
- 22 |
- 23 | return (
- 24 | <div className={'px-4'}>
- ERROR in resources/scripts/components/server/plugins/DeletePlugin.tsx:20:77
- TS2339: Property 'plugins' does not exist on type 'Actions<ServerStore>'.
- 18 | const [isOpen, setIsOpen] = useState(false);
- 19 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid);
- > 20 | const removePlugin = ServerContext.useStoreActions((actions) => actions.plugins.removePlugin);
- | ^^^^^^^
- 21 | const { clearFlashes, addFlash } = useStoreActions((actions: Actions<ApplicationStore>) => actions.flashes);
- 22 | const [loading, setLoading] = useState(false);
- 23 |
- ERROR in resources/scripts/components/server/plugins/InstallButton.tsx:10:24
- TS2307: Cannot find module 'numify' or its corresponding type declarations.
- 8 | import Select from '@/components/elements/Select';
- 9 | import { Actions, useStoreActions } from 'easy-peasy';
- > 10 | import { numify } from "numify";
- | ^^^^^^^^
- 11 | import Spinner from '@/components/elements/Spinner';
- 12 | import { differenceInCalendarMonths, format, formatDistanceToNow } from 'date-fns';
- 13 | import { ExternalLinkIcon, DownloadIcon, StarIcon, CalendarIcon } from '@heroicons/react/outline';
- ERROR in resources/scripts/components/server/plugins/InstallButton.tsx:40:77
- TS2339: Property 'plugins' does not exist on type 'Actions<ServerStore>'.
- 38 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid);
- 39 | const { clearFlashes, addFlash } = useStoreActions((actions: Actions<ApplicationStore>) => actions.flashes);
- > 40 | const appendPlugin = ServerContext.useStoreActions((actions) => actions.plugins.appendPlugin);
- | ^^^^^^^
- 41 |
- 42 | const Error = (message?: string) => {
- 43 | onDismissed();
- ERROR in resources/scripts/components/server/plugins/PluginRow.tsx:2:24
- TS2307: Cannot find module 'numify' or its corresponding type declarations.
- 1 | import React from 'react';
- > 2 | import { numify } from "numify";
- | ^^^^^^^^
- 3 | import { Plugin, QueryParams } from '@/api/server/plugins/Plugins';
- 4 | import { differenceInCalendarMonths, format, formatDistanceToNow } from 'date-fns';
- 5 | import { ExternalLinkIcon, DownloadIcon, StarIcon, CalendarIcon } from '@heroicons/react/outline';
- ERROR in resources/scripts/components/server/plugins/PluginRow.tsx:30:90
- TS2339: Property 'plugins' does not exist on type 'StateMapper<_Pick<ServerStore, _FilterKeys<ServerStore, ActionTypes, "default">>>'.
- 28 | const currentLang = i18n.language;
- 29 | const localeKey = currentLang as keyof typeof locales;
- > 30 | const installedPlugins = useDeepMemoize(ServerContext.useStoreState((state) => state.plugins.data));
- | ^^^^^^^
- 31 | const isInstalled = installedPlugins.find((installed) => (
- 32 | installed.plugin_service_id === plugin.id && installed.plugin_service === filters.service
- 33 | ));
- ERROR in resources/scripts/components/server/plugins/PluginRow.tsx:31:48
- TS7006: Parameter 'installed' implicitly has an 'any' type.
- 29 | const localeKey = currentLang as keyof typeof locales;
- 30 | const installedPlugins = useDeepMemoize(ServerContext.useStoreState((state) => state.plugins.data));
- > 31 | const isInstalled = installedPlugins.find((installed) => (
- | ^^^^^^^^^
- 32 | installed.plugin_service_id === plugin.id && installed.plugin_service === filters.service
- 33 | ));
- 34 |
- ERROR in resources/scripts/components/server/plugins/PluginsContainer.tsx:111:80
- TS2339: Property 'plugins' does not exist on type 'Actions<ServerStore>'.
- 109 | const [filters, setFilters] = useState<QueryParams>({ page: 1, service: 'modrinth', version: '', loader: '', search: '' });
- 110 | const [plugins, setPlugins] = useState<PaginatedResult<Plugin>>();
- > 111 | const setInstalledPlugins = ServerContext.useStoreActions((state) => state.plugins.setPlugins);
- | ^^^^^^^
- 112 | const installedPlugins = useDeepMemoize(ServerContext.useStoreState((state) => state.plugins.data));
- 113 |
- 114 | const resetFilters = () => {
- ERROR in resources/scripts/components/server/plugins/PluginsContainer.tsx:112:90
- TS2339: Property 'plugins' does not exist on type 'StateMapper<_Pick<ServerStore, _FilterKeys<ServerStore, ActionTypes, "default">>>'.
- 110 | const [plugins, setPlugins] = useState<PaginatedResult<Plugin>>();
- 111 | const setInstalledPlugins = ServerContext.useStoreActions((state) => state.plugins.setPlugins);
- > 112 | const installedPlugins = useDeepMemoize(ServerContext.useStoreState((state) => state.plugins.data));
- | ^^^^^^^
- 113 |
- 114 | const resetFilters = () => {
- 115 | setSearchTerm('');
- ERROR in resources/scripts/components/server/plugins/PluginsContainer.tsx:186:50
- TS2322: Type '{ children: Element[]; title: string; icon: (props: SVGProps<SVGSVGElement>) => Element; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- Property 'icon' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- 184 |
- 185 | return (
- > 186 | <ServerContentBlock title={t('plugins')} icon={DocumentDownloadIcon}>
- | ^^^^
- 187 | <SpinnerOverlay visible={loading} fixed={true} size={'large'} />
- 188 | <FlashMessageRender byKey={'plugins'} />
- 189 | {!showInstalled ?
- ERROR in resources/scripts/components/server/plugins/PluginsContainer.tsx:308:30
- TS7006: Parameter 'plugin' implicitly has an 'any' type.
- 306 | </div>
- 307 | {installedPlugins
- > 308 | .filter((plugin) =>
- | ^^^^^^
- 309 | plugin.plugin_name.toLowerCase().replace(/-/g, ' ')
- 310 | .includes(searchTerm.toLowerCase().replace(/-/g, ' '))
- 311 | )
- ERROR in resources/scripts/components/server/plugins/PluginsContainer.tsx:312:27
- TS7006: Parameter 'plugin' implicitly has an 'any' type.
- 310 | .includes(searchTerm.toLowerCase().replace(/-/g, ' '))
- 311 | )
- > 312 | .map((plugin) => (
- | ^^^^^^
- 313 | <PluginInstalledRow
- 314 | {...plugin}
- 315 | />
- ERROR in resources/scripts/components/server/properties/PropertiesContainer.tsx:83:53
- TS2322: Type '{ children: (false | Element)[]; title: string; icon: (props: SVGProps<SVGSVGElement>) => Element; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- Property 'icon' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- 81 |
- 82 | return (
- > 83 | <ServerContentBlock title={t('properties')} icon={DocumentTextIcon}>
- | ^^^^
- 84 | <FlashMessageRender byKey={'properties'} />
- 85 | {(!properties || loading) ? (
- 86 | !loading && (
- ERROR in resources/scripts/components/server/subdomains/CreateSubdomainButton.tsx:102:80
- TS2339: Property 'subdomains' does not exist on type 'Actions<ServerStore>'.
- 100 | export default () => {
- 101 | const { t } = useTranslation('arix/server/addons/subdomains');
- > 102 | const appendSubdomain = ServerContext.useStoreActions((actions) => actions.subdomains.appendSubdomain);
- | ^^^^^^^^^^
- 103 | const id = ServerContext.useStoreState((state) => state.server.data!.id);
- 104 | const { clearFlashes, clearAndAddHttpError } = useFlash();
- 105 | const [visible, setVisible] = useState(false);
- ERROR in resources/scripts/components/server/subdomains/DeleteSubdomainButton.tsx:17:80
- TS2339: Property 'subdomains' does not exist on type 'Actions<ServerStore>'.
- 15 | const { t } = useTranslation('arix/server/addons/subdomains');
- 16 | const [isOpen, setIsOpen] = useState(false);
- > 17 | const removeSubdomain = ServerContext.useStoreActions((actions) => actions.subdomains.removeSubdomain);
- | ^^^^^^^^^^
- 18 | const serverId = ServerContext.useStoreState((state) => state.server.data!.id);
- 19 | const { addError, clearFlashes } = useFlash();
- 20 | const [loading, setLoading] = useState(false);
- ERROR in resources/scripts/components/server/subdomains/SubdomainsContainer.tsx:24:84
- TS2339: Property 'subdomains' does not exist on type 'StateMapper<_Pick<ServerStore, _FilterKeys<ServerStore, ActionTypes, "default">>>'.
- 22 | const { addError, clearFlashes } = useFlash();
- 23 |
- > 24 | const subdomains = useDeepMemoize(ServerContext.useStoreState((state) => state.subdomains.data));
- | ^^^^^^^^^^
- 25 | const setSubdomains = ServerContext.useStoreActions((state) => state.subdomains.setSubdomains);
- 26 |
- 27 | const subdomainLimit = ServerContext.useStoreState((state) => state.server.data!.featureLimits.subdomains);
- ERROR in resources/scripts/components/server/subdomains/SubdomainsContainer.tsx:25:74
- TS2339: Property 'subdomains' does not exist on type 'Actions<ServerStore>'.
- 23 |
- 24 | const subdomains = useDeepMemoize(ServerContext.useStoreState((state) => state.subdomains.data));
- > 25 | const setSubdomains = ServerContext.useStoreActions((state) => state.subdomains.setSubdomains);
- | ^^^^^^^^^^
- 26 |
- 27 | const subdomainLimit = ServerContext.useStoreState((state) => state.server.data!.featureLimits.subdomains);
- 28 | const subdomainCount = Object.keys(subdomains).length;
- ERROR in resources/scripts/components/server/subdomains/SubdomainsContainer.tsx:27:100
- TS2339: Property 'subdomains' does not exist on type '{ databases: number; splits: number; allocations: number; backups: number; }'.
- 25 | const setSubdomains = ServerContext.useStoreActions((state) => state.subdomains.setSubdomains);
- 26 |
- > 27 | const subdomainLimit = ServerContext.useStoreState((state) => state.server.data!.featureLimits.subdomains);
- | ^^^^^^^^^^
- 28 | const subdomainCount = Object.keys(subdomains).length;
- 29 |
- 30 |
- ERROR in resources/scripts/components/server/subdomains/SubdomainsContainer.tsx:48:53
- TS2322: Type '{ children: Element[]; title: string; icon: (props: SVGProps<SVGSVGElement>) => Element; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- Property 'icon' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
- 46 |
- 47 | return (
- > 48 | <ServerContentBlock title={t('subdomains')} icon={GlobeAltIcon}>
- | ^^^^
- 49 | <FlashMessageRender byKey={'subdomains'} />
- 50 | {!subdomains.length && loading ?
- 51 | <Spinner size={'large'} centered />
- ERROR in resources/scripts/components/SideBar.tsx:5:24
- TS2614: Module '"@/components/elements/DropdownMenu"' has no exported member 'DropdownLinkRow'. Did you mean to use 'import DropdownLinkRow from "@/components/elements/DropdownMenu"' instead?
- 3 | import { useStoreState } from 'easy-peasy';
- 4 | import { ApplicationStore } from '@/state';
- > 5 | import DropdownMenu, { DropdownLinkRow, DropdownButtonRow } from '@/components/elements/DropdownMenu';
- | ^^^^^^^^^^^^^^^
- 6 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
- 7 | import UserAvatar from '@/components/UserAvatar';
- 8 | import { ServerIcon, UserCircleIcon, DotsVerticalIcon, CogIcon, EyeIcon, MoonIcon, LogoutIcon } from '@heroicons/react/outline';
- ERROR in resources/scripts/components/SideBar.tsx:25:84
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 23 | const [isLoggingOut, setIsLoggingOut] = useState(false);
- 24 | const name = useStoreState((state: ApplicationStore) => state.settings.data!.name);
- > 25 | const layout = useStoreState((state: ApplicationStore) => state.settings.data!.arix.layout);
- | ^^^^
- 26 | const modeToggler = useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler);
- 27 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- 28 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- ERROR in resources/scripts/components/SideBar.tsx:26:89
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 24 | const name = useStoreState((state: ApplicationStore) => state.settings.data!.name);
- 25 | const layout = useStoreState((state: ApplicationStore) => state.settings.data!.arix.layout);
- > 26 | const modeToggler = useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler);
- | ^^^^
- 27 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- 28 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- 29 | const fullLogo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.fullLogo);
- ERROR in resources/scripts/components/SideBar.tsx:27:82
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 25 | const layout = useStoreState((state: ApplicationStore) => state.settings.data!.arix.layout);
- 26 | const modeToggler = useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler);
- > 27 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- | ^^^^
- 28 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- 29 | const fullLogo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.fullLogo);
- 30 | const rootAdmin = useStoreState((state: ApplicationStore) => state.user.data!.rootAdmin);
- ERROR in resources/scripts/components/SideBar.tsx:28:88
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 26 | const modeToggler = useStoreState((state: ApplicationStore) => state.settings.data!.arix.modeToggler);
- 27 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- > 28 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- | ^^^^
- 29 | const fullLogo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.fullLogo);
- 30 | const rootAdmin = useStoreState((state: ApplicationStore) => state.user.data!.rootAdmin);
- 31 |
- ERROR in resources/scripts/components/SideBar.tsx:29:86
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 27 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- 28 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- > 29 | const fullLogo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.fullLogo);
- | ^^^^
- 30 | const rootAdmin = useStoreState((state: ApplicationStore) => state.user.data!.rootAdmin);
- 31 |
- 32 | useEffect(() => {
- ERROR in resources/scripts/components/SideBar.tsx:131:21
- TS2769: No overload matches this call.
- Overload 1 of 2, '(props: Props | Readonly<Props>): DropdownMenu', gave the following error.
- Type '{ children: (false | Element)[]; ref: RefObject<DropdownMenu>; sideBar: true; renderToggle: (onClick: (e: MouseEvent<any, MouseEvent>) => void) => Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<DropdownMenu> & Readonly<Props> & Readonly<{ children?: ReactNode; }>'.
- Property 'sideBar' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<DropdownMenu> & Readonly<Props> & Readonly<{ children?: ReactNode; }>'.
- Overload 2 of 2, '(props: Props, context: any): DropdownMenu', gave the following error.
- Type '{ children: (false | Element)[]; ref: RefObject<DropdownMenu>; sideBar: true; renderToggle: (onClick: (e: MouseEvent<any, MouseEvent>) => void) => Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<DropdownMenu> & Readonly<Props> & Readonly<{ children?: ReactNode; }>'.
- Property 'sideBar' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<DropdownMenu> & Readonly<Props> & Readonly<{ children?: ReactNode; }>'.
- 129 | <DropdownMenu
- 130 | ref={onClickRef}
- > 131 | sideBar
- | ^^^^^^^
- 132 | renderToggle={(onClick) => (
- 133 | <div onClick={onClick} className="cursor-pointer text-gray-50 p-2">
- 134 | <DotsVerticalIcon className="w-5" />
- ERROR in resources/scripts/components/SideBarIcon.tsx:60:82
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 58 | const [isDarkMode, setIsDarkMode] = useState<boolean>(false);
- 59 | const [isLoggingOut, setIsLoggingOut] = useState(false);
- > 60 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- | ^^^^
- 61 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- 62 | const rootAdmin = useStoreState((state: ApplicationStore) => state.user.data!.rootAdmin);
- 63 |
- ERROR in resources/scripts/components/SideBarIcon.tsx:61:88
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 59 | const [isLoggingOut, setIsLoggingOut] = useState(false);
- 60 | const logo = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logo);
- > 61 | const logoHeight = useStoreState((state: ApplicationStore) => state.settings.data!.arix.logoHeight);
- | ^^^^
- 62 | const rootAdmin = useStoreState((state: ApplicationStore) => state.user.data!.rootAdmin);
- 63 |
- 64 | useEffect(() => {
- ERROR in resources/scripts/components/UserAvatar.tsx:3:17
- TS2307: Cannot find module 'md5' or its corresponding type declarations.
- 1 | import * as React from 'react';
- 2 | import { useStoreState } from 'easy-peasy';
- > 3 | import Md5 from 'md5';
- | ^^^^^
- 4 | import { ApplicationStore } from '@/state';
- 5 | import Avatar from '@/components/Avatar';
- 6 |
- ERROR in resources/scripts/components/UserAvatar.tsx:16:89
- TS2339: Property 'arix' does not exist on type 'SiteSettings'.
- 14 |
- 15 | export default ({ email, user, uuid, width, rounded }: Props) => {
- > 16 | const profileType = useStoreState((state: ApplicationStore) => state.settings.data!.arix.profileType);
- | ^^^^
- 17 | const username = useStoreState((state) => state.user.data?.username);
- 18 | const useremail = useStoreState(state => state.user.data?.email);
- 19 |
- ERROR in resources/scripts/routers/RouterElements.tsx:22:76
- TS2339: Property 'nestId' does not exist on type 'Server'.
- 20 | const match = useRouteMatch<{ id: string }>();
- 21 |
- > 22 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
- | ^^^^^^
- 23 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
- 24 |
- 25 | const to = (value: string, url = false) => {
- ERROR in resources/scripts/routers/RouterElements.tsx:23:75
- TS2339: Property 'eggId' does not exist on type 'Server'.
- 21 |
- 22 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
- > 23 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
- | ^^^^^
- 24 |
- 25 | const to = (value: string, url = false) => {
- 26 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`;
- ERROR in resources/scripts/routers/RouterElements.tsx:60:22
- TS2339: Property 'general' does not exist on type 'ServerRouteDefinition[]'.
- 58 | return (
- 59 | <>
- > 60 | {routes.server.general
- | ^^^^^^^
- 61 | .filter((route) => !!route.name)
- 62 | .map((route) =>
- 63 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:61:18
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 59 | <>
- 60 | {routes.server.general
- > 61 | .filter((route) => !!route.name)
- | ^^^^^
- 62 | .map((route) =>
- 63 | renderNavItem(route)
- 64 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:62:15
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 60 | {routes.server.general
- 61 | .filter((route) => !!route.name)
- > 62 | .map((route) =>
- | ^^^^^
- 63 | renderNavItem(route)
- 64 | )}
- 65 | <div className="dropdown">
- ERROR in resources/scripts/routers/RouterElements.tsx:68:26
- TS2339: Property 'management' does not exist on type 'ServerRouteDefinition[]'.
- 66 | <span>{t('management')} <ChevronDownIcon className="w-3"/></span>
- 67 | <div className="dropdown-body">
- > 68 | {routes.server.management
- | ^^^^^^^^^^
- 69 | .filter((route) => !!route.name)
- 70 | .map((route) =>
- 71 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:69:22
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 67 | <div className="dropdown-body">
- 68 | {routes.server.management
- > 69 | .filter((route) => !!route.name)
- | ^^^^^
- 70 | .map((route) =>
- 71 | renderNavItem(route)
- 72 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:70:19
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 68 | {routes.server.management
- 69 | .filter((route) => !!route.name)
- > 70 | .map((route) =>
- | ^^^^^
- 71 | renderNavItem(route)
- 72 | )}
- 73 | </div>
- ERROR in resources/scripts/routers/RouterElements.tsx:78:26
- TS2339: Property 'configuration' does not exist on type 'ServerRouteDefinition[]'.
- 76 | <span>{t('configuration')} <ChevronDownIcon className="w-3"/></span>
- 77 | <div className="dropdown-body">
- > 78 | {routes.server.configuration
- | ^^^^^^^^^^^^^
- 79 | .filter((route) => !!route.name)
- 80 | .map((route) =>
- 81 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:79:22
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 77 | <div className="dropdown-body">
- 78 | {routes.server.configuration
- > 79 | .filter((route) => !!route.name)
- | ^^^^^
- 80 | .map((route) =>
- 81 | renderNavItem(route)
- 82 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:80:19
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 78 | {routes.server.configuration
- 79 | .filter((route) => !!route.name)
- > 80 | .map((route) =>
- | ^^^^^
- 81 | renderNavItem(route)
- 82 | )}
- 83 | </div>
- ERROR in resources/scripts/routers/RouterElements.tsx:96:24
- TS2339: Property 'general' does not exist on type 'ServerRouteDefinition[]'.
- 94 | <div>
- 95 | <span>{t('general')}</span>
- > 96 | {routes.server.general
- | ^^^^^^^
- 97 | .filter((route) => !!route.name)
- 98 | .map((route) =>
- 99 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:97:20
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 95 | <span>{t('general')}</span>
- 96 | {routes.server.general
- > 97 | .filter((route) => !!route.name)
- | ^^^^^
- 98 | .map((route) =>
- 99 | renderNavItem(route)
- 100 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:98:17
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 96 | {routes.server.general
- 97 | .filter((route) => !!route.name)
- > 98 | .map((route) =>
- | ^^^^^
- 99 | renderNavItem(route)
- 100 | )}
- 101 | </div>
- ERROR in resources/scripts/routers/RouterElements.tsx:104:24
- TS2339: Property 'management' does not exist on type 'ServerRouteDefinition[]'.
- 102 | <div>
- 103 | <span>{t('management')}</span>
- > 104 | {routes.server.management
- | ^^^^^^^^^^
- 105 | .filter((route) => !!route.name)
- 106 | .map((route) =>
- 107 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:105:20
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 103 | <span>{t('management')}</span>
- 104 | {routes.server.management
- > 105 | .filter((route) => !!route.name)
- | ^^^^^
- 106 | .map((route) =>
- 107 | renderNavItem(route)
- 108 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:106:17
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 104 | {routes.server.management
- 105 | .filter((route) => !!route.name)
- > 106 | .map((route) =>
- | ^^^^^
- 107 | renderNavItem(route)
- 108 | )}
- 109 | </div>
- ERROR in resources/scripts/routers/RouterElements.tsx:112:24
- TS2339: Property 'configuration' does not exist on type 'ServerRouteDefinition[]'.
- 110 | <div>
- 111 | <span>{t('configuration')}</span>
- > 112 | {routes.server.configuration
- | ^^^^^^^^^^^^^
- 113 | .filter((route) => !!route.name)
- 114 | .map((route) =>
- 115 | renderNavItem(route)
- ERROR in resources/scripts/routers/RouterElements.tsx:113:20
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 111 | <span>{t('configuration')}</span>
- 112 | {routes.server.configuration
- > 113 | .filter((route) => !!route.name)
- | ^^^^^
- 114 | .map((route) =>
- 115 | renderNavItem(route)
- 116 | )}
- ERROR in resources/scripts/routers/RouterElements.tsx:114:17
- TS7006: Parameter 'route' implicitly has an 'any' type.
- 112 | {routes.server.configuration
- 113 | .filter((route) => !!route.name)
- > 114 | .map((route) =>
- | ^^^^^
- 115 | renderNavItem(route)
- 116 | )}
- 117 | </div>
- ERROR in resources/scripts/routers/RouterElements.tsx:126:82
- TS2339: Property 'nestId' does not exist on type 'Server'.
- 124 | const location = useLocation();
- 125 |
- > 126 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
- | ^^^^^^
- 127 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
- 128 |
- 129 | const to = (value: string, url = false) => {
- ERROR in resources/scripts/routers/RouterElements.tsx:127:81
- TS2339: Property 'eggId' does not exist on type 'Server'.
- 125 |
- 126 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
- > 127 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
- | ^^^^^
- 128 |
- 129 | const to = (value: string, url = false) => {
- 130 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`;
- ERROR in resources/scripts/routers/RouterElements.tsx:137:26
- TS2339: Property 'general' does not exist on type 'ServerRouteDefinition[]'.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:41
- TS7031: Binding element 'path' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:47
- TS7031: Binding element 'permission' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:70
- TS7031: Binding element 'Component' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:81
- TS7031: Binding element 'nestIds' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:90
- TS7031: Binding element 'eggIds' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:98
- TS7031: Binding element 'nestId' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:137:106
- TS7031: Binding element 'eggId' implicitly has an 'any' type.
- 135 | <TransitionRouter>
- 136 | <Switch location={location}>
- > 137 | {routes.server.general.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^
- 138 | return (
- 139 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 140 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:26
- TS2339: Property 'management' does not exist on type 'ServerRouteDefinition[]'.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:44
- TS7031: Binding element 'path' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:50
- TS7031: Binding element 'permission' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:73
- TS7031: Binding element 'Component' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:84
- TS7031: Binding element 'nestIds' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:93
- TS7031: Binding element 'eggIds' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:101
- TS7031: Binding element 'nestId' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:152:109
- TS7031: Binding element 'eggId' implicitly has an 'any' type.
- 150 | );
- 151 | })}
- > 152 | {routes.server.management.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^
- 153 | return (
- 154 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 155 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:26
- TS2339: Property 'configuration' does not exist on type 'ServerRouteDefinition[]'.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:47
- TS7031: Binding element 'path' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:53
- TS7031: Binding element 'permission' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:76
- TS7031: Binding element 'Component' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:87
- TS7031: Binding element 'nestIds' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:96
- TS7031: Binding element 'eggIds' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:104
- TS7031: Binding element 'nestId' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- ERROR in resources/scripts/routers/RouterElements.tsx:167:112
- TS7031: Binding element 'eggId' implicitly has an 'any' type.
- 165 | );
- 166 | })}
- > 167 | {routes.server.configuration.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
- | ^^^^^
- 168 | return (
- 169 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
- 170 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
- error Command failed with exit code 2.
Advertisement
Add Comment
Please, Sign In to add comment