angelozerr/angular-eclipse

ng serve using wrong node/npm version

Opened this issue · 0 comments

From windows cmd:

>node -v
v8.9.4

>npm -v
5.6.0

If I choose Run As > ng serve on my eclipse project, it doesn't compile. If I hit CTRL-C and run the same commands inside the terminal window in eclipse I get this:

>node -v
v6.9.4

>npm -v
3.10.10

I already changed nodejs version in eclipse, it shows 8.9.4.

prefs

I restarted eclipse but the plugin still uses the old version.
I can't seem to find a way to set the node version for this plugin. How can I do it? Is this a bug?