B
Blueprint•2y ago
IkonoDim

Builder aint building

wassup. I edited a couple of things on my theme but when i tried to build it, it suddenly wouldn't apply the css. But it worked completly fine a couple of seconds ago.
46 Replies
Emma
Emma•2y ago
How many times have you built the extension?
IkonoDim
IkonoDimOP•2y ago
idk but many times
Emma
Emma•2y ago
Could you try building again? If it works completely fine now, I'm not the only one experiencing an insanely weird bug.
IkonoDim
IkonoDimOP•2y ago
tried it again aint workin imma reboot and c whats gonna happen still aint working
IkonoDim
IkonoDimOP•2y ago
No description
IkonoDim
IkonoDimOP•2y ago
these are a couple of warnings i got don't think theyr relevant but it's all i got I think the entire thing just broke nothin is workin 😢
Emma
Emma•2y ago
alright so delete the resources/scripts/blueprint folder then upgrade blueprint using blueprint -upgrade backup your dev files
IkonoDim
IkonoDimOP•2y ago
still aint workin
Emma
Emma•2y ago
Could you send your conf.yml?
IkonoDim
IkonoDimOP•2y ago
# Thank you for developing with Blueprint.
# For documentation about conf.yml, refer to ptero.shop/dev/conf.

info:
name: "Custom Theme 2"
identifier: "custom_theme2"
description: "A Pterodactyl dark mode theme."
flags: ""
version: "1"
target: "alpha-NLM"
author: "ikonodim"
icon: "assets/logo.jpg"

admin:
view: "admin/view.blade.php"
controller: ""
css: ""
wrapper: ""

dashboard:
wrapper: "client/wrapper.blade.html"
css: "client/client.style.css"

data:
directory: ""
public: "public"

database:
migrations: ""
# Thank you for developing with Blueprint.
# For documentation about conf.yml, refer to ptero.shop/dev/conf.

info:
name: "Custom Theme 2"
identifier: "custom_theme2"
description: "A Pterodactyl dark mode theme."
flags: ""
version: "1"
target: "alpha-NLM"
author: "ikonodim"
icon: "assets/logo.jpg"

admin:
view: "admin/view.blade.php"
controller: ""
css: ""
wrapper: ""

dashboard:
wrapper: "client/wrapper.blade.html"
css: "client/client.style.css"

data:
directory: ""
public: "public"

database:
migrations: ""
Emma
Emma•2y ago
could you also show your file tree?
IkonoDim
IkonoDimOP•2y ago
No description
Emma
Emma•2y ago
Could you also show the files inside of the client folder? The following commands should also purge the empty css files webpack is warning you about: rm resources/scripts/blueprint/css/imported/custom_theme.css rm resources/scripts/blueprint/css/imported/recolor.css
IkonoDim
IkonoDimOP•2y ago
No description
Emma
Emma•2y ago
strange Could you try these commands? After that, please try building your extension again.
IkonoDim
IkonoDimOP•2y ago
still not working
IkonoDim
IkonoDimOP•2y ago
No description
IkonoDim
IkonoDimOP•2y ago
got this warning btw my client.style.css is empty
Emma
Emma•2y ago
well there is your problem lol
IkonoDim
IkonoDimOP•2y ago
my css files are in the public folder and i import them through my wrapper.blade
Emma
Emma•2y ago
rm resources/scripts/blueprint/css/imported/custom_theme2.css
Emma
Emma•2y ago
then empty this value
No description
IkonoDim
IkonoDimOP•2y ago
the resources/scripts/blueprint/css/imported/ folder is already empty
Emma
Emma•2y ago
try it anyways
IkonoDim
IkonoDimOP•2y ago
No description
IkonoDim
IkonoDimOP•2y ago
alr
IkonoDim
IkonoDimOP•2y ago
No description
Emma
Emma•2y ago
alright it was just to make sure it was removed now replace the highlighted part with "" aka just make it empty
IkonoDim
IkonoDimOP•2y ago
it built it without any warnings but my css files still dont show up however the scripts from the wrapper blade are there
Emma
Emma•2y ago
could you rename wrapper.blade.html to wrapper.blade.php?
IkonoDim
IkonoDimOP•2y ago
and when i access the urls manually the css files show up
Emma
Emma•2y ago
do CTRL F5 on your panel
IkonoDim
IkonoDimOP•2y ago
im not that dumb... 🤣 didn't make a difference I've noticed that i don't get the time it took blueprint to build the extension
IkonoDim
IkonoDimOP•2y ago
No description
Emma
Emma•2y ago
which is good
IkonoDim
IkonoDimOP•2y ago
alr
Emma
Emma•2y ago
it gave you correct syntax highlighting in your code editor either way check your browser network console because it's 1000% cache
IkonoDim
IkonoDimOP•2y ago
just cuz it's dumb. there wasn't anything wrong actually
Emma
Emma•2y ago
well .blade.html doesn't give you php syntax highlighting, which is something you want when doing more powerful things with blade templates
IkonoDim
IkonoDimOP•2y ago
I used another browser and now everything is working tf
Emma
Emma•2y ago
told ya CTRL F5 refreshes cache try it
IkonoDim
IkonoDimOP•2y ago
it just refreshes the page in my browser anyways. it's working now. thank u so much for ur help
Emma
Emma•2y ago
what happens if you hold shift and click the refresh button? alrighty, glad it worked i'm legally obligated to ask for blueprint github stars so uhh :)
IkonoDim
IkonoDimOP•2y ago
lmao doin it rn
Emma
Emma•2y ago
thanks :)

Did you find this page helpful?