Open
Description
Setup
Environment:
OS: Windows 8
sls version: 1.30.1
python: 3.6
VirtualBox: 5.2.8
snippets from serverless.yml
pythonRequirements:
dockerizePip: non-linux
plugins:
- serverless-python-requirements
requirements.txt
jsonschema==2.6.0
sls deploy output
Produces the zip for the lambda as desired. The zip file looks like this:
All looks good here, until -->
I get the error "module not found" and look at AWS console to find the lambda as:
Problem!
You saw it there.. the file names contain the backslashes!
Updates:
1:
Issue doesn't exist if I manually zip the files (src and jsonschema folders) and upload into lambda
2:
Issues stays even if I use " dockerizePip: false "
. i.e. Not using the docker container and having sls run the pip command in windows environment.
Looks like: Problem in the way zip file is being produced.