opentiny/tiny-engine

🐛 [Bug]: 在删除区块构建文件的时候 有Error: EBUSY: resource busy or locked 报错

Closed this issue · 7 comments

Environment

chrome

Version

v16.14.0

Version

latest

Link to minimal reproduction

https://github.com/opentiny/tiny-engine windows

Step to reproduce

发布区块 vueblockbuilder // 清理构建目录 async clear() 的时候

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

@Thea1211 您好,可以麻烦提供一下详细步骤吗

Bot detected the issue body's language is not English, translate it automatically.


@Thea1211 Hello, can you please provide detailed steps?

就是正常新建完区块之后 发布的 后端部署在这边的服务器的 就是async clear() 方法里的fs.remove() 去掉就没有问题的

Bot detected the issue body's language is not English, translate it automatically.


It is released after the new block is created normally. The backend is deployed on the server here. It is the fs.remove() in the async clear() method. If you remove it, there will be no problem.

检查下是否是文件被占用导致的,

Bot detected the issue body's language is not English, translate it automatically.


Check whether it is caused by the file being occupied.

can not reproduce, close it.