Skip to content
This repository has been 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

Open
dario1985 opened this issue Aug 9, 2020 · 0 comments
Open

Comments

@dario1985
Copy link

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.

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

No branches or pull requests

1 participant