-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy mixed language Serverless environments due to ENOENT: no such file or directory #832
Milestone
Comments
I guess this PR might fix the problem: #808 |
Could you test again using the 5.5.1? Thanks 🙏 |
I'm currently on holiday but will try it out at the start of next week. Thanks! |
Looks to be fixed with the 5.5.1 release. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a Bug Report
Description
Starting in versions 5.4.0 and up to the current release 5.5.0 it does not appear to be possible to deploy a mixed language Serverless environment due to the "copyExistingArtifacts" function including non-javascript functions. When attempting to run a deploy you get the following error:
In our use case we have a mix of Node12 and Java11 code being deployed to different AWS lambda functions. The Node12 functions are being handled by webpack while Java11 is being handled by Maven outside of the Serverless execution.
For bug reports:
What went wrong?
Encounter the above mentioned error when attempting to deploy a mix of Node and Java Serverless functions.
What did you expect should have happened?
Serverless-Webpack should be ignoring the Java functions instead of trying to copy a non-existent artifact.
What was the config you used?
Similar or dependent issue(s):
Additional Data
Serverless-Webpack Version you're using:
Issue observed in 5.4.0 through 5.5.0
Webpack version you're using:
5.24.4
Serverless Framework Version you're using:
2.41.2
Operating System:
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: