puppet-xp-getting-started
puppet-xp-getting-started copied to clipboard
基于wechaty-puppet-xp的Windows微信机器人
运行npm i wechaty-puppet-xp@next后出现的代码如下: C:\Users\harve\Documents\mychat2\puppet-xp-getting-started>npm i wechaty-puppet-xp@next npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint'...

Demo运行起来之后,文本信息接收和发送都没问题,但当接收到 图片之后,报出如下错误,是我什么地方的配置有问题吗? --------------------------------- RECV: Message#Image[🗣Contact@👥Room] 1f TypeError: Cannot read properties of undefined (reading 'name') at getNameExtension (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:83:7) at ImageDecrypt (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:16:27) at PuppetXp.messageFile (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\puppet-xp.js:354:71) at WechatifiedUserClass.toFileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty\dist\cjs\src\user-modules\message.js:785:51) at WechatyImpl.onMessage (D:\gitlab_new_test\wechaty-puppet-xp-demo\main.js:112:38) Error:...
你好,请问企业微信可以使用吗?需要单独开发?还是要什么方式呢?
3.9.2.23微信端版本过低,通过运行时修改脚本,成功登录,之后执行 npm run start 结果微信直接崩溃 ``` > [email protected] start > cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node ./src/index.ts 21:20:53 INFO options... {"version":"3.9.2.23"} 21:21:00 ERR StarterBot Error: The connection is closed ```
在参考 https://github.com/atorber/puppet-xp-getting-started?tab=readme-ov-file#4%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96 安装依赖的时候遇到 frida 问题,等终于安装好依赖,执行 npm start 又报以下错误 ``` Liu.D.H puppet-xp-getting-started git(main) 5.284s 16:53 > npm start > [email protected] start > cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node ./src/index.ts 16:54:04 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]()...