Solving Eclipse Warning: Could not find node.js for MacOS
See original GitHub issueI found that no matter what I did on MacOS wrt to having the path point to /usr/local/bin which is where the node executable is located, I could not avoid getting the message above after starting eclipse and attempting to click on a menu entry. After reading the source code, what I found worked was to add a line to the eclipse.ini in the Eclipse.app/Contents/Eclipse folder that specified the path as follows:
-Dorg.eclipse.wildwebdeveloper.nodeJSLocation=/usr/local/bin/node
Note this reflects the path and executable file name (node). Others have suggested creating a symbolic link but that did not work for me.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Error "could not find node.js" in eclipse - Stack Overflow
Go to Help > Install New Software... · Choose Node.js embedder from Wild Web Developer and install it.
Read more >Could not find node.js Eclipse Ubuntu in Bugs And Solutions ...
1) Close the eclipse. · 2) Open terminal using Ctrl+Alt+T · 3) Run "sudo apt install nodejs" · 4) Use the command to...
Read more >Troubleshooting | Codewind - Eclipse
Workaround: Enable AppMetrics for your application. You can enable AppMetrics for Node.js, Swift, and SpringBoot projects. Profiling markers do ...
Read more >Spring Boot, Maven and Eclipse Errors and TroubleShooting ...
If the troubleshooting guide does not help you solve your specific problem, ... Q : How can I add custom JS code with...
Read more >How To Update Node.js on MacOS: Hindsight on Old Mac
Option 3: Update Node.js using NVM ... Note that the above command will install NVM version 0.39.1. Check if newer version is available...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

My installation of WWD is completely new - and by the way I already like it!
Regarding debugging - I’ll get into that at a later point. I’m absolutely new to eclipse plugin development and so I need some time to get into it.
There may be some confusion. By adding the declaration as specified above to the eclipse.ini, the problem is solved. There were confusing and inconsistent solutions elsewhere on the web talking about creating symbolic links, or using -Dorg.eclipse.wildwebdeveloper.nodepath (incorrect). So, I was merely documenting the solution above.
I suspect the way programs are launched on MacOS without benefit of the user specified PATH is causing confusion in the message displayed that discusses adding the node executable location to the PATH environment variable (see https://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applications). This article discusses a solution , however, I think setting the eclipse.ini variable declaration is the cleanest solution for MacOS.