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

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

问题描述

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

using command npm install give the following error

错误:EPERM,取消链接

Error: EPERM, unlink

系统信息: 凉亭版本:1.3.12 节点版本:0.10.35 操作系统:Windows8

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

我尝试了以下解决方法,但没有解决任何问题.

I tried below workaround but nothing is worked out.

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

它对我不起作用,请建议我一些解决方法

Its not worked for me please suggest me some solution

推荐答案

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

I got this problem, yes in Windows 10.

解决方案?

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

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

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

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

  1. 右键单击出现错误的文件夹,然后选择属性"
  2. 点击高级..."按钮.
  3. 取消选中复选框允许此文件夹中的文件除文件属性外,还对内容进行索引".
  4. 按确定".
  5. 在上一个属性"对话框(再次可见)上,按应用"
  6. 选中单选按钮将更改应用于此文件夹,子文件夹和文件".
  7. 按确定".
  8. (可能需要一段时间)
  9. 按确定"(关闭属性对话框).
  10. 工作!
  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 Give错误:EPERM,取消链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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