Errors when compiling source with blueprint addition

Hope I am just an idiot and missed something, will post the errors
38 Replies
Emma
Emma2y ago
sounds to me like a yarn error didn't read the log yet though haha yep nailed it
JordanPlayz158
JordanPlayz158OP2y ago
yeah, it was when running yarn
Emma
Emma2y ago
You'll have to run the yarn command so it initializes some dependencies.
JordanPlayz158
JordanPlayz158OP2y ago
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#
root@web:/var/www/pterodactyl# yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
root@web:/var/www/pterodactyl#
Emma
Emma2y ago
Oh wait do you have cmdtest installed? apt remove cmdtest
JordanPlayz158
JordanPlayz158OP2y ago
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?
Emma
Emma2y ago
Perchance. Try logging out and back in to your shell, might make yarn appear again
JordanPlayz158
JordanPlayz158OP2y ago
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.
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.
Emma
Emma2y ago
Alrighty, could you try to rm -r node_modules and run that yarn command again? Just to make sure it does it correctly.
JordanPlayz158
JordanPlayz158OP2y ago
Alright, thank you for the help so far
Emma
Emma2y ago
no problem once that command finishes feel free to run blueprint -rerun-install
JordanPlayz158
JordanPlayz158OP2y ago
Doing that now Same errors hmm
Emma
Emma2y ago
weird could you try to do blueprint -upgrade? i'll take a closer look at your logs in the meantime
JordanPlayz158
JordanPlayz158OP2y ago
Same errors, good it is consistent at least
Emma
Emma2y ago
lmfaoo did any pterodactyl mods previously?
JordanPlayz158
JordanPlayz158OP2y ago
I am fairly certain I did not, I will check my local copy vs the panel source code
Emma
Emma2y ago
You could rm the resources folder and go through the manual update steps which should fix the errors.
Emma
Emma2y ago
Updating the Panel | Pterodactyl
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.
Emma
Emma2y ago
Then after that, run yarn and then run blueprint -upgrade again to repair blueprint
JordanPlayz158
JordanPlayz158OP2y ago
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
Emma
Emma2y ago
https://github.com/growtoups/bp-utilities has a "remove" script for blueprint
GitHub
GitHub - growtoups/bp-utilities: BP-UTILITIES, an unofficial bluepr...
BP-UTILITIES, an unofficial blueprint script, now allows for hassle-free installation and uninstallation of blueprint, with the added capability to simultaneously update Pterodactyl and Blueprint, ...
JordanPlayz158
JordanPlayz158OP2y ago
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
Emma
Emma2y ago
Blueprint upgrade does the same
JordanPlayz158
JordanPlayz158OP2y ago
hmmm...
Emma
Emma2y ago
I think it was just some weird issue with one specific file, might have to do with panel updates or something.
JordanPlayz158
JordanPlayz158OP2y ago
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
Emma
Emma2y ago
at the moment yes, usually no when i commit a new change it shouldn't match
JordanPlayz158
JordanPlayz158OP2y ago
Yep, I see, the hash does match the tag's hash
Emma
Emma2y ago
until i submit a new release
JordanPlayz158
JordanPlayz158OP2y ago
does blueprint download the .zip or the source .zip
Emma
Emma2y ago
blueprint -upgrade release .zip blueprint -upgrade remote git clone
JordanPlayz158
JordanPlayz158OP2y ago
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
Emma
Emma2y ago
probably, yeah at least it works now
JordanPlayz158
JordanPlayz158OP2y ago
yeah, now I can start working on some extensions
Emma
Emma2y ago
alrighty visit /admin/extensions/blueprint to enable developer mode
JordanPlayz158
JordanPlayz158OP2y ago
done
Emma
Emma2y ago
alrighty

Did you find this page helpful?