Skip to content

EEXIST when invoking locally for the second time #152

Open
@SkyLeite

Description

@SkyLeite

Invoking a function locally with serverless invoke local -f hello works the first time, but returns the following error on subsequent runs:

EEXIST: file already exists, symlink '/home/rodrigo/Repos/upnid-api/functions/boletos/node_modules' -> '/home/rodrigo/Repos/upnid-api/functions/boletos/.build/node_modules'

Removing the .build directory makes it work again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions