RocketChat / RocketChat/Rocket.Chat
Cannot find module '/client/polyfills/index.ts' in browser console
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:
- Version of Rocket.Chat Server: 6.4.4
- Operating System: Debian 10.13
- Deployment Method: tar https://docs.rocket.chat/deploy/deploy-rocket.chat/additional-deployment-methods/deploy-on-debian
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 14.21.3
- MongoDB Version: 4.4.13
Client Setup Information
- Desktop App or Browser Version: Up to date Chrome or Firefox
- Operating System: Windows 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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