Something, somewhere, somehow failed! Did you post a link to an unreachable script?
Just trying to minify a simple function, there is no link to an unreachable script.
Using latest Firefox on desktop PC.
I've the same issue. Someone knows how to fix this that ?
In order for someone to help you, you need to provide an example of code that results in this error.
Here you go:
function example() { alert("horrible error message"); }
I managed to minify this normally using the lib locally, but not in the minifier's website. Apparently something in the website is restricting the function alert().
The current website is not hosted at github, so only the owner can fix it.
Something so simple like this its returning that error:
function somethingToDo(){
if(true){
console.log('Error');
}
}
Will give it a try locally.
I'm getting this error even from simple if/else statements like this one:
if(!$(this).hasClass('selected')) {
// do something
} else {
// do something else
}
It's really frustrating.
@matthiasmullie the minifier website is crashing, and I think that's why it's throwing the "something... failed!" message. It's trying to reach minify.php and getting a 403 Forbidden error:
POST https://www.minifier.org/minify.php 403
minify.php is the form action. Could this be simply because the file name is different? Minify.php with a capital letter?