#Errors when compiling source with blueprint addition
1 messages · Page 1 of 1 (latest)
over 2000 chars so here is link https://paste.jordanplayz158.xyz/?19b39d7add486eba#C3UXHiBLjRinfCmsW5LZpTM8GwyCn54ZN1cZYYNiRdNF
yeah, it was when running yarn
You'll have to run the yarn command so it initializes some dependencies.
Anything other than yarn? I do remember running yarn already as is mentioned in the install guide
root@web:/var/www/pterodactyl# yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
root@web:/var/www/pterodactyl#
yeah after it errored, I did apt install the dependencies on the list, one of them did decide to install cmdtest when not specified
Oh I see, so I apt installed yarn which overwrote the one by npm seems like?
Perchance. Try logging out and back in to your shell, might make yarn appear again
yarn is back by re-running npm i -g yarn, I did it before you sent the message
root@web:/var/www/pterodactyl# yarn
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.94s.
Alrighty, could you try to rm -r node_modules and run that yarn command again? Just to make sure it does it correctly.
Alright, thank you for the help so far
weird
could you try to do blueprint -upgrade?
i'll take a closer look at your logs in the meantime
Same errors, good it is consistent at least
I am fairly certain I did not, I will check my local copy vs the panel source code
You could rm the resources folder and go through the manual update steps which should fix the errors.
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Then after that, run yarn and then run blueprint -upgrade again to repair blueprint
Alright, will try
hmm, alright, that worked
Is there a way to remove blueprint so I can retry the install from the guide to see if/where the issue still exists
https://github.com/growtoups/bp-utilities has a "remove" script for blueprint
I think I know what differed, I did unzip the beta zip in /var/www/pterodactyl and replaced the files and not sure if blueprint upgrade does the same
Blueprint upgrade does the same
hmmm...
I think it was just some weird issue with one specific file, might have to do with panel updates or something.
I do know the script has a commit hash while I downloaded from latest release
not sure if the latest release and commit hash match though
Yep, I see, the hash does match the tag's hash
until i submit a new release
does blueprint download the .zip or the source .zip
blueprint -upgrade release .zip
blueprint -upgrade remote git clone
huh, then yeah, don't know the difference, maybe my install wasn't clean? I know I checked the version to ensure it was latest before installing blueprint, very weird
yeah, now I can start working on some extensions
done