我也遇到了
readFileSync:fail permission denied从今天突然开始报以下错误: 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)
2021-03-30我也出现了,我在本地调试时有
无法读取文件或文件夹不在白名单?[读取文件/文件夹警告] 无法读取 resource/version.txt?v=41927 文件或文件夹不在白名单中, 上传时会被忽略, 在真机上可能无法读取。 查了一下是因为后缀的问题,改了一个又出现其他问题。有没有其他的办法?
2021-03-30