Closed Oldbury closed 2 years ago
@Oldbury do you mean that deployment freezes? What exactly is wrong? It's not clear from provided information
I mean that it compiles the typescript and generated the .build directory but stops after that (see output in description).
I expected it to then carry on with the deployment
What happens if you just use serverless-plugin-typescript
, and do not load other plugins?
If the issue persists then, can you prepare some reproducible test case I can check on my machine?
The same issue occurs with just serverless-plugin-typescript
- it is worth noting I am using turbo repo too.
I'll test again tonight with a blank example repo and see if this issue still occurs
Interesting, it looks that after packaging command just exists. What version of the serverless
you're using, is it the latest?
Okay so I'm not 100% sure what Serverless version I was on before but just upgraded to latest "serverless@2.71.0"
and its now working as expected with Serverless-plugin-typescript
Issue
When adding plugin to Serverless it prevents the deployment from completing. This issue occurs with
Serverless-plugin-typescript
andserverless-esbuild
Serverless.yml
Package.json
Output
Expected Result
Functions deploy as usual, which was happening before adding the typescript plugin