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
Not sure if it's just me or everyone, but I am having this error.
Run npm run doctor or wechaty run doctor(for docker user), paste output here
# I can't get the run doctor to work either. Not sure if it's related - (xinbenlv@)
npm run doctor
> [email protected] doctor /Users/zzn/Documents/ws/wechaty
> npm run check-node-version && ts-node bin/doctor
> [email protected] check-node-version /Users/zzn/Documents/ws/wechaty
> check-node-version --node ">= 6.9"
node: 6.9.1
npm: 3.10.8
yarn: 0.19.1
/usr/local/lib/node_modules/ts-node/src/index.ts:286
throw new TSError(diagnosticList)
^
TSError: ⨯ Unable to compile TypeScript
bin/doctor.ts (10,21): Cannot find module 'os'. (2307)
bin/doctor.ts (39,22): Cannot find name 'process'. (2304)
bin/doctor.ts: Emit skipped
at getOutput (/usr/local/lib/node_modules/ts-node/src/index.ts:286:17)
at /usr/local/lib/node_modules/ts-node/src/index.ts:312:18
at Object.compile (/usr/local/lib/node_modules/ts-node/src/index.ts:462:17)
at Module.m._compile (/usr/local/lib/node_modules/ts-node/src/index.ts:369:44)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .ts] (/usr/local/lib/node_modules/ts-node/src/index.ts:372:12)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Function.Module.runMain (module.js:604:10)
Expected behavior
Ding-Dong Bot runs
Actual behavior
Ding-Dong Bot failed to run due to error
error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2fselenium-webdriver: getaddrinfo EAI_AGAIN registry.yarnpkg.com:443".
Steps to reproduce the behavior (and fixes, if any)
git clone https://github.com/Chatie/wechaty.git
cd wechaty
docker run -ti --rm --volume="$(pwd)":/bot zixia/wechaty example/ding-dong-bot.ts
Current git commit id
commit b699dbf5c286037c0cd05e6f15ca4edd28d63f26
Author: Huan LI <[email protected]>
Date: Sun Apr 9 07:34:44 2017 +0800
0.7.61
Paste the full output logs here with WECHATY_LOG=silly set
Not sure if it's just me or everyone, but I am having this error.
Run
npm run doctor
orwechaty run doctor
(for docker user), paste output hereExpected behavior
Ding-Dong Bot runs
Actual behavior
Ding-Dong Bot failed to run due to error
Steps to reproduce the behavior (and fixes, if any)
Current git commit id
Paste the full output logs here with
WECHATY_LOG=silly
setThe text was updated successfully, but these errors were encountered: