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

Did you find this page helpful?