Error "could not find node.js" in eclipse

I am trying to learn json handling with Python in the eclipse IDE. But whenever I try to make a json file in eclipse this error comes

enter image description here

I have the latest version of eclipse and I need help to resolve this error.

2 Answers

You are probably using the JSON editor from Eclipse Wild Web Developer which indeed requires Node.js to provide JSON support beyond syntax highlighting. Node.js is required to run the JSON language server like Java is required to run Eclipse.

You have the following options:

  • Install Node.js into your system
  • Install embedded Node.js into Eclipse:
    1. Go to Help > Install New Software...
    2. Work with
    3. Choose Node.js embedder from Wild Web Developer and install it
  • Use a different JSON editor that does not require Node.js:

This error occurs and freezes the IDE (STS 4.7.2) when a dockerfile is opened and node.js is not installed or not in the path. As a solution, I removed all docker related plugins from STS and the problem is solved.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like