Description:
While running a local rocket chat server, when we try to import or deploy an app, the import fails due to deno runtime path resolution bug.
Steps to reproduce:
Run the RocketChat server locally
Create a basic Rocket Chat app outside the rocket chat directory
Upload the app or deploy into the local running rocket chat server
Expected behavior:
The app fails to import as the file path is resolved due a bug in how the require.ts in deno runtime was written.
Actual behavior:
The app should successfully get uploaded and works.
Server Setup Information:
Version of Rocket.Chat Server: 8.3.0-develop
License Type: MIT
Number of Users: 1
Operating System: MacOS 26.3.1
Deployment Method: Local
Number of Running Instances: 1
DB Replicaset Oplog: wiredTiger
NodeJS Version: 22.18.0 - arm64
MongoDB Version: 7.0.16
Client Setup Information
Desktop App or Browser Version: Google Chrome 145.0.7632.162
Operating System: MacOS 26.3.1
Relevant logs:
Logs can be found in this video.
Screen.Recording.2026-03-14.at.12.18.27.PM.mov