incorrect nodejs version
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.
24 Replies
byte snippet-upgrade
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 remote blueprintframework/fallback
.
5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.byte snippet-upgrade
Your script say unsupported Node version
@Emma
Which node version are you running?
Uhmmm
16.20.2
yeah you need to update that
You can
apt remove nodejs
and then follow this from the installation guide
Its Not working
Its the Same Version
are you logged in as root
Yes
Ofc
uhh
Could you try out node version manager?
(do a quick google, ping me if you need help)
@Emma Pterodactyl does not work with my V20
v20 as in?
NodeJS v20
Could you run
sudo node -v
?16.20.2
Yeah, that is the root user's node version, which you need to update.
sudo nvm install 20
Then pterodactyl no longer works
Are you sure? This has nothing to do with Pterodactyl.
Yea
Tried it so many times
Could you try anyways? Blueprint won't function with NodeJS v16.
wait
@Emma i fixed it ^^
Alrighty! Glad you got it working.