We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The whole Wechaty ecosystem is moving towards ES Modules and we are refactoring the modules slowly.
See:
The above error message means that you are trying to load a non-ESM compatible puppet module.
Please file a new issue on that puppet repo to record the problem, and a link back to this issue will be welcome.
const puppet = new PuppetPadlocal() const bot = new Wechaty({ puppet })
The above code should work as a workaround.
The text was updated successfully, but these errors were encountered:
fix ES modules (#203)
acd4132
compatible with CJS puppet modules (wechaty/getting-started#203)
4135790
We have added compatible code for load CJS puppet modules in [email protected] or above versions.
[email protected]
Sorry, something went wrong.
fix cjs puppet module load (wechaty/getting-started#203)
37dd825
support cjs puppet module (#203)
0ed991d
No branches or pull requests
The whole Wechaty ecosystem is moving towards ES Modules and we are refactoring the modules slowly.
See:
TypeError: MyPuppet is not a constructor
The above error message means that you are trying to load a non-ESM compatible puppet module.
Please file a new issue on that puppet repo to record the problem, and a link back to this issue will be welcome.
Solution
The above code should work as a workaround.
The text was updated successfully, but these errors were encountered: