Rocketchat7 apps install error

Description

I did a clean install of version 7.

I’m trying to install the application Jitsi (or any),
the installation does not complete.
the console errors:

Failed to startup Deno subprocess Error: spawn deno ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483: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=@rocket.chat/apps-engine,>
‘–allow-env=NODE_EXTRA_CA_CERTS’,
@rocket.chat/apps-engine/deno-runtime/main.ts’,
‘–subprocess’,
‘3b387ba9-f57c-44c6-9810-8c0256abd64c’
]
}

completed additional steps from the instructions related to deno.
installed version 1.37.1

cd PATH_TO_ROCKETCHAT_INSTALLATION programs server npm node_modules @rocket.chat apps-engine
npm install --production

I get an error:
npm warn config production Use --omit=dev instead.
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type “workspace:”: workspace:~

how to solve this problem?

Server Setup Information

  • Version of Rocket.Chat Server: 7.0.0
  • Operating System: Debian12 or Ubuntu 22.04
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: rs01
  • NodeJS Version: 20.18.1
  • MongoDB Version: 7.0.15
  • Deno: 1.37.1
  • Proxy: no
  • Firewalls involved: no

What type of licence are you using?

Approximate number of users?

it’s new installation
license by default - starter
user 1

Unless you have a specific reason to use a tar install, life will be much easier if you use the recommended methids eg docker or snap.

Did you read this error?

Is your install internet connected?

of course there is internet
the problem is in compilation

npm error Unsupported URL Type “workspace:”: workspace:~

There is no ‘of course’ when you are debugging. Because users frequently don’t tell you the whole story. Just the one they want you to hear. And then we end up with a XY Problem and waste a lot of time.

Have a read here.

How to ask for help

I can’t see your install or what you have done. I am effectively blind. And you are the one with the problem, not me.

Note, a good search often helps.

Search github for:

"Unsupported URL Type "

My suggestion would be to use docker or snaps as they are far easier if you don’t really know what you are doing or don’t want to waste time reading & learning.

i’m sorry
i use HA install 6.13 in production.
3 node mongodb SSL+auth
2 node APP + keepalived virtual ip

I’m afraid I won’t be able to run this configuration on Docker.
That’s why I use tar.

For testing 7.0.0 I try to install on a separate stand and get error…

nodejs - 20

upgrade DENO to 1.43.6
same error:
npm error Unsupported URL Type “workspace:”: workspace:~

Not sure why not.

There is a reason docker is recommended. It is easier and you should be able to do manage this using it.

I did say search and read - there are several issues quoting this.

Here

And then here

don’t know how, but app work after repeat this command:

cd rocketchat/program/server
npm install -production

app jitsi and any installation done and work.
please close this ticket.

It’s not a ticket - just a forum post.

Glad you got it sorted.