Skip to content

Make sure to avoid .DS_Store (Mac cache file) in serverless sub-directories #2

@zhibek

Description

@zhibek

This plugin is very helpful in organising serverless projects.

However, I've just been troubleshooting a problem a colleague has been having:

TypeError: Cannot create property 'events' on string ''
      at <path-to-project>/node_modules/serverless-dir-config-plugin/index.js:84:55

We found that a .DS_Store cache file had been generated on his Mac. This file was parsed by serverless-dir-config-plugin when we ran sls offline and caused the error above.

It looks like this repo is no longer maintained, but leaving this issue in case anyone hits a similar problem in future!

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