root@vmi743304:/var/www/pterodactyl# yarn build:production
yarn run v1.22.18
$ 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: fac54d1250cd39a69ed0
Version: webpack 4.43.0
Time: 62243ms
Built at: 10/28/2022 8:37:32 PM
16 assets
Entrypoint main = bundle.b66045bc.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]
[35] ./node_modules/react-transition-group/esm/index.js + 4 modules 22.6 KiB {5} [built]
| 5 modules
[49] ./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 46.8 KiB {5} [built]
[50] ./resources/scripts/state/server/index.ts + 5 modules 5.56 KiB {5} [built]
| ./resources/scripts/state/server/index.ts 2.34 KiB [built]
| ./resources/scripts/state/server/socket.ts 284 bytes [built]
| ./resources/scripts/state/server/files.ts 1.22 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]
[58] ./resources/scripts/state/hooks.ts 280 bytes {5} [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 + 22 modules 121 KiB {5} [built]
| ./resources/scripts/index.tsx 543 bytes [built]
| ./resources/scripts/i18n.ts 1.08 KiB [built]
| ./resources/scripts/assets/css/GlobalStylesheet.ts 1.88 KiB [built]
| ./resources/scripts/api/interceptors.ts 772 bytes [built]
| ./resources/scripts/assets/tailwind.css 410 bytes [built]
| + 18 hidden modules
[406] ./resources/scripts/routers/ServerRouter.tsx + 11 modules 31.7 KiB {6} [built]
| ./resources/scripts/routers/ServerRouter.tsx 5.71 KiB [built]
| ./resources/scripts/routers/ServerElements.tsx 4.01 KiB [built]
| ./resources/scripts/routers/SideBarElements.tsx 2.1 KiB [built]
| ./resources/scripts/plugins/Websocket.ts 2.46 KiB [built]
| ./resources/scripts/api/server/getWebsocketToken.ts 354 bytes [built]
| + 7 hidden modules
[408] ./resources/scripts/routers/AuthenticationRouter.tsx + 9 modules 28.4 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]
| + 5 hidden modules
[409] ./resources/scripts/routers/DashboardRouter.tsx + 5 modules 31.5 KiB {4} [built]
| ./resources/scripts/routers/DashboardRouter.tsx 3.27 KiB [built]
| ./resources/scripts/api/server/getServerResourceUsage.ts 767 bytes [built]
| + 4 hidden modules
+ 396 hidden modules
ERROR in ./resources/scripts/components/NavigationBar.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components'
@ ./resources/scripts/components/NavigationBar.tsx 4:0-38 53:38-47 61:38-49 70:38-47 77:38-46 85:38-46 96:38-51 102:38-49
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/NavigationBarServer.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components'
@ ./resources/scripts/components/NavigationBarServer.tsx 4:0-38 60:38-47 67:38-49 80:38-51 86:38-49
@ ./resources/scripts/routers/ServerRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/dashboard/search/SearchContainer.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/dashboard/search'
@ ./resources/scripts/components/dashboard/search/SearchContainer.tsx 3:0-38 27:38-49
@ ./resources/scripts/routers/ServerRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/CollapseBtn.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom'
@ ./resources/scripts/components/elements/custom/CollapseBtn.tsx 3:0-38 31:91-105
@ ./resources/scripts/routers/ServerRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/Alert.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom'
@ ./resources/scripts/components/elements/custom/Alert.tsx 3:0-38 73:43-52 78:50-66 83:46-58 88:50-66
@ ./resources/scripts/routers/ServerRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/DarkModeToggler.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom'
@ ./resources/scripts/components/elements/custom/DarkModeToggler.tsx 2:0-38 24:38-47
@ ./resources/scripts/components/NavigationBar.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/social/Website.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom/social'
@ ./resources/scripts/components/elements/custom/social/Website.tsx 3:0-38 19:38-47
@ ./resources/scripts/components/elements/custom/SocialButtons.tsx
@ ./resources/scripts/components/NavigationBar.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/social/Billing.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom/social'
@ ./resources/scripts/components/elements/custom/social/Billing.tsx 3:0-38 19:38-53
@ ./resources/scripts/components/elements/custom/SocialButtons.tsx
@ ./resources/scripts/components/NavigationBar.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/social/Status.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom/social'
@ ./resources/scripts/components/elements/custom/social/Status.tsx 3:0-38 19:38-47
@ ./resources/scripts/components/elements/custom/SocialButtons.tsx
@ ./resources/scripts/components/NavigationBar.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/elements/custom/social/Knowledgebase.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/elements/custom/social'
@ ./resources/scripts/components/elements/custom/social/Knowledgebase.tsx 3:0-38 19:38-51
@ ./resources/scripts/components/elements/custom/SocialButtons.tsx
@ ./resources/scripts/components/NavigationBar.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/server/console/SideGraph.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/server/console'
@ ./resources/scripts/components/server/console/SideGraph.tsx 52:0-38 174:167-177 176:238-248 178:238-248 180:161-171 186:38-48 196:38-48 204:38-47 210:38-49
@ ./resources/scripts/components/server/console/ServerConsoleContainer.tsx
@ ./resources/scripts/routers/routes.ts
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/components/server/console/TopElement.tsx
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/components/server/console'
@ ./resources/scripts/components/server/console/TopElement.tsx 13:0-38 35:167-177 37:238-248 39:238-248 41:161-171 49:38-48 57:38-47 63:38-49
@ ./resources/scripts/components/server/console/ServerConsoleContainer.tsx
@ ./resources/scripts/routers/routes.ts
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in ./resources/scripts/routers/routes.ts
Module not found: Error: Can't resolve 'react-feather' in '/var/www/pterodactyl/resources/scripts/routers'
@ ./resources/scripts/routers/routes.ts 26:0-38 38:10-19 44:10-19 49:10-18 54:10-18 61:10-23 68:10-21 79:10-23 85:10-23 96:10-20 102:10-19 108:10-20 114:10-22 120:10-23 126:10-18 132:10-20 138:10-22 145:10-22 152:10-19 171:10-22 178:10-22 185:10-19 192:10-22 199:10-18
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
ERROR in resources/scripts/components/dashboard/search/SearchContainer.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import useEventListener from '@/plugins/useEventListener';
4 | import SearchModal from '@/components/dashboard/search/SearchModal';
5 | import styled from 'styled-components/macro';
ERROR in resources/scripts/components/elements/custom/Alert.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import styled from 'styled-components/macro';
4 | import getTheme from '@/api/getThemeData';
5 | import AlertDescription from '@/components/elements/custom/AlertDescription';
ERROR in resources/scripts/components/elements/custom/CollapseBtn.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import * as React from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import styled from 'styled-components/macro';
4 |
5 | const HideShowIcon = styled.div`
ERROR in resources/scripts/components/elements/custom/DarkModeToggler.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import * as React from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 |
4 | export default () => {
5 | if (localStorage.getItem('modes') == 'darkMode'){
ERROR in resources/scripts/components/elements/custom/social/Billing.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import getTheme from '@/api/getThemeData';
4 |
5 | export default () => {
ERROR in resources/scripts/components/elements/custom/social/Discord.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import getTheme from '@/api/getThemeData';
4 |
5 | export default () => {
ERROR in resources/scripts/components/elements/custom/social/Knowledgebase.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import getTheme from '@/api/getThemeData';
4 |
5 | export default () => {
ERROR in resources/scripts/components/elements/custom/social/Status.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import getTheme from '@/api/getThemeData';
4 |
5 | export default () => {
ERROR in resources/scripts/components/elements/custom/social/Website.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import React, { useEffect, useState } from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import getTheme from '@/api/getThemeData';
4 |
5 | export default () => {
ERROR in resources/scripts/components/NavigationBar.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import * as React from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import { Link, NavLink } from 'react-router-dom';
4 | import { useStoreState } from 'easy-peasy';
5 | import { ApplicationStore } from '@/state';
ERROR in resources/scripts/components/NavigationBarServer.tsx:2:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
1 | import * as React from 'react';
> 2 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
3 | import { Link, NavLink } from 'react-router-dom';
4 | import { useStoreState } from 'easy-peasy';
5 | import { ApplicationStore } from '@/state';
ERROR in resources/scripts/components/server/console/ServerConsoleContainer.tsx:62:30
TS2304: Cannot find name 'Can'.
60 | <div className={'mb-4'}>
61 | <Spinner.Suspense>
> 62 | <Can action={['players.view']} matchAny>
| ^^^
63 | <ServerInformation />
64 | </Can>
65 | </Spinner.Suspense>
ERROR in resources/scripts/components/server/console/ServerConsoleContainer.tsx:64:31
TS2304: Cannot find name 'Can'.
62 | <Can action={['players.view']} matchAny>
63 | <ServerInformation />
> 64 | </Can>
| ^^^
65 | </Spinner.Suspense>
66 | </div>
67 | <div className={'grid grid-cols-1 md:grid-cols-3 gap-2 sm:gap-4'}>
ERROR in resources/scripts/components/server/console/SideGraph.tsx:12:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
10 | import styled,{ css } from 'styled-components/macro';
11 | import useWebsocketEvent from '@/plugins/useWebsocketEvent';
> 12 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
13 | import { Connecting, Installing, Transferring } from '@/lang';
14 |
15 | const DetailsItem = styled.div`
ERROR in resources/scripts/components/server/console/TopElement.tsx:6:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
4 | import CopyOnClick from '@/components/elements/CopyOnClick';
5 | import { ip } from '@/lib/formatters';
> 6 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
7 |
8 | const DetailsItem = styled.div`
9 | position:relative;
ERROR in resources/scripts/routers/routes.ts:26:23
TS2307: Cannot find module 'react-feather' or its corresponding type declarations.
24 | import PlayersContainer from '@/components/server/players/PlayersContainer';
25 | import * as Lang from '@/lang';
> 26 | import * as Icon from 'react-feather';
| ^^^^^^^^^^^^^^^
27 |
28 | // Each of the router files is already code split out appropriately — so
29 | // all of the items above will only be loaded in when that router is loaded.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run