Skip to content

Error Trying to Generate SAM Template #34

@tfendt

Description

@tfendt

I am getting the below error when trying to generate a SAM template and I am not having any luck finding a solution. Is this a bug with the latest serverless-sam? I can do all other serverless commands with out issue this only happens when I try to run serverless sam export.

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

Cannot use 'in' operator to search for '0' in ${file(../shared/build/slsFunctionLoader.js)}

 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.12.0
Serverless Version: 1.44.1

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