I have downloaded and installed the new version of nodejs (4.1.2) using the .msi installer. After that I ran node -v
, but it still shows the older version (0.12.2). I tried restarting Windows and even uninstalled nodejs and reinstalled it, but still it shows the same. Why is that happening and how can I resolve it?
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- google-drive can't get push notifications
相关文章
- node连接远程oracle报错
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Handling ffmpeg library interface change when upgr
- How can make folder with Firebase Cloud Functions
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
Run a search for multiple copies of node.exe in the usual install paths:
Program Files
Program Files(x86)
Common Files
Roaming
Upgrading npm has its own issues:
References
npmjs docs: Prefix Configuration
Get-ChildItem for FileSystem
Finding files in the PATH with PowerShell
Microsoft NodeJS Guidelines
Environment.SpecialFolder Enumeration (System)
Common folder variables - Windows Defender Security Intelligence
KNOWNFOLDERID (Windows)
I had the same issue and resolved it by deleting the node.js folder in program files (x64) and it w