node.js npm error message - system cannot find the path specified

前端 未结 6 659
执笔经年
执笔经年 2021-01-18 00:47

I have a strange error message I don\'t understand or can\'t get rid of. Secondly when I try to create express app on webstorm it can\'t find express. I\'m using windows 7 6

6条回答
  •  一生所求
    2021-01-18 01:09

    In my case, nvm-windows "destroy" my windows setting. https://github.com/coreybutler/nvm-windows

    I uninstall nvm-windows than go to AppData (hidden folder sometimes) - change to visible: https://support.microsoft.com/en-us/help/4028316/windows-view-hidden-files-and-folders-in-windows-10 and remove npm cache manually (Under username\AppData\Roaming\npm-cache)

    Also, run windows command %temp% Ctrl + A (select all) and delete - to clean up your system (maybe related).

    Some of my global -g- packages (Like vue-cli should re-install) - after this weird bug (Nightmare).

提交回复
热议问题