Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error thrown during packaging #657

Closed
ronkorving opened this issue Dec 3, 2021 · 4 comments
Closed

Error thrown during packaging #657

ronkorving opened this issue Dec 3, 2021 · 4 comments
Labels

Comments

@ronkorving
Copy link

ronkorving commented Dec 3, 2021

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.

@pgrzesik
Copy link
Contributor

pgrzesik commented Dec 3, 2021

It will be addressed by #656, sorry for the trouble

@pgrzesik pgrzesik added the bug label Dec 3, 2021
@ronkorving
Copy link
Author

@pgrzesik No worries, thanks for the quick response and care 👍

@ronkorving
Copy link
Author

Can confirm that the problem has gone away 👍

@pgrzesik
Copy link
Contributor

pgrzesik commented Dec 6, 2021

Thanks for confirmation @ronkorving 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants