How to force Eclipse to use specific version of NodeJS to fix error "Node.js version could not be determined"?

I've installed latest version of Eclipse-IDE (2020-03) with installer option "Eclipse IDE for Web and JavaScript Developers". It is very slow. It takes 2-3 seconds to open a file. And finally following error is shown: Error Node.JS version could not be determined.

2 answers

  • answered 2020-05-05 08:37 Jean-Pierre Matsumoto

    Culprit is actually Eclipse Wild Web Developer. It cannot find my NodeJS install done with Homebrew. To fix, I have executed :

    cd /Applications/
    echo -Dorg.eclipse.wildwebdeveloper.nodeJSLocation=$(which node) >> eclipse.ini

  • answered 2021-03-15 03:30 Kim jae-eok

    SpringToolSuite4 is as follows:

    cd /Applications/
    echo -Dorg.eclipse.wildwebdeveloper.nodeJSLocation=$(which node) >> SpringToolSuite4.ini

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum