B
Blueprint•3w ago
ADI ; )

Error when building assets of panel

Yesterday when I tried installing a addon it gave me an error every time the building part was started by the installation process.
Solution:
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. 5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.
Sent by prplwtf • byte snippet-upgrade
Jump to solution
34 Replies
ADI ; )
ADI ; )OP•3w ago
Heres the error I know it's not related to blueprint but i can't use any addons or blueprint due to this error
gmrrh
gmrrh•3w ago
Whats the error?
ADI ; )
ADI ; )OP•3w ago
https://ptero.co/uvasutomas.typescript RpcRemoteError: Plugin "react" was conflicted between ".eslintrc.js" and "../../../.eslintrc.js". Sorry for ping forgot to disable
Chriss Quartz
Chriss Quartz•3w ago
I'd suggest contacting the addon developer about this
ADI ; )
ADI ; )OP•3w ago
Well the addon is working fine Building panel frontend gives error
Chriss Quartz
Chriss Quartz•3w ago
and if you remove the addon does it go away?
ADI ; )
ADI ; )OP•3w ago
Nope
Chriss Quartz
Chriss Quartz•3w ago
also why are you building the panel? is the addon not compatible with blueprint?
ADI ; )
ADI ; )OP•3w ago
The front end needs to be rebuilt every time a new addon is installed It is compatible with blueprint
Chriss Quartz
Chriss Quartz•3w ago
you don't need to build it blueprint does that for you
ADI ; )
ADI ; )OP•3w ago
Yes i don't And that is failing Blueprint building is getting an error
Chriss Quartz
Chriss Quartz•3w ago
it is most deffo one of your addons causing that error then
ADI ; )
ADI ; )OP•3w ago
No I've tested it in a different vps it's working just fine
Chriss Quartz
Chriss Quartz•3w ago
if you do blueprint -upgrade it'll basically reinstall blueprint and reset it to factory settings
ADI ; )
ADI ; )OP•3w ago
Sure I'll try that
Chriss Quartz
Chriss Quartz•3w ago
and then you can easily reinstall the addons after that works
ADI ; )
ADI ; )OP•3w ago
Even ptero rebuilding front end doesn't work So maybe I messed up something globally
Chriss Quartz
Chriss Quartz•3w ago
like using from the ptero docs?
ADI ; )
ADI ; )OP•3w ago
Yes
Chriss Quartz
Chriss Quartz•3w ago
that's normal
ADI ; )
ADI ; )OP•3w ago
It gives the same error
Chriss Quartz
Chriss Quartz•3w ago
oh nvm
ADI ; )
ADI ; )OP•3w ago
It gives the exact error
Chriss Quartz
Chriss Quartz•3w ago
What's interesting is its to do with eslint, which is basically code formatting stuff and react, which is what the frontend of pterodactyl is built on is confused on which one to use, even though there should only be one
ADI ; )
ADI ; )OP•3w ago
I tried to ask in ptero discord but no response Maybe I should also ask to eslint support
Emma
Emma•3w ago
@ADI ; ) try the following
Solution
Blueprint
Blueprint•3w 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. 5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.
Sent by prplwtf • byte snippet-upgrade
ADI ; )
ADI ; )OP•3w ago
Okay I'll try it I can't try it out now since I will have to put panel in maintenance mode
Emma
Emma•3w ago
What's wrong with that? takes like less than 3 minutes
ADI ; )
ADI ; )OP•3w ago
Im using a non-blueprint theme Medusa so I have to remove it before I install blueprint Yesterday I tried shifting to blueprint since I got some addons But it gave me those errors so i just reverted to a backup
Zeph
Zeph•3w ago
That will be your issue, blueprint and any blueprint addon is incompatible with non-blueprint themes or addons since they have a high likelihood of overriding things vital to blueprints function
ADI ; )
ADI ; )OP•3w ago
Yes that's why I said I can't run this now I have to remove the theme and a subdomain addon and then try upgrading blueprint
Zeph
Zeph•3w ago
Oh my bad, I read non-blueprint theme and just assumed you were trying to use both 😅
ADI ; )
ADI ; )OP•3w ago
No problem Blueprint makes it easy for me to not break anything while installing extensions on my panel That's the reason I am shifting But it didn't work yesterday so I will try it tonight Okay it is now working Just followed the upgrade guide

Did you find this page helpful?