wechaty / getting-started

A Starter Project Template for Wechaty works out-of-the-box
https://gitpod.io/#https://github.com/wechaty/wechaty-getting-started
Apache License 2.0
796 stars 351 forks source link

The requested module 'wechaty' does not provide an export named 'Wechaty' #250

Closed stefan-ysh closed 2 years ago

stefan-ysh commented 2 years ago

启动的时候会报这个错,找了半天也没找到原因,所以来着寻求帮助,还请各位帮帮忙

huan commented 2 years ago

Wechaty v1.x uses a WechatyBuilder to create the Wechaty instance.

Please refer to:

https://github.com/wechaty/getting-started/blob/main/examples/ding-dong-bot.ts

stefan-ysh commented 2 years ago

解决了,谢谢

huan commented 2 years ago

Your are welcome.