Skip to content
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

There is no option to pin specific version of serverless #84

Open
santhosh-vikraman opened this issue Sep 18, 2023 · 4 comments · May be fixed by #90
Open

There is no option to pin specific version of serverless #84

santhosh-vikraman opened this issue Sep 18, 2023 · 4 comments · May be fixed by #90

Comments

@santhosh-vikraman
Copy link

Please add provision to support specific version

@ryanlawson ryanlawson linked a pull request May 17, 2024 that will close this issue
@ryanlawson
Copy link

Created PR #90 to address this.

@thrichardson-twist
Copy link

I am seriously giving up on serverless unless there is a way to pin it. My rust builds are failing and there is no error message at all. All I can say for sure is the serverless version changed. But I can't roll back and test.

@garethmcc
Copy link

There is a way to do this. For Serverless Framework Version 4 you can add the frameworkVersion property to your serverless.yml with a specific version. More details can be found here: https://www.serverless.com/framework/docs/providers/aws/guide/services#version-pinning

@thrichardson-twist
Copy link

I did find a way, not sure if that's what you link points to: npm install -g [email protected]. It turns out my issue was related to the lambda instance memory limit and I was getting OOM. Strangely, downgrading rust by one version seems to have fixed it. So I take back what I said in this thread. :)

Long day of debugging...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants