root@ls-main:/var/www/pterodactyl# blueprint -rerun-install [WARNING] This is an advanced feature, only proceed if you know what you are doing. ██ ██ ██ ████ [INFO] Checking dependencies.. [INFO] Linking directories.. [INFO] Updating folder placeholders.. [INFO] Copying Blueprint logo from assets.. [INFO] Enable maintenance. [INFO] Clearing view cache.. [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] Rebuilding panel assets.. yarn run v1.22.21 $ 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 Hash: 237614ed7ad52622793d Version: webpack 4.43.0 Time: 16024ms Built at: 01/08/2024 5:41:38 PM 15 assets Entrypoint main = bundle.05fe83bf.js [11] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {5} [built] | 3 modules [14] ./node_modules/react-router/esm/react-router.js + 1 modules 29.2 KiB {5} [built] | 2 modules [16] ./resources/scripts/api/http.ts 4.06 KiB {5} [built] [17] ./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] [28] ./resources/scripts/helpers.ts 1.08 KiB {5} [built] [36] ./node_modules/react-transition-group/esm/index.js + 4 modules 22.6 KiB {5} [built] | 5 modules [50] ./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.2 KiB {5} [built] [51] ./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] [52] ./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] [81] ./node_modules/react-i18next/dist/es/index.js + 9 modules 30.2 KiB {5} [built] | 10 modules [96] multi react-hot-loader/patch ./resources/scripts/index.tsx 40 bytes {5} [built] [150] ./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 [411] ./resources/scripts/routers/DashboardRouter.tsx + 9 modules 23.5 KiB {4} [built] | ./resources/scripts/routers/DashboardRouter.tsx 2.41 KiB [built] | ./resources/scripts/api/server/getServerResourceUsage.ts 757 bytes [built] | + 8 hidden modules [412] ./resources/scripts/routers/ServerRouter.tsx + 9 modules 22.5 KiB {6} [built] | ./resources/scripts/routers/ServerRouter.tsx 5.74 KiB [built] | ./resources/scripts/plugins/Websocket.ts 2.45 KiB [built] | ./resources/scripts/api/server/getWebsocketToken.ts 344 bytes [built] | + 7 hidden modules [413] ./resources/scripts/routers/AuthenticationRouter.tsx + 9 modules 29.3 KiB {3} [built] | ./resources/scripts/routers/AuthenticationRouter.tsx 1.52 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] | + 5 hidden modules + 400 hidden modules ERROR in resources/scripts/components/dashboard/forms/SetupTwoFactorModal.tsx:40:9 TS2554: Expected 2 arguments, but got 1. 38 | const submit = ({ code }: Values, { setSubmitting }: FormikHelpers) => { 39 | setPropOverrides(state => ({ ...state, showSpinnerOverlay: true })); > 40 | enableAccountTwoFactor(code) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 41 | .then(tokens => { 42 | setRecoveryTokens(tokens); 43 | }) ERROR in resources/scripts/components/server/ServerConsole.tsx:10:10 TS2614: Module '"@feature/index"' has no exported member 'EulaModalFeature'. Did you mean to use 'import EulaModalFeature from "@feature/index"' instead? 8 | import isEqual from 'react-fast-compare'; 9 | import PowerControls from '@/components/server/PowerControls'; > 10 | import { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature } from '@feature/index'; | ^^^^^^^^^^^^^^^^ 11 | import ErrorBoundary from '@/components/elements/ErrorBoundary'; 12 | import Spinner from '@/components/elements/Spinner'; 13 | ERROR in resources/scripts/components/server/ServerConsole.tsx:10:28 TS2614: Module '"@feature/index"' has no exported member 'JavaVersionModalFeature'. Did you mean to use 'import JavaVersionModalFeature from "@feature/index"' instead? 8 | import isEqual from 'react-fast-compare'; 9 | import PowerControls from '@/components/server/PowerControls'; > 10 | import { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature } from '@feature/index'; | ^^^^^^^^^^^^^^^^^^^^^^^ 11 | import ErrorBoundary from '@/components/elements/ErrorBoundary'; 12 | import Spinner from '@/components/elements/Spinner'; 13 | ERROR in resources/scripts/components/server/ServerConsole.tsx:10:53 TS2614: Module '"@feature/index"' has no exported member 'GSLTokenModalFeature'. Did you mean to use 'import GSLTokenModalFeature from "@feature/index"' instead? 8 | import isEqual from 'react-fast-compare'; 9 | import PowerControls from '@/components/server/PowerControls'; > 10 | import { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature } from '@feature/index'; | ^^^^^^^^^^^^^^^^^^^^ 11 | import ErrorBoundary from '@/components/elements/ErrorBoundary'; 12 | import Spinner from '@/components/elements/Spinner'; 13 | ERROR in resources/scripts/components/server/ServerConsole.tsx:10:75 TS2614: Module '"@feature/index"' has no exported member 'PIDLimitModalFeature'. Did you mean to use 'import PIDLimitModalFeature from "@feature/index"' instead? 8 | import isEqual from 'react-fast-compare'; 9 | import PowerControls from '@/components/server/PowerControls'; > 10 | import { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature } from '@feature/index'; | ^^^^^^^^^^^^^^^^^^^^ 11 | import ErrorBoundary from '@/components/elements/ErrorBoundary'; 12 | import Spinner from '@/components/elements/Spinner'; 13 | ERROR in resources/scripts/components/server/ServerConsole.tsx:10:97 TS2614: Module '"@feature/index"' has no exported member 'SteamDiskSpaceFeature'. Did you mean to use 'import SteamDiskSpaceFeature from "@feature/index"' instead? 8 | import isEqual from 'react-fast-compare'; 9 | import PowerControls from '@/components/server/PowerControls'; > 10 | import { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature } from '@feature/index'; | ^^^^^^^^^^^^^^^^^^^^^ 11 | import ErrorBoundary from '@/components/elements/ErrorBoundary'; 12 | import Spinner from '@/components/elements/Spinner'; 13 | ERROR in resources/scripts/components/server/ServerConsole.tsx:20:82 TS2339: Property 'isInstalling' does not exist on type 'Server'. 18 | 19 | const ServerConsole = () => { > 20 | const isInstalling = ServerContext.useStoreState(state => state.server.data!.isInstalling); | ^^^^^^^^^^^^ 21 | const isTransferring = ServerContext.useStoreState(state => state.server.data!.isTransferring); 22 | const eggFeatures = ServerContext.useStoreState(state => state.server.data!.eggFeatures, isEqual); 23 | ERROR in resources/scripts/components/server/ServerDetailsBlock.tsx:14:10 TS2305: Module '"@/helpers"' has no exported member 'bytesToHuman'. 12 | } from '@fortawesome/free-solid-svg-icons'; 13 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 14 | import { bytesToHuman, formatIp, megabytesToHuman } from '@/helpers'; | ^^^^^^^^^^^^ 15 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; 16 | import { ServerContext } from '@/state/server'; 17 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/components/server/ServerDetailsBlock.tsx:14:24 TS2305: Module '"@/helpers"' has no exported member 'formatIp'. 12 | } from '@fortawesome/free-solid-svg-icons'; 13 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 14 | import { bytesToHuman, formatIp, megabytesToHuman } from '@/helpers'; | ^^^^^^^^ 15 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; 16 | import { ServerContext } from '@/state/server'; 17 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/components/server/ServerDetailsBlock.tsx:14:34 TS2305: Module '"@/helpers"' has no exported member 'megabytesToHuman'. 12 | } from '@fortawesome/free-solid-svg-icons'; 13 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 14 | import { bytesToHuman, formatIp, megabytesToHuman } from '@/helpers'; | ^^^^^^^^^^^^^^^^ 15 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; 16 | import { ServerContext } from '@/state/server'; 17 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/components/server/ServerDetailsBlock.tsx:77:82 TS2339: Property 'isInstalling' does not exist on type 'Server'. 75 | 76 | const name = ServerContext.useStoreState(state => state.server.data!.name); > 77 | const isInstalling = ServerContext.useStoreState(state => state.server.data!.isInstalling); | ^^^^^^^^^^^^ 78 | const isTransferring = ServerContext.useStoreState(state => state.server.data!.isTransferring); 79 | const limits = ServerContext.useStoreState(state => state.server.data!.limits); 80 | const primaryAllocation = ServerContext.useStoreState(state => state.server.data!.allocations.filter(alloc => alloc.isDefault).map( ERROR in resources/scripts/components/server/StatGraphs.tsx:34:13 TS2322: Type '{ ticks: { display: false; }; gridLines: { display: false; }; }[]' is not assignable to type '_DeepPartialObject<{ type: "time"; } & Omit & { min: string | number; max: string | number; suggestedMin: string | number; ... 5 more ...; ticks: { ...; }; }> | ... 5 more ... | undefined'. Type '{ ticks: { display: false; }; gridLines: { display: false; }; }[]' is not assignable to type '_DeepPartialObject<{ type: "radialLinear"; } & CoreScaleOptions & { animate: boolean; startAngle: number; angleLines: { display: boolean; color: Scriptable; lineWidth: Scriptable<...>; borderDash: Scriptable<...>; borderDashOffset: Scriptable<...>; }; ... 7 more ...; ticks: RadialTickO...'. Types of property 'reverse' are incompatible. Type '() => { ticks: { display: false; }; gridLines: { display: false; }; }[]' is not assignable to type 'boolean | undefined'. 32 | }, 33 | scales: { > 34 | xAxes: [ { | ^^^^^ 35 | ticks: { 36 | display: false, 37 | }, ERROR in resources/scripts/components/server/StatGraphs.tsx:42:13 TS2322: Type '{ gridLines: { drawTicks: false; color: string; zeroLineColor: string; zeroLineWidth: number; }; ticks: { backdropColor: string | CanvasGradient | CanvasPattern | ((ctx: ScriptableScaleContext, options: AnyObject) => Color | undefined); ... 10 more ...; major: { ...; }; } & { ...; }; }[]' is not assignable to type '_DeepPartialObject<{ type: "time"; } & Omit & { min: string | number; max: string | number; suggestedMin: string | number; ... 5 more ...; ticks: { ...; }; }> | ... 5 more ... | undefined'. Type '{ gridLines: { drawTicks: false; color: string; zeroLineColor: string; zeroLineWidth: number; }; ticks: { backdropColor: string | CanvasGradient | CanvasPattern | ((ctx: ScriptableScaleContext, options: AnyObject) => Color | undefined); ... 10 more ...; major: { ...; }; } & { ...; }; }[]' is not assignable to type '_DeepPartialObject<{ type: "radialLinear"; } & CoreScaleOptions & { animate: boolean; startAngle: number; angleLines: { display: boolean; color: Scriptable; lineWidth: Scriptable<...>; borderDash: Scriptable<...>; borderDashOffset: Scriptable<...>; }; ... 7 more ...; ticks: RadialTickO...'. Types of property 'reverse' are incompatible. Type '() => { gridLines: { drawTicks: false; color: string; zeroLineColor: string; zeroLineWidth: number; }; ticks: { backdropColor: string | CanvasGradient | CanvasPattern | ((ctx: ScriptableScaleContext, options: AnyObject) => Color | undefined); ... 10 more ...; major: { ...; }; } & { ...; }; }[]' is not assignable to type 'boolean | undefined'. 40 | }, 41 | } ], > 42 | yAxes: [ { | ^^^^^ 43 | gridLines: { 44 | drawTicks: false, 45 | color: 'rgba(229, 232, 235, 0.15)', ERROR in resources/scripts/components/server/StatGraphs.tsx:71:63 TS2709: Cannot use namespace 'Chart' as a type. 69 | }); 70 | > 71 | type ChartState = [ (node: HTMLCanvasElement | null) => void, Chart | undefined ]; | ^^^^^ 72 | 73 | /** 74 | * Creates an element ref and a chart instance. ERROR in resources/scripts/components/server/StatGraphs.tsx:77:42 TS2709: Cannot use namespace 'Chart' as a type. 75 | */ 76 | const useChart = (options?: Chart.TickOptions): ChartState => { > 77 | const [ chart, setChart ] = useState(); | ^^^^^ 78 | 79 | const ref = useCallback<(node: HTMLCanvasElement | null) => void>(node => { 80 | if (!node) return; ERROR in resources/scripts/components/server/StatGraphs.tsx:82:27 TS2351: This expression is not constructable. Type 'typeof import("/var/www/pterodactyl/node_modules/chart.js/types/index.esm")' has no construct signatures. 80 | if (!node) return; 81 | > 82 | const chart = new Chart(node.getContext('2d')!, chartDefaults(options)); | ^^^^^ 83 | 84 | setChart(chart); 85 | }, []); ERROR in resources/scripts/components/server/StatGraphs.tsx:90:36 TS2709: Cannot use namespace 'Chart' as a type. 88 | }; 89 | > 90 | const updateChartDataset = (chart: Chart | null | undefined, value: Chart.ChartPoint & number): void => { | ^^^^^ 91 | if (!chart || !chart.data?.datasets) return; 92 | 93 | const data = chart.data.datasets[0].data!; ERROR in resources/scripts/components/server/StatGraphs.tsx:90:75 TS2694: Namespace '"/var/www/pterodactyl/node_modules/chart.js/types/index.esm"' has no exported member 'ChartPoint'. 88 | }; 89 | > 90 | const updateChartDataset = (chart: Chart | null | undefined, value: Chart.ChartPoint & number): void => { | ^^^^^^^^^^ 91 | if (!chart || !chart.data?.datasets) return; 92 | 93 | const data = chart.data.datasets[0].data!; ERROR in resources/scripts/components/server/StatGraphs.tsx:104:76 TS2345: Argument of type '{ callback: (this: Scale, value: string | number) => string; suggestedMax: number; }' is not assignable to parameter of type 'TickOptions'. Object literal may only specify known properties, and 'suggestedMax' does not exist in type 'TickOptions'. 102 | 103 | const previous = useRef>({ tx: -1, rx: -1 }); > 104 | const [ cpuRef, cpu ] = useChart({ callback: (value) => `${value}% `, suggestedMax: limits.cpu }); | ^^^^^^^^^^^^^^^^^^^^^^^^ 105 | const [ memoryRef, memory ] = useChart({ callback: (value) => `${value}Mb `, suggestedMax: limits.memory }); 106 | const [ txRef, tx ] = useChart({ callback: (value) => `${value}Kb/s ` }); 107 | const [ rxRef, rx ] = useChart({ callback: (value) => `${value}Kb/s ` }); ERROR in resources/scripts/components/server/StatGraphs.tsx:105:83 TS2345: Argument of type '{ callback: (this: Scale, value: string | number) => string; suggestedMax: number; }' is not assignable to parameter of type 'TickOptions'. Object literal may only specify known properties, and 'suggestedMax' does not exist in type 'TickOptions'. 103 | const previous = useRef>({ tx: -1, rx: -1 }); 104 | const [ cpuRef, cpu ] = useChart({ callback: (value) => `${value}% `, suggestedMax: limits.cpu }); > 105 | const [ memoryRef, memory ] = useChart({ callback: (value) => `${value}Mb `, suggestedMax: limits.memory }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 106 | const [ txRef, tx ] = useChart({ callback: (value) => `${value}Kb/s ` }); 107 | const [ rxRef, rx ] = useChart({ callback: (value) => `${value}Kb/s ` }); 108 | ERROR in resources/scripts/components/server/StatGraphs.tsx:106:36 TS2345: Argument of type '{ callback: (this: Scale, value: string | number) => string; }' is not assignable to parameter of type 'TickOptions'. Type '{ callback: (this: Scale, value: string | number) => string; }' is missing the following properties from type 'TickOptions': backdropColor, backdropPadding, display, color, and 7 more. 104 | const [ cpuRef, cpu ] = useChart({ callback: (value) => `${value}% `, suggestedMax: limits.cpu }); 105 | const [ memoryRef, memory ] = useChart({ callback: (value) => `${value}Mb `, suggestedMax: limits.memory }); > 106 | const [ txRef, tx ] = useChart({ callback: (value) => `${value}Kb/s ` }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 107 | const [ rxRef, rx ] = useChart({ callback: (value) => `${value}Kb/s ` }); 108 | 109 | useWebsocketEvent(SocketEvent.STATS, (data: string) => { ERROR in resources/scripts/components/server/StatGraphs.tsx:107:36 TS2345: Argument of type '{ callback: (this: Scale, value: string | number) => string; }' is not assignable to parameter of type 'TickOptions'. Type '{ callback: (this: Scale, value: string | number) => string; }' is missing the following properties from type 'TickOptions': backdropColor, backdropPadding, display, color, and 7 more. 105 | const [ memoryRef, memory ] = useChart({ callback: (value) => `${value}Mb `, suggestedMax: limits.memory }); 106 | const [ txRef, tx ] = useChart({ callback: (value) => `${value}Kb/s ` }); > 107 | const [ rxRef, rx ] = useChart({ callback: (value) => `${value}Kb/s ` }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 108 | 109 | useWebsocketEvent(SocketEvent.STATS, (data: string) => { 110 | let stats: any = {}; 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] Syncing database values.. [SUCCESS] Blueprint has finished it's installation process. root@ls-main:/var/www/pterodactyl#