NodeJS sidecar name conflict

Applicable to Arch-based distros / Debian / Ubuntu …

Hello,

On most Linux systems, there is already a node binary module in /usr/bin, which has a totally different set of features and dependencies than the node module delivered with the Yaak DEB package.

I created today an AUR package and I made a workaround - moved the 3 binaries in /usr/local/bin, thus avoiding to overwrite the node module in /usr/bin.

However, this is not ideal:

  1. there could be users that have already deployed a node version in /usr/local/bin

  2. the node module delivered in the DEB package is specially compiled to work with the other dependencies of the application - I confirmed this by just trying to use the system wide node module. The standard nodejs binaries found in the packaging system of different distros are not compatible with Yaak.

There could be 2 solutions in my view:

  1. rename the node module into something specific for Yaak (i.e. node-yaak)

  2. try to use the system-provided node (which is a can of worms - we cannot know which version is installed and compatible with what Yaak needs)

Anyway, installing the current DEB package is problematic.

Hopefully there is an easy to implement solution …

Best regards,

SoftExpert

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Date

Almost 2 years ago

Author

SoftExpert

Subscribe to post

Get notified by email when there are changes.