RocketChat / RocketChat/Rocket.Chat

Cannot find module '/client/polyfills/index.ts' in browser console

Open
#30,784 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I am trying to upgrade from 6.2.10 to 6.4.4 according to https://docs.rocket.chat/deploy/deploy-rocket.chat/additional-deployment-methods/deploy-on-debian or https://docs.rocket.chat/deploy/deploy-rocket.chat/updating-rocket.chat Everything goes well, I start service OK. But when I go to URL I see progress indicator (three dots) animating forever. When I open browser DevTools console, then I see an error:

url_common.js:80 Uncaught (in promise) Error: Cannot find module '/client/polyfills/index.ts'
    at y (url_common.js:80:1)
    at g (url_common.js:80:1)
    at d.r [as require] (url_common.js:80:1)
    at d.x [as link] (verifyErrors.js:34:1)
    at verifyErrors.js:34:1
    at dynamics_browser.js:74:1

Which is not happening with version 6.2.10.

Server Setup Information:
Client Setup Information
  • Desktop App or Browser Version: Up to date Chrome or Firefox
  • Operating System: Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upgrade from 6.2.10 to 6.4.4 using the Debian tar deployment and inspect the browser stack in url_common.js, verifyErrors.js, and dynamics_browser.js. Check how /client/polyfills/index.ts is referenced during client startup; done means the browser loads the application without the missing-module error or an endless progress indicator.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.