Errors on install, bricked the panel.
Latest Pterodactyl, no mods at all. (assumed it worked because there was no version mentioned in the install guide)
I ran bluepint -upgrade after to see if it would fix it but returned the same errors
Ubuntu 22.04
Nginx
11 Replies
It should work on Ubuntu @Emma ? If you've followed all the steps in the installation guide, it should actually work, unless it's genuinely an issue with the operating system
uhm that doesn't look like an operating system issue
Are you using any addons along side blueprint?
Didn’t see the start of the message
Let me get to pc and I’ll have a closer look
ok mate
Mismatched arguments:
Expected 2 arguments, but got 1 indicates that the function enableAccountTwoFactor expects two arguments but you provided only one (code).
Import/export issues:
Module '"@feature/index"' has no exported member 'EulaModalFeature' (and similar errors) suggests that in the file @feature/index, there's no export named EulaModalFeature. You might need to check if that module exports those members, or if you need to adjust the import statement.
Module '"@/helpers"' has no exported member 'bytesToHuman' (and similar errors) indicates that the @/helpers module does not export bytesToHuman or the other listed functions. Check your helpers file to ensure the necessary functions are being exported.
Property does not exist:
Property 'isInstalling' does not exist on type 'Server' suggests that the type definition for Server does not have a property named isInstalling. You need to either add this property to the type definition or check the property name for a typo.
TypeScript type issues:
Errors related to Type ... is not assignable to type ... indicate that there's a mismatch between the expected type and the provided type. For instance, the error on the xAxes and yAxes properties in StatGraphs.tsx suggests that the structure of the objects you provided doesn't match the expected structure for the CartesianScaleOptions or related type definitions.
Cannot use namespace 'Chart' as a type means that the Chart you're trying to use as a type is being recognized as a namespace. Ensure that Chart is a type that can be used in this context or import the appropriate type for this purpose.
Steps to resolve:
Mismatched arguments:
Check the definition of enableAccountTwoFactor and ensure you're providing all required arguments.
Import/export issues:
Check @feature/index and @/helpers modules to ensure the required exports are available. If they're named exports, ensure you're importing them correctly. If they're default exports, adjust the import statements accordingly.
Property does not exist:
Review your type definitions and adjust them as necessary. Ensure that the properties you're trying to access (isInstalling, etc.) are part of your type definitions.
TypeScript type issues:
You might need to adjust the structure of your objects to match the expected types or use type assertions to guide TypeScript.
For the Chart error, make sure you're importing and using the correct type. If Chart is a class, it can be used as a type, but if it's something else (like a namespace), you might have to find the appropriate type from the chart.js library or its type definitions.
wouldn't this be a "forgot to initialize yarn" issue?
huh?
I followed the guide exactly
pretty sure the script ran yarn itself too
full log
Could you try the following commands in the
/var/www/pterodactyl
folder?
npm ls
npm install cross-env
yarn
blueprint -upgrade
You might experience errors with npm commands, just ignore em.Sure, ill try reinstall it again and let you know what happens
alrighty