![]() To make this setting persistent, also issue the following: C:\>setx Path "%APPDATA%\npm %Path%" It must be added manually in front of the current path: C:\>set Path=%APPDATA%\npm %Path% This is because on Windows, by default, global node packages areĪnd this path is not in the default environment. Surprisingly, checking the version usually shows the old version: C:\>where npm.cmd 435 packages from 816 contributors in 72.64s It is recommended to update it to the latest version: C:\>npm install -global -> C:\Users\ilg\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.jsĬ:\Users\ilg\AppData\Roaming\npm\npx -> C:\Users\ilg\AppData\Roaming\npm\node_modules\npm\bin\npx-cli.js ![]() C:\>where node.exeĪ version of npm, usually a bit older, comes packed with Node. ![]() System path since it includes the node.exe binary. The result is a folder like C:\Program Files\nodejs, added to the Tip: If you are using a 64-bit machine, download the node-v*-圆4.msi file.
0 Comments
Leave a Reply. |