Error while installing an Rovo Agent

I am getting an error while installing an app.

Error:
C:\Users\Amrut\Timespent-Details>forge install
Select the product your app uses.

TypeError: request.headers.split is not a function
at setHeadersOnRequest (C:\Users\Amrut\AppData\Roaming\npm\node_modules@forge\cli\node_modules@sentry\node\cjs\integrations\undici\index.js:266:39)
at _onRequestCreate (C:\Users\Amrut\AppData\Roaming\npm\node_modules@forge\cli\node_modules@sentry\node\cjs\integrations\undici\index.js:177:7)
at Channel.publish (node:diagnostics_channel:143:9)
at new Request (node:internal/deps/undici/undici:1993:27)
at [dispatch] (node:internal/deps/undici/undici:7502:25)
at Intercept (node:internal/deps/undici/undici:7237:20)
at [Intercepted Dispatch] (node:internal/deps/undici/undici:557:16)
at Client.dispatch (node:internal/deps/undici/undici:573:44)
at [dispatch] (node:internal/deps/undici/undici:804:32)
at [Intercepted Dispatch] (node:internal/deps/undici/undici:550:33)
? Select a product: (Use arrow keys)

Jira
Confluence
Compass
Bitbucket

Can anyone help me on this

Exactly same problem here…

Anyone having a clue how to overcome the problem?

Hi @SambhavSwain,

I just tried it with my Rovo app on an instance and it worked without error.

On which product should the app be installed to? Are you on the latest Forge CLI? Can you share your manifest.yml (pseudonymized).

Cheers,
paul

1 Like

Hey @SambhavSwain and @SandroToneatto,

It appears that the 10.10.0 version of the CLI had an error resulting in this; version 10.11.0 has now been released. Could you please update to the latest version of the Forge CLI and try again?

3 Likes

Hi everyone,

This error was due to an incompatibility between the Node.js version and the updated CLI. I was using Node.js 20.x, but downgrading to 18.x resolved the issue.

If that doesn’t work, it may indicate that the CLI didn’t install properly.

Regards,
Sambhav