serverless-plugin-typescript
serverless-plugin-typescript copied to clipboard
sls deploy returns error no zip found with package.individually = true
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.