Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

sls deploy returns error no zip found with package.individually = true #14

@dariomncs

Description

@dariomncs

I could reproduce the issue using version v1.4.1 (with v1.3.0 is working fine) running sls deploy --verbose

Also, trying to debug the issue, I found that inspecting .serverless folder after running sls package --verbose all zip files are generated correctly, so the issue is apparently only present with sls deploy command.

Current workaround: downgrade to v1.3.0

Stack trace of the problem using SLS_DEBUG=*:

...
Serverless: Compiling with Typescript...
Serverless: Using local tsconfig.json at "/builds/***/***/***/tsconfig.json"
Serverless: TypeScript compiled.
Serverless: Copying Extras...
Serverless: Finished Copying Extras
Serverless: Copying Dependencies ...
Serverless: Finished Copying Dependencies ...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Invoke aws:common:validate
 
  Serverless Error ---------------------------------------
 
  ServerlessError: No ***.zip file found in the package path you provided.
...

so the next step Serverless: Invoke aws:deploy:deploy is not invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions