How to completely remove node.js from Windows

前端 未结 8 1689
無奈伤痛
無奈伤痛 2020-11-22 01:37

I uninstalled my previous version of node.js (0.8.11) and downloaded the latest, 0.10.24 from the node.js website and installed it. However, after running node --versi

8条回答
  •  面向向阳花
    2020-11-22 02:26

    In my case, the above alone didn't work. I had installed and uninstalled several versions of nodejs to fix this error: npm in windows Error: EISDIR, read at Error (native) that I kept getting on any npm command I tried to run, including getting the npm version with: npm -v.

    So the npm directory was deleted in the nodejs folder and the latest npm version was copied over from the npm dist: and then everything started working.

提交回复
热议问题