Skip to content

EEXIST issue with sls deploy and dockerizePip #278

Open
@kalote

Description

@kalote

Hello,

When I try to "sls deploy" using "dockerizePip: true" option, i get the following error:

Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir
Serverless: Installing required Python packages with python3.6...
Serverless: Docker Image: lambci/lambda:build-python3.6
Serverless: Linking required Python packages...

  Error --------------------------------------------------

  EEXIST: file already exists, symlink '/Users/me/project/test/lambda/.serverless/requirements/requirements.txt' -> './requirements.txt'

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

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

Error: EEXIST: file already exists, symlink '/Users/me/project/test/lambda/.serverless/requirements/requirements.txt' -> './requirements.txt'
    at Object.fs.symlinkSync (fs.js:1014:18)

I'm running on macOS, with latest sls version, and latest serverless-python-requirements version.

Thanks for your support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dockerwaiting-on-responseIf an issue goes without response for a while, close it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions