Skip to content

Type Error: Cannot read property 'length' of undefined #14

@nolde

Description

@nolde

Error happening with a mix of functions containing function level package and some without it.

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

 Cannot read property 'length' of undefined

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

Stack Trace --------------------------------------------

TypeError: Cannot read property 'length' of undefined
at GlobAll.globNext (C:\git\my-module\node_modules\glob-all\glob-all.js:84:20)
at GlobAll.run (C:\git\my-module\node_modules\glob-all\glob-all.js:78:8)
at Function.globAll.sync (C:\git\my-module\node_modules\glob-all\glob-all.js:192:41)
at BbPromise (C:\git\my-module\node_modules\serverless-plugin-browserify\lib\bundle.js:32:31)
at SlsBrowserify.bundle (C:\git\my-module\node_modules\serverless-plugin-browserify\lib\bundle.js:31:12)

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