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

Runtime nodejs20.x is unsupported from WebStorm IDE #4209

Open
fernandosanchezjr opened this issue Mar 27, 2024 · 2 comments
Open

Runtime nodejs20.x is unsupported from WebStorm IDE #4209

fernandosanchezjr opened this issue Mar 27, 2024 · 2 comments

Comments

@fernandosanchezjr
Copy link

When trying to run a lambda targeting nodejs20.x locally on WebStorm as an AWS Lambda run configuration I experience the following error:

Error: the runtime `nodejs20.x`  is unsupported.

Screenshot from 2024-03-27 15-29-24

Screenshot from 2024-03-27 15-31-40

I am able to invoke the lambda locally, however:

$ sam local invoke getAllItemsFunction -e getAllItemsRequest.json 
Invoking src/handlers/get-all-items.getAllItemsHandler (nodejs20.x)                                                                                                                                                                                                            
Local image is up-to-date                                                                                                                                                                                                                                                      
Using local image: public.ecr.aws/lambda/nodejs:20-rapid-arm64.                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                               
Mounting /home/fernando/projects/samnodetestone/nodetestone/.aws-sam/build/getAllItemsFunction as /var/task:ro,delegated, inside runtime container 
< additional output removed>

Toolkit: AWS Toolkit For JetBrains 2.14-233
OS: Linux 6.6.0-1003-apple-arm
IDE: WebStorm 233

@LarsOlt
Copy link

LarsOlt commented Mar 29, 2024

I have the same problem. Are there any workarounds?

@yusuke0913
Copy link

I'm having the exact same issue... Can anyone find the solution?

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

No branches or pull requests

3 participants