Skip to content

Error thrown during packaging  #657

@ronkorving

Description

@ronkorving

I'm seeing the following error since upgrading this plugin from 5.2.0 to 5.2.1.

Serverless: Using download cache directory /Users/ronkorving/Library/Caches/serverless-python-requirements/downloadCacheslspyc

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

  TypeError: ps.stdoutBuffer.trim is not a function
      at getDockerUid (/Users/ronkorving/Projects/myproject/node_modules/serverless-python-requirements/lib/docker.js:200:26)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async installRequirements (/Users/ronkorving/Projects/myproject/node_modules/serverless-python-requirements/lib/pip.js:341:30)
      at async installRequirementsIfNeeded (/Users/ronkorving/Projects/myproject/node_modules/serverless-python-requirements/lib/pip.js:682:3)
      at async ServerlessPythonRequirements.installAllRequirements (/Users/ronkorving/Projects/myproject/node_modules/serverless-python-requirements/lib/pip.js:760:29)

Debug output from Serverless:

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              16.13.0
     Framework Version:         2.68.0 (local)
     Plugin Version:            5.5.1
     SDK Version:               4.3.0
     Components Version:        3.18.1

This problem does not occur on 5.2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions