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

Game development with Board Game Arena Studio
Post Reply
User avatar
JudgeWhyMe
Posts: 36
Joined: 08 August 2012, 17:14

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

Post 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
User avatar
JudgeWhyMe
Posts: 36
Joined: 08 August 2012, 17:14

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

Post by JudgeWhyMe »

Edit: I tried again, and everything seems to be ok this time... odd
Post Reply

Return to “Developers”