npm install 给出错误:EPERM,取消链接 [英] npm install give Error: EPERM, unlink

查看:40
本文介绍了npm install 给出错误:EPERM,取消链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用命令 npm install 出现以下错误

错误:EPERM,取消链接

系统信息:鲍尔版本:1.3.12节点版本:0.10.35操作系统:Windows8

我尝试了以下解决方法,但没有解决.

  1. 清理凉亭缓存
  2. 卸载 bower
  3. 使用 npm 更新 decompress-zip
  4. 再次安装凉亭

它对我不起作用,请给我一些解决方案

解决方案

我遇到了这个问题,在 Windows 10 中是.

解决方案?

禁用该文件夹(包含 package.json 的文件夹)的内容索引!!

在 Windows Shell(文件管理器)上,按照以下步骤操作:

<块引用>

  1. 右键单击出现错误的文件夹,选择属性"
  2. 点击高级..."按钮.
  3. 取消选中除了文件属性外,还允许将此文件夹中的文件编入索引"复选框.
  4. 按确定".
  5. 在之前的属性"对话框(再次可见)上,按应用"
  6. 选中单选按钮将更改应用于此文件夹、子文件夹和文件".
  7. 按确定".
  8. (可能需要一段时间)
  9. 按确定"(关闭属性对话框).
  10. 有效!

using command npm install give the following error

Error: EPERM, unlink

System info: Bower version: 1.3.12 Node version: 0.10.35 OS : Windows8

I tried below workaround but nothing is worked out.

  1. clean bower cache
  2. uninstall bower
  3. Update decompress-zip using npm
  4. install the bower again

Its not worked for me please suggest me some solution

解决方案

I got this problem, yes in Windows 10.

Solution?

To disable indexing of contents for that folder (the one containing the package.json)!!

On Windows Shell (File Manager), follow this steps:

  1. Right click on the folder with the error, choose 'Properties'
  2. Click the 'Advanced...' button.
  3. Uncheck the checkbox 'Allow files in this folder to have contents indexed in addition to file properties'.
  4. Press 'OK'.
  5. On the previous Properties dialog (visible again), press 'Apply'
  6. Check radio button 'Apply changes to this folder, subfolder and files'.
  7. Press 'OK'.
  8. (can take a while)
  9. Press 'OK' (to close properties dialog).
  10. Works!

这篇关于npm install 给出错误:EPERM,取消链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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