node.js - Node : Error in installing npm package

标签 node.js

我正在尝试使用 npm 安装 node.js 包,但它给了我这个错误。

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

最佳答案

今天在全新安装中遇到了与您相同的问题。 解决手动创建

C:\Users\Myself\AppData\Roaming\npm

目录。

希望对你有帮助

关于node.js - Node : Error in installing npm package,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25073318/

相关文章:

node.js - 如何查找搜索/查找 npm 包

javascript - 我如何使用 res.clearCookie() 清除expressjs中特定域的所有cookie

javascript - 如果在其他浏览器选项卡中写入,则数据绑定(bind)到我的应用程序

node.js - 参数前置条件中的命名路由

angularjs - angular2-webpack-starter 如何将 NodeJS 服务器添加到项目中

javascript - 无法使用 ejs.renderfile 正确渲染图像

node.js - DynamoDB put 命令正在插入一个空项目

node.js - 用于 Node.js 的 Google 搜索 API 包装器

node.js - firebase deploy --only 托管给出错误 : HTTP Error: 410, 未知错误

node.js - 在 Telegram Bot 之间共享消息