question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Solving Eclipse Warning: Could not find node.js for MacOS

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
gubjackcommented, Dec 26, 2019

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.

1reaction
wnm3commented, Oct 21, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found