P
P
Praytic2015-12-19 19:54:02
Node.js
Praytic, 2015-12-19 19:54:02

How to update npm and node.js version in visual studio?

When I download my downloaded project from git and open it in vs2015, it runs npm install . Everything would be fine, but the problem is that the installation takes place using older versions of node.js and npm, which causes gulpa plugins to complain about this and refuse to work. I want to note that I have the latest versions of these platforms. How do I get vs to use them instead of some old version of me?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-12-21
@senal

vs2015 uses Node accessed via the %PATH% system variable, make sure in %PATH% there is no path to the old version.
In the Package Manager Console, type node -v and npm -v respectively.
It turns out not quite so. Just ran into this after reinstalling the studio. The studio actually uses the wrong node, which is in the system - Tools->Options->Project and Solutions->External Web Tools is treated, uncheck $(DevEnvDir)\Extensions\Microsoft\Web Tools\External. This path actually contains node 0.10.31.0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question