您的位置: 首页 > 文章 > npm时报错解决EPERM: operation not permitted, lstat npm时报错解决EPERM: operation not permitted, lstat 分类: 文章 • 2022-10-07 09:58:04 1. 问题的提出 npm run build:prod --report时报错解决EPERM: operation not permitted, lstat 简单来说,前端打包应用的时候,出现资源占用的问题。 2. 问题的解决 这个dist是我上传到服务器的文件,所有在上传文件的时候会出现资源占用问题。 关闭XFTP即可解决资源占用问题。 最后,问题得到解决。