B
Blueprint8mo ago
Robin

After update

Quick question, I just updated my panel and Blueprint disappeared which is obvious (I understand why and how). How can I fix this?
9 Replies
Red Banana ¬ NL
I think it was "blueprint -rerun-install"
Robin
RobinOP8mo ago
Thnx, dankje
Auri
Auri8mo ago
yeah its the reinstall cmd
Robin
RobinOP8mo ago
ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:41:79
TS2339: Property 'BlueprintFramework' does not exist on type 'Server'.
39 | export const NavigationLinks = () => {
40 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin);
> 41 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId);
| ^^^^^^^^^^^^^^^^^^
42 | const match = useRouteMatch<{ id: string }>();
43 | const to = (value: string, url = false) => {
44 | if (value === '/') {

ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:99:79
TS2339: Property 'BlueprintFramework' does not exist on type 'Server'.
97 | export const NavigationRouter = () => {
98 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin);
> 99 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId);
| ^^^^^^^^^^^^^^^^^^
100 | const match = useRouteMatch<{ id: string }>();
101 | const to = (value: string, url = false) => {
102 | if (value === '/') {
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:41:79
TS2339: Property 'BlueprintFramework' does not exist on type 'Server'.
39 | export const NavigationLinks = () => {
40 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin);
> 41 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId);
| ^^^^^^^^^^^^^^^^^^
42 | const match = useRouteMatch<{ id: string }>();
43 | const to = (value: string, url = false) => {
44 | if (value === '/') {

ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:99:79
TS2339: Property 'BlueprintFramework' does not exist on type 'Server'.
97 | export const NavigationRouter = () => {
98 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin);
> 99 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId);
| ^^^^^^^^^^^^^^^^^^
100 | const match = useRouteMatch<{ id: string }>();
101 | const to = (value: string, url = false) => {
102 | if (value === '/') {
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
All green except this Blueprint icon is not visible on the panel. Retried the command, did not solve.
Emma
Emma8mo ago
byte snippet-upgrade
Blueprint
Blueprint8mo ago
1. Remove certain files and directories with rm -r resources public node_modules. 2. Go through the Pterodactyl update documentation. 3. Install dependencies by running the yarn command. 4. Repair Blueprint with blueprint -upgrade. 5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.
byte snippet-upgrade
Emma
Emma8mo ago
@Robin ^^
Robin
RobinOP8mo ago
Upgrade command fixed it just now Thanks Emma!
Emma
Emma8mo ago
no problem ^-^

Did you find this page helpful?