Code completion works occasionally - missing node.js [message #1854504] |
Mon, 22 August 2022 17:33  |
Eclipse User |
|
|
|
Hi,
I installed Eclipse IDE for PHP Developers
Version: 2020-06 (4.16.0)
Build id: 20200615-1200
My OS is Windows 10 Pro
Have a problem. Code auto-complete works randomly and when opening new files or projects I keep getting error:
Missing node.js
Could not find node.js This will result in editors missing key features.
Please make sure node.js is installed and that your PATH environment variable contains the location to the 'node' excutable
I found possible fix for this from other sites. They say Wild Web Developer should be installed.
I used Ecplise's built in feature; "Install new software" and searched for available software from these pre-configured sites
2020-06
http://download.eclipse.org/releases/2020-06
Latest Eclipse Release
http://download.eclipse.org/releases/latest
The Eclipse Project Updates
http://download.eclipse.org/eclipse/updates/4.16
Search found these packages:
Node.js embedder from Wild Web Developer 0.2.9.202205271506
Wild Web Developer HTML, CSS, JSON, Yaml, JavaScript, TypeScript, Node tools 0.10.14.202205271506
I tried to install those but got no luck:
Your original request has been modified.
"Wild Web Developer HTML, CSS, JSON, Yaml, JavaScript, TypeScript, Node tools" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Wild Web Developer HTML, CSS, JSON, Yaml, JavaScript, TypeScript, Node tools 0.10.14.202205271506 (org.eclipse.wildwebdeveloper.feature.feature.group 0.10.14.202205271506)
Software currently installed: Eclipse IDE for PHP Developers 4.16.0.20200615-1200 (epp.package.php 4.16.0.20200615-1200)
Only one of the following can be installed at once:
Core Variables 3.4.800.v20200120-1101 (org.eclipse.core.variables 3.4.800.v20200120-1101)
Core Variables 3.5.100.v20210721-1355 (org.eclipse.core.variables 3.5.100.v20210721-1355)
Cannot satisfy dependency:
From: Eclipse IDE for PHP Developers 4.16.0.20200615-1200 (epp.package.php 4.16.0.20200615-1200)
To: org.eclipse.equinox.p2.iu; org.eclipse.platform.feature.group [4.16.0.v20200604-0951,4.16.0.v20200604-0951]
Cannot satisfy dependency:
From: Eclipse Platform 4.16.0.v20200604-0951 (org.eclipse.platform.feature.group 4.16.0.v20200604-0951)
To: org.eclipse.equinox.p2.iu; org.eclipse.core.variables [3.4.800.v20200120-1101,3.4.800.v20200120-1101]
Cannot satisfy dependency:
From: Wild Web Developer: web development in Eclipse IDE 0.5.22.202205250019 (org.eclipse.wildwebdeveloper 0.5.22.202205250019)
To: osgi.bundle; org.eclipse.core.variables 3.5.0
Cannot satisfy dependency:
From: Wild Web Developer HTML, CSS, JSON, Yaml, JavaScript, TypeScript, Node tools 0.10.14.202205271506 (org.eclipse.wildwebdeveloper.feature.feature.group 0.10.14.202205271506)
To: org.eclipse.equinox.p2.iu; org.eclipse.wildwebdeveloper [0.5.22.202205250019,0.5.22.202205250019]
According to messages above, I already have node.js installed.
Is the problem in PATH variable?
Where and how should I configure it?
Code completion for PHP did not work at all the beginning after installing eclipse, but I got it working randomly by deleting .metadata folder from project's folder. Sometimes it triggers, sometimes not.
Thanks in advance!
|
|
|
|
Re: Code completion works occasionally - missing node.js [message #1854506 is a reply to message #1854505] |
Mon, 22 August 2022 19:54  |
Eclipse User |
|
|
|
I must have been lost in Internet. I thought I had latest version, and was also wondering could it really be 2 years old.
So where do I get the latest? Eclipse.org I assume.
Deleting .metadata solved unknown user's similar problem. Had to try it even though I knew it was not the best idea. Well, it worked.
Thanks for your reply.
|
|
|
Powered by
FUDForum. Page generated in 0.04869 seconds