# Unexpected identifier \`#...\` SyntaxError

**URL:** https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411
**Category:** Support
**Created:** [May 9, 2024, 2:20pm UTC](https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411 "2024-05-09T14:20:32Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 9, 2024, 2:37pm UTC](https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411/7 "2024-05-09T14:37:32Z")

</div>

I suspect that Cloudflare’s “optimization” tools are breaking Discourse’s Javascript code. Please can you check that “Rocket Loader” is turned off in your cloudflare config.

More info on Cloudflare best practices [here](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405#best-practices-3).

---

_[View the full topic](https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411)._
