Skip to content

Installer should detect existing NodeJS runtime #392

@ppawlowski

Description

@ppawlowski

Description

The Device Agent installer should detect if there is already NodeJS runtime environment available on the system. Once detecteted, it should compare the versions and ask user for a decision which one should be used for the installation.
If the version is lower than we exepect, installer should print a warning. Also, we should consider installing different version of the Device Agent.

Customer Value

Having multiple versions of NodeJS on your machine can get very messy very quickly, causing headaches for customers already with NodeJS installed. The recommended install route with the installer also assumes no NodeJS is present, which in a lot of cases won't be appropriate, this will cover that use case.

This is also relevant for #488 where the Opto 22 devices have limited storage, but already have NodeJS installed, us not installing NodeJS will prevent https://flowfuse.com/docs/device-agent/install/device-agent-installer/#error%3A-disk-space-check-failed occurring

Epic/Story

No response

Metadata

Metadata

Assignees

Labels

taskA piece of work that isn't necessarily tied to a specific Epic or Story.

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions