Node.js/Windows错误:ENOENT,状态为"C:\ Users \ RT \ AppData \ Roaming \ npm" [英] Node.js/Windows error: ENOENT, stat 'C:\Users\RT\AppData\Roaming\npm'

查看:160
本文介绍了Node.js/Windows错误:ENOENT,状态为"C:\ Users \ RT \ AppData \ Roaming \ npm"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Windows 7 32位.我安装了最新的 Node.js 32位.
当我尝试运行命令npm install jquery时,收到错误消息:

I have Windows 7 32-bit. I installed the latest Node.js 32 bit.
When I try to run the command npm install jquery, I receive the error:

错误:ENOENT,状态为'C:\ Users \ RT \ AppData \ Roaming \ npm

Error: ENOENT, stat 'C:\Users\RT\AppData\Roaming\npm

一个人如何解决它?

推荐答案

在显示的路径中手动创建一个名为"npm"的文件夹即可解决此问题.

Manually creating a folder named 'npm' in the displayed path fixed the problem.

更多信息,请参见故障排除页面

这篇关于Node.js/Windows错误:ENOENT,状态为"C:\ Users \ RT \ AppData \ Roaming \ npm"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆