Skip to content

statement.Resource.filter is not a function #4

@icozma

Description

@icozma

Hi, I am tring to deploy a serverless application, which uses serverless-aws-resource-names but I am getting:

`(base) PS>serverless deploy --stage dev
Serverless: Setting custom naming conventions...
Serverless: Setting custom function names...
Serverless: Generated requirements from D:...\requirements.txt in D:....serverless\requirements.txt...
Serverless: Installing requirements from D:....serverless\requirements\requirements.txt ...
Serverless: Running ...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Injecting required Python packages to package...

Type Error ---------------------------------------------

statement.Resource.filter is not a function

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com

Your Environment Information ---------------------------
OS: win32
Node Version: 8.9.3
Serverless Version: 1.44.1`

The only place where statement.Resource.filter is present is here:

node_modules\serverless-aws-resource-names\naming.js

And I can not figure it out why and how to overcome this.
Any info would be great.

Many thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions