Плагин для pterodactyl Pterodactyl [v1.x] Addon - Tickets System [v1.2.1 FIXED]

bobobo
bobobo разместил(а) новый ресурс:

Pterodactyl [v1.x] Addon - Tickets System - Система тикетов на вашу панель Pterodactyl

Это аддон для Pterodactyl Panel

Описание:​

Клиенты могут создавать неограниченное количество тикетов из панели, а штатные пользователи могут (открывать, закрывать и отвечать) по тикетам из панели администратора.

Посмотреть вложение 410
Посмотреть вложение 411
Посмотреть вложение 412
Посмотреть вложение 413
Посмотреть вложение 414

Монтаж:
1. Загрузите файлы (только папки app, database, resources папку ресурсов) в...

Посмотреть страницу этого ресурса...
 
Wisebear
ERROR in ./resources/scripts/routers/TicketsRouter.tsx
Module not found: Error: Can't resolve '@/components/screens/NotFound' in '/var/www/pterodactyl/resources/scripts/routers'
@ ./resources/scripts/routers/TicketsRouter.tsx 4:0-53 34:15-23
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx

ERROR in resources/scripts/api/tickets/CloseTicket.ts:6:25
TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
4 | return new Promise((resolve, reject) => {
5 | http.post(`/api/client/tickets/close/${id}`)
> 6 | .then(() => resolve())
| ^^^^^^^^^
7 | .catch(reject);
8 | });
9 | };

ERROR in resources/scripts/routers/TicketsRouter.tsx:4:22
TS2307: Cannot find module '@/components/screens/NotFound' or its corresponding type declarations.
2 | import { NavLink, Route, RouteComponentProps, Switch } from 'react-router-dom';
3 | import NavigationBar from '@/components/NavigationBar';
> 4 | import NotFound from '@/components/screens/NotFound';
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | import TransitionRouter from '@/TransitionRouter';
6 | import SubNavigation from '@/components/elements/SubNavigation';
7 | import TicketsContainer from '@/components/dashboard/tickets/TicketsContainer';
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@bill:/var/www/pterodactyl#
 
bobobo
ERROR in ./resources/scripts/routers/TicketsRouter.tsx
Module not found: Error: Can't resolve '@/components/screens/NotFound' in '/var/www/pterodactyl/resources/scripts/routers'
@ ./resources/scripts/routers/TicketsRouter.tsx 4:0-53 34:15-23
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx

ERROR in resources/scripts/api/tickets/CloseTicket.ts:6:25
TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
4 | return new Promise((resolve, reject) => {
5 | http.post(`/api/client/tickets/close/${id}`)
> 6 | .then(() => resolve())
| ^^^^^^^^^
7 | .catch(reject);
8 | });
9 | };

ERROR in resources/scripts/routers/TicketsRouter.tsx:4:22
TS2307: Cannot find module '@/components/screens/NotFound' or its corresponding type declarations.
2 | import { NavLink, Route, RouteComponentProps, Switch } from 'react-router-dom';
3 | import NavigationBar from '@/components/NavigationBar';
> 4 | import NotFound from '@/components/screens/NotFound';
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | import TransitionRouter from '@/TransitionRouter';
6 | import SubNavigation from '@/components/elements/SubNavigation';
7 | import TicketsContainer from '@/components/dashboard/tickets/TicketsContainer';
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@bill:/var/www/pterodactyl#
Что это?
 
ВерхНиз