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
Run npm run doctor or wechaty run doctor(for docker user), paste output here
D:\liuyuqi\twtech\github\bigdata\wechaty>npm run doctor
wechaty@0.6.65 doctor D:\liuyuqi\twtech\github\bigdata\wechaty
ts-node bin/doctor
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module.m._compile (D:\liuyuqi\twtech\github\bigdata\wechaty\node_modules\ts-node\src\index.ts:406:23)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .ts] (D:\liuyuqi\twtech\github\bigdata\wechaty\node_modules\ts-node\src\index.ts:409:12)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (D:\liuyuqi\twtech\github\bigdata\wechaty\bin\doctor.ts:15:1)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "doctor"
npm ERR! node v4.4.6
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! wechaty@0.6.65 doctor: ts-node bin/doctor
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wechaty@0.6.65 doctor script 'ts-node bin/doctor'.
npm ERR! This is most likely a problem with the wechaty package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ts-node bin/doctor
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wechaty
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls wechaty
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\liuyuqi\twtech\github\bigdata\wechaty\npm-debug.log
Expected behavior
首先,配置:
node4,
windows10,
npm2.15
执行如下命令:
cd wechaty
$ npm run dist
$ node dist/example/ding-dong-bot.js
SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (D:\liuyuqi\twtech\github\bigdata\wechaty\dist\src\room.js:24:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
The text was updated successfully, but these errors were encountered:
Run
npm run doctor
orwechaty run doctor
(for docker user), paste output hereD:\liuyuqi\twtech\github\bigdata\wechaty>npm run doctor
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "doctor"
npm ERR! node v4.4.6
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! wechaty@0.6.65 doctor:
ts-node bin/doctor
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wechaty@0.6.65 doctor script 'ts-node bin/doctor'.
npm ERR! This is most likely a problem with the wechaty package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ts-node bin/doctor
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wechaty
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls wechaty
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\liuyuqi\twtech\github\bigdata\wechaty\npm-debug.log
Expected behavior
首先,配置:
node4,
windows10,
npm2.15
执行如下命令:
cd wechaty
$ npm run dist
$ node dist/example/ding-dong-bot.js
SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (D:\liuyuqi\twtech\github\bigdata\wechaty\dist\src\room.js:24:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
The text was updated successfully, but these errors were encountered: