getting-started
getting-started copied to clipboard
Failed to import Wechaty Puppet Provider (WPP) NPM module: "wechaty-puppet-padlocal"
Hi @huan , there is an issue to run:
$ npm install --global wechaty@next wechaty-puppet-padlocal
$ wechaty gateway \
--puppet wechaty-puppet-padlocal \
--puppet-token padlocal_XXX \
Error message: Failed to import Wechaty Puppet Provider (WPP) NPM module: "wechaty-puppet-padlocal" Please make sure:
- it has been installed correctly. (run
npm install wechaty-puppet-padlocalif it doesn't) - "wechaty-puppet-padlocal" is a valid Wechaty Puppet Provider (WPP).
While I have successfully installed "wechaty-puppet-padlocal" root@ecs-87602:~# npm list -g /usr/local/lib ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected]
Originally posted by @muhualing in https://github.com/wechaty/puppet-service/issues/194#issuecomment-1088517191
PadLocal is not supporting Wechaty v1.x yet, which means that you have to use a docker solution instead of the CLI:
See:
- https://github.com/wechaty/getting-started/wiki/Migration#3-padlocal-requires-wechaty-gateway-for-now
The CLI will be able to use with PadLocal after the below PR has been merged:
- https://github.com/wechaty/puppet-padlocal/pull/125