Skip to content

Eclipse Warning: Could not find node.js for FreeBSD #396

@daemonblade

Description

@daemonblade

I'm running Eclipse 2020-03 on FreeBSD, and have just installed Wild Web Developer 0.9.0.202003192213. However, on startup on FreeBSD and on startup, it complains with "Could not find node.js...".

However, I do have node installed:

onyx:~,10:30am> which node
/usr/local/bin/node
onyx:~,11:13am> node --version
v13.10.1

I have looked at "InitializeLaunchConfigurations.java", and the which() method incorrectly assumes that "/bin/bash" exists. This is a Linuxism. Wouldn't it be better to inspect $PATH and then see if an executable file exists with the name "node"?

Adding hack in getDefaultNodePath() wouldn't quite work for FreeBSD as it's not one of the return values defined in Platform.getOS().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions