Add Deno to Rocket.Chat for Apps to work
-
To ensure full functionality of Rocket.Chat, especially for app support, please consider adding Deno to the Docker container. Since Deno is now a requirement, it’s essential for apps to function correctly.
Server Details:
+-----------------------------------------------+ | SERVER RUNNING | +-----------------------------------------------+ | | | Rocket.Chat Version: 7.0.0 | | NodeJS Version: 20.17.0 - x64 | | MongoDB Version: 6.0.13 | | MongoDB Engine: unknown | | Platform: linux | | Process Port: 3000 | | Site URL: https://rocket.chat | | ReplicaSet OpLog: Enabled | | Commit Hash: dfc7e0e874 | | Commit Branch: HEAD | | | +-----------------------------------------------+
Note: The URL has been modified for privacy.
Error Stack Trace:
The following logs indicate the issue encountered when Deno is not present in the container:
appsEngine:runtime:deno:c95ba73a-0485-4d12-ae8a-a3e68330065a Setting up app subprocess +0ms ... Failed to startup Deno subprocess Error: spawn deno ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn deno', path: 'deno', spawnargs: [ 'run', '--allow-net', '--allow-read=/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine,/app/code/bundle/programs/server/npm/node_modules', '--allow-env=NODE_EXTRA_CA_CERTS', '/app/code/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/deno-runtime/main.ts', '--subprocess', 'c95ba73a-0485-4d12-ae8a-a3e68330065a' ] }
-
-
I have added deno to the package for the moment at https://git.cloudron.io/cloudron/rocketchat-app/-/commit/7cbeed49142d7a7616b7c7f2ebe63c37a54b6d5f
But won't release a package yet, since I wasn't able to install any marketplace app due to various javascript exceptions thrown. But at least the
deno
error is gone. Strange system this.