readFileSync:fail permission denied
发布于 5 年前 作者 tanyang 1564 次浏览 来自 官方Issues

从今天突然开始报以下错误:

readFileSync:fail permission denied, open “wxfile://tmp_bdc7edf2cab975206a19330487c20a2d568705431632dfa7.jpg”;at api getImageInfo success callback function

Error: readFileSync:fail permission denied, open “wxfile://tmp_bdc7edf2cab975206a19330487c20a2d568705431632dfa7.jpg”

at readFileSync (https://lib/WAService.js:2:807962)

at Object.e.<computed> [as readFileSync] (https://lib/WAService.js:2:813099)

at success (https://miniprogram:///utils/image-util.js:20:47)

at Function.o.<computed> (https://lib/WAService.js:2:1291047)

at Object.success (https://lib/WAService.js:2:116851)

at b (https://lib/WAService.js:2:497329)

at v (https://lib/WAService.js:2:497567)

at https://lib/WAService.js:2:499091

at Object.g (https://lib/WAService.js:2:72770)

2 回复

线下能复现吗?

现在有10页这样的错误 AppId:wxfce6e49034fee8c5 ,手机:小米3

回到顶部