Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Code completion works occasionally - missing node.js
Code completion works occasionally - missing node.js [message #1854504] Mon, 22 August 2022 21:33 Go to next message
Janne Hellström is currently offline Janne HellströmFriend
Messages: 2
Registered: August 2022
Junior Member
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 #1854505 is a reply to message #1854504] Mon, 22 August 2022 22:32 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4283
Registered: July 2009
Senior Member

2020-06 is, as the "name" implies, two years old. Please install the current version. If you can not, install Node JS and make sure it's on your system PATH environment variable.

Randomly deleting the .metadata folder is usually a bad idea. It's what tells Eclipse everything about your workspace, including which projects are in it.


Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Mon, 22 August 2022 22:34]

Report message to a moderator

Re: Code completion works occasionally - missing node.js [message #1854506 is a reply to message #1854505] Mon, 22 August 2022 23:54 Go to previous message
Janne Hellström is currently offline Janne HellströmFriend
Messages: 2
Registered: August 2022
Junior Member
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.
Previous Topic:I need a donate button!
Next Topic:Xdebug and RSE - wrong path (and other questions)
Goto Forum:
  


Current Time: Sat Nov 26 23:32:22 GMT 2022

Powered by FUDForum. Page generated in 0.02351 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top