Facing issues in rocket chat UI on AWS env

Description

It is working fine in my local machine but when I deploy my customise build on environment I am getting error:

This is the error I am getting on my developers’s console when I try to load page where I am loading rocket chat as an iframe. But somehow its working in my local machine .

My buiild is successful and docker image is successfully build.

VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:568 Error: Cannot find module ‘./…/…/…/components/Header’
at y (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:3)
at d.resolve (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:3)
at d.c [as link] (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:5)
at module (VM154 Skeleton.tsx:1)
at VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:696
at g (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:3)
at d.n [as require] (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:3)
at d.c [as link] (VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:5)
at module (VM153 RoomProvider.tsx:1)
at VM26 3994a79b9f3cd5dec50989241443ed3510e5dac9.js:696

Server Setup Information

  • Version of Rocket.Chat Server: 3.18.1
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 12.22.1
  • MongoDB Version: 4.4.4
  • Proxy:
  • Firewalls involved:

Any additional Information

hi team can anyone help me on above issue?

Hi! This is a very specific and hard to debug issue.

Can you try posting this thread at our #dev at open?

Also, have you tried this at newer version?

Thanks!