npm install 给出错误:EPERM,取消链接 [英] npm install give Error: EPERM, unlink
本文介绍了npm install 给出错误:EPERM,取消链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用命令 npm install 出现以下错误
错误:EPERM,取消链接
系统信息:鲍尔版本:1.3.12节点版本:0.10.35操作系统:Windows8
我尝试了以下解决方法,但没有解决.
- 清理凉亭缓存
- 卸载 bower
- 使用 npm 更新 decompress-zip
- 再次安装凉亭
它对我不起作用,请给我一些解决方案
解决方案
我遇到了这个问题,在 Windows 10 中是.
解决方案?
禁用该文件夹(包含 package.json 的文件夹)的内容索引!!
在 Windows Shell(文件管理器)上,按照以下步骤操作:
<块引用>- 右键单击出现错误的文件夹,选择属性"
- 点击高级..."按钮.
- 取消选中除了文件属性外,还允许将此文件夹中的文件编入索引"复选框.
- 按确定".
- 在之前的属性"对话框(再次可见)上,按应用"
- 选中单选按钮将更改应用于此文件夹、子文件夹和文件".
- 按确定".
- (可能需要一段时间)
- 按确定"(关闭属性对话框).
- 有效!
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.
- clean bower cache
- uninstall bower
- Update decompress-zip using npm
- 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:
- 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 给出错误:EPERM,取消链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文