-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
im not able to upgrade to nodejs 18 for AWS stack #3763
Comments
I have the same issue |
I'm also trying to upgrade and having same issue. |
That's strange because it's right there: https://github.com/sst/sst/blob/master/packages/sst/src/constructs/Function.ts#L72 |
@jayair what is the package version you get this link from, I tried multiple times with no luck only can see nodejs16_x and I tried to create new project getting the same issue |
@baraadeek Hmm that one was from master, but if I take the tag for the latest release: https://github.com/sst/sst/blob/v2.41.5/packages/sst/src/constructs/Function.ts#L72 |
@jayair ok what do you think i miss when I do this
|
@jayair is this package belongs to sst @serverless-stack/resources |
These are from SST v1 which is a couple of years old. We don't update them anymore.
Is what you are looking for. |
@jayair thanks a lot for your response |
im tried to upgrade the nodejs version from 16 to 18 but there was no choice to use node 18 even when I used the latest version of the package I still couldn't find nodejs 18
app.setDefaultFunctionProps({
runtime: 'nodejs16.x'
})
only I found these runtimes
export declare type Runtime = "nodejs" | "nodejs4.3" | "nodejs6.10" | "nodejs8.10" | "nodejs10.x" | "nodejs12.x" | "nodejs14.x" | "nodejs16.x" | "python2.7" | "python3.6" | "python3.7" | "python3.8" | "python3.9" | "dotnetcore1.0" | "dotnetcore2.0" | "dotnetcore2.1" | "dotnetcore3.1" | "go1.x";
so how I can upgrade the node version any options?
The text was updated successfully, but these errors were encountered: