Closed RadNotRed closed 2 years ago
Do u run it as root?
yeah i am
It might be because im stuck on node 10.19.0 i cant upgrade to node 12 because it says
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Yes thats the problem
Im gonna try to upgrade it somehow ill lyk how it goes
okay, i fixed that now when i install do yarn build:production
ERROR in ./resources/scripts/components/server/ServerConsole.tsx
Module not found: Error: Can't resolve '@/components/elements/SuspenseSpinner' in '/var/www/pterodactyl/resources/scripts/components/server'
@ ./resources/scripts/components/server/ServerConsole.tsx 11:0-68 113:197-212
@ ./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/server/ServerConsole.tsx:3:29
sorry forgot the 2nd half
TS2307: Cannot find module '@/components/elements/SuspenseSpinner' or its corresponding type declarations.
1 | import React, { lazy, memo } from 'react';
2 | import { ServerContext } from '@/state/server';
> 3 | import SuspenseSpinner from '@/components/elements/SuspenseSpinner';
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | import Can from '@/components/elements/Can';
5 | import ContentContainer from '@/components/elements/ContentContainer';
6 | import tw from 'twin.macro';
error Command failed with exit code 2.
I have fixed this for people who want to use v1, but v2 is much better. https://github.com/HM4Development/mcpaste-addon/
What do you have to do to get the addons/themes? I do the script, installed Mcpaste, More Server Info, and DarkNRed and it doesn't work even after rebuilding with yarn