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
AWS - Incorrect path seperate used when defining package path. #5934
Comments
Got the same issue, had to rollback to 1.38.0 |
Same problem, i rollback to 1.38.0 also !!! |
I will fix, PR coming up. |
I've been sitting with this issue for two days now, thanks @maxplezzel |
Just reverted #4188 which seems to be the root cause. Patch release should be out in ~30 minutes... |
Somehow this one has resurfaced in the latest versions 1.49 and 1.50, I am still on my way to test which one works. |
I'm still having this issue with version 1.66. I'm happy to roll back for now but I worry that is not sustainable, does anyone know a solution or work around? |
Seems to have found it's way back into 1.66 apparently and 1.68 doesn't work for me too. I am running into the following error (PC configuration included):
|
I was experiencing this behavior as well. I tried reverting to several versions to no avail. I dug around a little bit and I'm not sure which one of these actions fixed the problem, but here's the steps I took (windows 10, PS):
|
Chiming in to say this is happening with 1.69.0
|
This is an issue when i am trying to use the serverless express template.
|
Ok problem is https://github.com/serverless/components/tree/master/templates/express NOT FOUND :( |
picked this exact issue up again today on 2.12, replicated things manually and cannot repeat the error but sls package wont go through. |
@bcraft I just tried to get things going today on 2.15.0 and ran into the same problem. |
I hv not taken the template, rather i used the simplier serverless-http method and this is running for me. So not sure my issue is related to anything above. |
Having the same problem here. When I deploy from my local environment works though. |
in my case the problem is
|
This is a Bug Report
Description
Incorrect path separator used when determining where the deployment artefact is located in AWS deployment.
What went wrong?
When setting the package path the wrong path seperate was being used for MacOS, resulting in the incorrect path being used to upload artefacts to S3.
What did you expect should have happened?
Correct path seperate to be used based upon OS.
What was the config you used?
Standard
What stacktrace or error message from your provider did you see?
Solution
Change:
packageRef.artifact.substr(packageRef.artifact.lastIndexOf(path.sep) + 1)
I would make the change myself but haven't contributed before and don't have time right now to meet contribution requirements.
The text was updated successfully, but these errors were encountered: