Skip to content
New issue

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

Getting the error: serverless.variables.populateObject #25

Open
Morraycage opened this issue Dec 11, 2022 · 1 comment
Open

Getting the error: serverless.variables.populateObject #25

Morraycage opened this issue Dec 11, 2022 · 1 comment

Comments

@Morraycage
Copy link

Morraycage commented Dec 11, 2022

Hi hope you are doing well i'm using serverless 3.25.1

And my config is this:

  s3: !Ref ServerlessDeploymentBucket
  remover:
    buckets:
      - ${self:custom.s3.Ref}

I installed the package as it is in the Documentation but actually i'm getting this error ..

TypeError: this.serverless.variables.populateObject is not a function
    at populateConfig (/builds/yourbeatmaker/monorepos/node_modules/serverless-s3-remover/index.js:96:40)
    at /builds/yourbeatmaker/monorepos/node_modules/serverless-s3-remover/index.js:107:14
    at new Promise (<anonymous>)
    at Remover.remove (/builds/yourbeatmaker/monorepos/node_modules/serverless-s3-remover/index.js:106:12)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async PluginManager.runHooks (/usr/local/share/.config/yarn/global/node_modules/serverless/lib/classes/plugin-manager.js:530:9)
    at async PluginManager.invoke (/usr/local/share/.config/yarn/global/node_modules/serverless/lib/classes/plugin-manager.js:563:9)
    at async PluginManager.run (/usr/local/share/.config/yarn/global/node_modules/serverless/lib/classes/plugin-manager.js:604:7)
    at async Serverless.run (/usr/local/share/.config/yarn/global/node_modules/serverless/lib/serverless.js:170:5)
    at async /usr/local/share/.config/yarn/global/node_modules/serverless/scripts/serverless.js:[78](https://gitlab.com/yourbeatmaker/monorepos/-/jobs/3455077336#L78)7:9

Is the plugin is dead ? Because i'm not understanding do i have to set populateObject or something ? Because it's not in the documentation.

Thank you by advance

@Morraycage
Copy link
Author

Is this plugin is an open source one ?

Cause i cannot create a pull request to fix the issue ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant