Error - Whitepage - Recolor - Install

I tried to install Recolor, but this error came in the terminal, and when I tried to load the panel, I got a white page with these errors in the Chrome console. Can anyone pls help?
No description
No description
32 Replies
Emma
Emma2y ago
Cross-env is required for panel building
No description
SpeastTV
SpeastTVOP2y ago
I installed cross-env with "npm install cross-env" and it succeeded but I still get the same error as before
Emma
Emma2y ago
Could you run "blueprint -remove recolor" and then "blueprint -install recolor"?
SpeastTV
SpeastTVOP2y ago
I try
SpeastTV
SpeastTVOP2y ago
Also the error
No description
Emma
Emma2y ago
have you ran "npm install cross-env" inside of /var/www/pterodactyl?
SpeastTV
SpeastTVOP2y ago
um, no
Emma
Emma2y ago
cd /var/www/pterodactyl
npm install cross-env
blueprint -remove recolor
blueprint -install recolor
cd /var/www/pterodactyl
npm install cross-env
blueprint -remove recolor
blueprint -install recolor
Just paste this in your terminal if you haven't fixed it already and it should work.
SpeastTV
SpeastTVOP2y ago
I think something didn't work :/
No description
No description
Emma
Emma2y ago
could you try npm ls?
SpeastTV
SpeastTVOP2y ago
in "/var/www/pterodactyl"?
Emma
Emma2y ago
yeah should print all npm modules
SpeastTV
SpeastTVOP2y ago
ouf
Emma
Emma2y ago
takes a bit
SpeastTV
SpeastTVOP2y ago
No description
Emma
Emma2y ago
alrighty i know what to do
SpeastTV
SpeastTVOP2y ago
No description
Emma
Emma2y ago
chown -R www-data:www-data /var/www/pterodactyl/* Could you run this?
SpeastTV
SpeastTVOP2y ago
ok done
Emma
Emma2y ago
after that run npm ls again
SpeastTV
SpeastTVOP2y ago
I ran it in "/var/www/pterodactyl" could this be the problem?
No description
Emma
Emma2y ago
that can't be the problem wait do you have yarn? wait nvm Could you run yarn install in the /var/www/pterodactyl folder? can take a bit but that will get all the dependencies for you
SpeastTV
SpeastTVOP2y ago
okay, one moment
SpeastTV
SpeastTVOP2y ago
should be installed now
No description
Emma
Emma2y ago
alright now try npm ls again
SpeastTV
SpeastTVOP2y ago
working
No description
Emma
Emma2y ago
awesome, run these commands again and let me know how it goes
SpeastTV
SpeastTVOP2y ago
So, the white screen is no longer there, the panel works as it should, I think and in the terminal, it looks fine. But there are errors with React.
No description
No description
No description
Emma
Emma2y ago
if the -install had no errors there is probably nothing to worry about
SpeastTV
SpeastTVOP2y ago
nope, no errors
Emma
Emma2y ago
alright
SpeastTV
SpeastTVOP2y ago
Then, a very big thanks

Did you find this page helpful?