RocketChat / RocketChat/Rocket.Chat

upgrade from 5.4.10 to 6.4.5, I get this error

Open
#30,938 4 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

When I upgrade from 5.4.10 to 6.4.5, I get this error

https://rchat.karabaman.ir/meteor_runtime_config.js?hash=3a8319b669285a5d286cb63115b81b33919d20b1 net::ERR_ABORTED 404 (Not Found)

home:1 Refused to execute script from 'https://rchat.karabaman.ir/meteor_runtime_config.js?hash=3a8319b669285a5d286cb63115b81b33919d20b1' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

client_environment.js:1 Uncaught ReferenceError: _meteor_runtimeconfig is not defined

at client_environment.js:1:1

at client_environment.js:78:1

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

Start by reproducing the upgrade from 5.4.10 to 6.4.5 and inspect the requested meteor_runtime_config.js URL and the client_environment.js stack trace. Done means the runtime configuration loads successfully and the reported 404, MIME-type, and _meteor_runtimeconfig errors no longer occur.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.