# Uncaught Error: Could not find module \`handlebars\` imported from \`discourse-common/lib/raw-handlebars\`

**URL:** <https://meta.discourse.org/t/uncaught-error-could-not-find-module-handlebars-imported-from-discourse-common-lib-raw-handlebars/255501>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [February 17, 2023, 6:02pm UTC](https://meta.discourse.org/t/uncaught-error-could-not-find-module-handlebars-imported-from-discourse-common-lib-raw-handlebars/255501 "2023-02-17T18:02:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![manning-ncsa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manning-ncsa/32/282163_2.png) [@manning-ncsa](https://meta.discourse.org/u/manning-ncsa)\
**Post date:** [April 24, 2023, 3:32pm UTC](https://meta.discourse.org/t/uncaught-error-could-not-find-module-handlebars-imported-from-discourse-common-lib-raw-handlebars/255501/4 "2023-04-24T15:32:34Z")

</div>

I began seeing this error after updating to 3.0.2 from 2.x via the Bitnami chart (`helm.sh/chart: discourse-10.0.5`). Disabling plugins did not seem to affect the behavior. However, when I added the following Ingress annotations [following your advice](https://github.com/bitnami/charts/issues/14913#issuecomment-1436762252) but [adapted for Traefik](https://doc.traefik.io/traefik/routing/services/#sticky-sessions), the problem appears to be solved for my three replicas.

```yaml
traefik.ingress.kubernetes.io/service.sticky.cookie: "true"
traefik.ingress.kubernetes.io/service.sticky.cookie.name: "discourse"
traefik.ingress.kubernetes.io/service.sticky.cookie.samesite: "none"

```

This is the kind of thing that makes me so reluctant to apply apply these major version updates, but we don’t have much of a choice.

---

_[View the full topic](https://meta.discourse.org/t/uncaught-error-could-not-find-module-handlebars-imported-from-discourse-common-lib-raw-handlebars/255501)._
