You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where is the location of your server? (i.e. City, or In/Out China) Out China
Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using? None. Home machine.
Expected behavior
See the QR Scan Code in terminal
Actual behavior
QR Scan Code not seen in terminal
Steps to reproduce the behavior
cd Chatie/wechaty
$ npm run ts-node examples/the-worlds-shortest-chatbot-code-in-6-lines.js
> [email protected] ts-node /.../Chatie/wechaty
> ts-node "examples/the-worlds-shortest-chatbot-code-in-6-lines.js"
15:59:00 WARN Wechaty init() DEPRECATED and will be removed after Jun 2018. Use start() instead.
15:59:00 INFO Wechaty v0.13.57 starting...
Scan QR Code to login: 0
https://login.weixin.qq.com/qrcode/AcPo7_b_hw==
Scan QR Code to login: 408
https://login.weixin.qq.com/qrcode/AcPo7_b_hw==
16:01:35 WARN PuppetWeb initScanWatchdog() on(reset) lastFood: https://login.weixin.qq.com/qrcode/AcPo7_b_hw==, timePast: 120000
Scan QR Code to login: 0
https://login.weixin.qq.com/qrcode/AdjR6EryHA==
^C^C
Run npm run doctor or wechaty run doctor(for docker user), paste output here
$ npm run doctor
> [email protected] doctor /.../Chatie/wechaty
> npm run check-node-version && ts-node bin/doctor
> [email protected] check-node-version /.../Chatie/wechaty
> check-node-version --node ">= 8.5"
Error: Cannot find module 'rxjs-compat/Observable'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/.../Chatie/wechaty/node_modules/rxjs/src/Observable.ts:1:1)
. . .
$ npm install rxjs
npm WARN [email protected] requires a peer of rxjs@^5 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] - 4.x but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ [email protected]
updated 1 package in 43.42s
$ npm run doctor
> [email protected] doctor /.../Chatie/wechaty
> npm run check-node-version && ts-node bin/doctor
> [email protected] check-node-version /.../Chatie/wechaty
> check-node-version --node ">= 8.5"
Error: Cannot find module 'rxjs-compat/Observable'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/.../Chatie/wechaty/node_modules/rxjs/src/Observable.ts:1:1)
. . .
I.e., trying to npm install rxjs didn't fix the npm run doctor problem.
Show Logs
Paste the full output logs here with WECHATY_LOG=silly set
Provide Your Network Information
Expected behavior
See the QR Scan Code in terminal
Actual behavior
QR Scan Code not seen in terminal
Steps to reproduce the behavior
Run
npm run doctor
orwechaty run doctor
(for docker user), paste output hereI.e., trying to
npm install rxjs
didn't fix thenpm run doctor
problem.Show Logs
Paste the full output logs here with
WECHATY_LOG=silly
setThe text was updated successfully, but these errors were encountered: