getting-started icon indicating copy to clipboard operation
getting-started copied to clipboard

Failed to import Wechaty Puppet Provider (WPP) NPM module: "wechaty-puppet-padlocal"

Open huan opened this issue 3 years ago • 1 comments

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:

  1. it has been installed correctly. (run npm install wechaty-puppet-padlocal if it doesn't)
  2. "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

huan avatar Apr 05 '22 10:04 huan

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

huan avatar Apr 05 '22 10:04 huan