keacwu
keacwu
在运行 wechaty-io-client 时报错 #### Wechaty Doctor 1. Wechaty version: 1.10.4 2. Windows_NT x64 version 6.3.9600 memory 2100/4095 MB 3. Docker: false 4. Node version: v16.13.0 5. Tcp IPC TEST: PASS...
感谢,不过我现在遇到了新问题 NOPUPPET 已经在环境变量设置 set WECHATY_PUPPET=wechaty-puppet-xp 
``` node node_modules/wechaty/dist/esm/bin/io-client.js 21:24:14 ERR Brolog level("verbose") not exist, set to silly. 21:24:14 SILL Puppet Config: WECHATY_LOG set level to "verbose" 21:24:14 INFO Config registering process.on("unhandledRejection") for development/debug 21:24:14 VERB...
还是存在一样的问题 ``` E:\bot λ node node_modules/wechaty/dist/esm/bin/io-client.js 21:49:18 ERR Brolog level("verbose") not exist, set to silly. 21:49:18 SILL Puppet Config: WECHATY_LOG set level to "verbose" 21:49:18 INFO Config registering process.on("unhandledRejection") for...
在执行 `node node_modules\wechaty\dist\esm\bin\puppet-install.js` 时出现以下报错 ``` node node_modules\wechaty\dist\esm\bin\puppet-install.js 22:14:50 ERR Brolog level("verbose") not exist, set to silly. 22:14:50 SILL Puppet Config: WECHATY_LOG set level to "verbose" 22:14:50 INFO PuppetInstall main() installing...
`npm install wechaty-puppet-xp` 并不能解决问题 puppet-install.js 可以安装但是出现了新的问题 ``` λ node node_modules\wechaty\dist\esm\bin\puppet-install.js 10:52:46 INFO PuppetInstall main() installing ... 10:52:46 INFO PuppetInstall installing ... Shell: "npm install install --no-save wechaty-puppet-service@>=1.11.2 wechaty-puppet-mock@>=1.10.2 wechaty-puppet-wechat@>=1.10.3 wechaty-puppet-wechat4u@>=1.10.2...
另外我再次运行 `node node_modules/wechaty/dist/esm/bin/io-client.js`时候发现这段报错,不知道是不是wechaty-puppet-xp的问题 ``` 11:09:50 SILL Io send({"name":"error","payload":{"code":2,"details":"file:///E:/bot/node_modules/wechaty-puppet-xp/dist/esm/src/config.js:1\nimport { FileBox, } from 'wechaty-puppet';\n ^^^^^^^\nSyntaxError: The requested module 'wechaty-puppet' does not provide an export named 'FileBox'\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)\n at async...
我认为是国内源没有同步的问题  使用npmmirror sync 同步了一下再安装解决可以正常运行了 感谢 https://npmmirror.com/sync/wechaty-puppet-xp?spm=a2c6h.24755359.0.0.6c8321dbr1UQNB
环境变量设置无法生效 ``` PS C:\Users\Administrator> wechaty-P wechaty-puppet-xp PS C:\Users\Administrator> set WECHATY_PUPPET=wechaty-puppet-service PS C:\Users\Administrator> set WECHATY_PUPPET_SERVICE_TOKEN=e8fecfe5-7be4-4e51-86b4-07ffb175c603 PS C:\Users\Administrator> PS C:\Users\Administrator> set WECHATY_PUPPET=wechaty-puppet-xp PS C:\Users\Administrator> set WECHATY_TOKEN=e8fecfe5-7be4-4e51-86b4-07ffb175c603 PS C:\Users\Administrator> set WECHATY_PUPPET="wechaty-puppet-xp" PS C:\Users\Administrator>...
翻页了吗 请提供下场景