Can't serverless deploy --function
Running serverless deploy --function MyFunction
Serverless-bundle will try to copy over an unrelated function from .webpack in to .serverless and the following error will be produced
Error: ENOENT: no such file or directory, copyfile '/.webpack/UnrelatedFunction.zip' -> '.serverless/UnrelatedFunction.zip'
I've also disabled ForkTsChecker.
Should I attempt a fix or is there anything I'm missing?
+1 happening to us too
@huntedman I think this is an issue with serverless-webpack. to temporarily patch it, I ran npm i [email protected] in our repo and the problem went away
@louisholley installing npm i [email protected] did the trick, thank you so much!