HI can you help me please i install blueprint in my pterodactyle
ERROR in ./resources/scripts/components/server/files/FileNameModal.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/NewDirectoryButton.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/FileObjectRow.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/RenameFileModal.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in resources/scripts/components/elements/CopyOnClick.tsx:35:15
TS2578: Unused '@ts-expect-error' directive.
33 | ? React.Children.only(children)
34 | : React.cloneElement(React.Children.only(children), {
36 | className: classNames(children.props.className || '', 'cursor-pointer'),
37 | onClick: (e: React.MouseEvent<HTMLElement>) => {
38 | copy(String(text));
ERROR in resources/scripts/components/server/files/FileNameModal.tsx:7:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
5 | import Field from '@/components/elements/Field';
6 | import { ServerContext } from '@/state/server';
8 | import tw from 'twin.macro';
9 | import Button from '@/components/elements/Button';
10 |
ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:14:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
12 | import SelectFileCheckbox from '@/components/server/files/SelectFileCheckbox';
13 | import { usePermissions } from '@/plugins/usePermissions';
15 | import { bytesToString } from '@/lib/formatters';
16 | import styles from './style.module.css';
17 |
ERROR in resources/scripts/components/server/files/NewDirectoryButton.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
6 | import { object, string } from 'yup';
7 | import createDirectory from '@/api/server/files/createDirectory';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/RenameFileModal.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
6 | import renameFiles from '@/api/server/files/renameFiles';
7 | import { ServerContext } from '@/state/server';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/UploadButton.tsx:1:17
TS2614: Module '"axios"' has no exported member 'AxiosProgressEvent'. Did you mean to use 'import AxiosProgressEvent from "axios"' instead?
2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl';
3 | import tw from 'twin.macro';
4 | import { Button } from '@/components/elements/button/index';
error Command failed with exit code 2.
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/NewDirectoryButton.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/FileObjectRow.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/RenameFileModal.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in resources/scripts/components/elements/CopyOnClick.tsx:35:15
TS2578: Unused '@ts-expect-error' directive.
33 | ? React.Children.only(children)
34 | : React.cloneElement(React.Children.only(children), {
35 | // @ts-expect-error todo: check on this| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36 | className: classNames(children.props.className || '', 'cursor-pointer'),
37 | onClick: (e: React.MouseEvent<HTMLElement>) => {
38 | copy(String(text));
ERROR in resources/scripts/components/server/files/FileNameModal.tsx:7:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
5 | import Field from '@/components/elements/Field';
6 | import { ServerContext } from '@/state/server';
7 | import { join } from 'pathe';| ^^^^^^^
8 | import tw from 'twin.macro';
9 | import Button from '@/components/elements/Button';
10 |
ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:14:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
12 | import SelectFileCheckbox from '@/components/server/files/SelectFileCheckbox';
13 | import { usePermissions } from '@/plugins/usePermissions';
14 | import { join } from 'pathe';| ^^^^^^^
15 | import { bytesToString } from '@/lib/formatters';
16 | import styles from './style.module.css';
17 |
ERROR in resources/scripts/components/server/files/NewDirectoryButton.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
5 | import { join } from 'pathe';| ^^^^^^^
6 | import { object, string } from 'yup';
7 | import createDirectory from '@/api/server/files/createDirectory';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/RenameFileModal.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
5 | import { join } from 'pathe';| ^^^^^^^
6 | import renameFiles from '@/api/server/files/renameFiles';
7 | import { ServerContext } from '@/state/server';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/UploadButton.tsx:1:17
TS2614: Module '"axios"' has no exported member 'AxiosProgressEvent'. Did you mean to use 'import AxiosProgressEvent from "axios"' instead?
1 | import axios, { AxiosProgressEvent } from 'axios';| ^^^^^^^^^^^^^^^^^^
2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl';
3 | import tw from 'twin.macro';
4 | import { Button } from '@/components/elements/button/index';
error Command failed with exit code 2.

Support