需要做一个图片缩小尺寸的功能, 下载的 sharp 和 images 库直接用命令行 node xxx.js 里面可以使用,但是在Electron里面 require('sharp') 和 require('images') 都会报错:
ELECTRON_ASAR.js:168 Uncaught Error: The system cannot find message text for message number 0x%1 in the message file for %2.
新手求大神解答。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
业精于勤,荒于嬉;行成于思,毁于随。