Page 1 of 1

Minifying my .js and .css makes everything goes wrong...

Posted: 31 July 2025, 22:37
by JudgeWhyMe
Hello

I tried to minify the .js file, using the tool provided by the website. I got the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
Could it be because of included .js files?

I tried to minify the .css file: the resulting file was empty

When I tried to return to original files, I had the following messages (for both .js and .css):
Revert to original lesderniersdroides.css file...

/var/tournoi/games/lesderniersdroides/lesderniersdroides.original.css: No such file or directory

rm: cannot remove '/var/tournoi/games/lesderniersdroides/lesderniersdroides.original.css': No such file or directory
rm: cannot remove '/var/tournoi/games/lesderniersdroides/lesderniersdroides.compressed.css': No such file or directory

Done.
Are these knonw issues?

Thanks

Re: Minifying my .js and .css makes everything goes wrong...

Posted: 31 July 2025, 22:48
by JudgeWhyMe
Edit: I tried again, and everything seems to be ok this time... odd