I have these kind of errors on stucking home page of my rocketchat:
Failed to load resource: the server responded with a status of 404 (Not Found)
Refused to execute script from 'https://rocketchat.office129-5.local/meteor_runtime_config.js?hash=d1a24ca8938fc18b2f7ed883a1262c4ff59e9e28' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Uncaught ReferenceError: __meteor_runtime_config__ is not defined
at client_environment.js:1:1
at client_environment.js:78:1
at url_common.js:80:1
It's just endless loading, nothing more How can I fix it? Rocketchat installed as snap
I have tried to revert rocket version but it affects nothing
Rocket.Chat Version: 6.4.7
NodeJS Version: 14.21.3 - x64
MongoDB Version: 6.0.11
MongoDB Engine: wiredTiger
Platform: linux
Process Port: 3000
Site URL: https://test.url ReplicaSet OpLog: Enabled
Commit Hash: xxxxxxxx>
Commit Branch: HEAD
I had same problem so i installed node v12 and build the app again with theses commands:
apt remove --purge npm nodejs
# to remove previous installation of nodejs.curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
# to add node 14.x package in your repository list.apt-get install -y nodejs
# to install version 14.xThen remove rocketchat package via snap
snap remove rocketchat-server
After all of that from rocketchat installation doc rocketchat installation try to download the latest version and build the app again.
Your problem is just because your npm modules built in a bad way or with a bad version of nodejs.
look at these two image attached Before :(
After :)