Uncaught SyntaxError

Hi there,

I get this “Uncaught SyntaxError: Unexpected End of input”. every time I activate Rocket Loader. Is it because js is minified in Cloudflare and not in my LSCache? I can see rocket-loader.min.js. What is it?

Thank you.

A library you use is likely incompatible with Rocket Loader, so you won’t be able to use it unless you either fix the code that’s erroring (which might not be possible) or use a different library.

What library are you talking about?
I don’t see any faults on the front end and Rocket Loader is speeding up my site like x2. I only see this error in WebDev Tools in Chrome.

That error isn’t in rocket loader itself; rocket loader does often have issues with certain JS libraries and might have issues like the one posted above. If there is no noticeable issue with your page using Rocket Loader, the problem is likely in some irrelevant script and you could just continue to let the error happen with no issues.

Thanks mate. That’s what I thought. I might be just overthinking it.

This topic was automatically closed after 30 days. New replies are no longer allowed.