puppet-xp
puppet-xp copied to clipboard
no such file or directory, stat 'E:\docs\images\wechaty-icon.png'
会遇到默认头像找不到的情况,看到代码里对头像是取得相对位置,但是打包的时候并不会把头像打包进去,而且这个位置是相对于命令执行的目录来算相对路径的,建议可以更换为默认的base64 图片或者一个在线图片
I guess this problem occurs when you call Contact.avatar() ⇒ Promise <FileBox>
method.
In fact, XP does not support this method yet, so a fixed value is written at present, and I will optimize this problem in the next version.
Thanks for your attention.