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
[question]
import {Message, ScanStatus, WechatyBuilder, log } from 'wechaty'
^^^^^^^
SyntaxError: The requested module 'wechaty' does not provide an export named 'Message'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async loadESM (node:internal/process/esm_loader:91:5)
at async handleMainPromise (node:internal/modules/run_main:65:12)
$ npm --version
9.6.0
$ node --version
v16.17.0
看到好多人遇到这个问题,有人有解决办法吗
See many people encountering this problem, does anyone have a solution?
The text was updated successfully, but these errors were encountered:
🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/wechaty
[question]
import {Message, ScanStatus, WechatyBuilder, log } from 'wechaty'
^^^^^^^
SyntaxError: The requested module 'wechaty' does not provide an export named 'Message'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async loadESM (node:internal/process/esm_loader:91:5)
at async handleMainPromise (node:internal/modules/run_main:65:12)
$ npm --version
9.6.0
$ node --version
v16.17.0
看到好多人遇到这个问题,有人有解决办法吗
See many people encountering this problem, does anyone have a solution?
The text was updated successfully, but these errors were encountered: