错误“ETXTBSY:文本文件正忙”在npm安装 [英] error "ETXTBSY: text file is busy" on npm install
本文介绍了错误“ETXTBSY:文本文件正忙”在npm安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在宅基地上运行 npm install [any package]
甚至 npm install
时,我收到以下错误:
When running npm install [any package]
or even npm install
on homestead I get the following error:
npm ERR! ETXTBSY: text file is busy, rmdir '/home/vagrant/valemus-shop-starter/valemus-shop/node_modules/fsevents'
可以看到调试日志这里
- Box'laravel / homestead'(v3.0.0)
- 节点:v8.2.1
- NPM:5.3.0
我尝试删除 fsevents
目录,然而,它不存在。
I tried removing the fsevents
directory, however, it doesn't exist.
我如何解决这个问题?
推荐答案
只需在Windows中而不是在Homestead中发出npm install。当然,你需要安装npm for windows来实现这一点。
Just issue "npm install" in Windows instead of in Homestead. Of course, you need to have npm for windows installed to do that.
这篇关于错误“ETXTBSY:文本文件正忙”在npm安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文