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
{{ message }}
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
这个不算bug,抱歉不太懂js。我直接运行会提示 SyntaxError: Cannot use import statement outside a module
然后我把
import { Wechaty } from 'wechaty'
改成了
const { Wechaty } = require ('wechaty')
再运行就提示
Emitted 'error' event on Wechaty instance at:
at Wechaty.start (./node_modules/wechaty/dist/cjs/src/wechaty.js:568:18) {
code: 14,
details: 'No connection established',
metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
The text was updated successfully, but these errors were encountered: