npm install Give错误:EPERM,取消链接 [英] npm install give Error: EPERM, unlink
本文介绍了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.
- 清理凉亭缓存
- 卸载Bower
- 使用npm更新decompress-zip
- 再次安装凉亭
它对我不起作用,请建议我一些解决方法
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:
- 右键单击出现错误的文件夹,然后选择属性"
- 点击高级..."按钮.
- 取消选中复选框允许此文件夹中的文件除文件属性外,还对内容进行索引".
- 按确定".
- 在上一个属性"对话框(再次可见)上,按应用"
- 选中单选按钮将更改应用于此文件夹,子文件夹和文件".
- 按确定".
- (可能需要一段时间)
- 按确定"(关闭属性对话框).
- 工作!
- Right click on the folder with the error, choose 'Properties'
- Click the 'Advanced...' button.
- Uncheck the checkbox 'Allow files in this folder to have contents indexed in addition to file properties'.
- Press 'OK'.
- On the previous Properties dialog (visible again), press 'Apply'
- Check radio button 'Apply changes to this folder, subfolder and files'.
- Press 'OK'.
- (can take a while)
- Press 'OK' (to close properties dialog).
- Works!
这篇关于npm install Give错误:EPERM,取消链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文