在Windows 8.1上安装node.js时出错

在Windows 8.1上安装node.js时出错,node.js,npm,ionic,windows-8.1,npm-install,Node.js,Npm,Ionic,Windows 8.1,Npm Install,我已在我的Windows 8.1 PC中安装了node-v5.4.0-x64。在安装过程中,我遇到以下错误,但安装已完成 Warning 1909. Could Not Create Shortcut Node.js command prompt.lnk. Verify that the destination folder exists and that you can access it. 我在尝试npm命令时遇到以下错误 'CALL "C:\Program Files\nodejs\\n

我已在我的Windows 8.1 PC中安装了node-v5.4.0-x64。在安装过程中,我遇到以下错误,但安装已完成

Warning 1909. Could Not Create Shortcut Node.js command prompt.lnk. Verify that the destination folder exists and that you can access it.
我在尝试npm命令时遇到以下错误

'CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command,
operable program or batch file.
我曾尝试按照一些文章中的建议重新安装node.js,但没有成功。
我已经搜索了这个错误,但是我还没有找到任何合适的解决方法。有人能帮我吗。

我通过在AppData目录中创建npm文件夹并重新安装node.js解决了这个问题

我遵守了这里的指示


我通过在AppData目录中创建npm文件夹并重新安装node.js,解决了这个问题

我遵守了这里的指示