aws / aws/aws-parallelcluster

Limit node version

Open
#5,444 1 comment 0 reactions 0 assignees View on GitHub
3.x Backlog Bug Documentation Feature Request
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

I tested pcluster cli version 3.6.0 with node v18.16.1 (npm v9.5.1) and got the following error:
```
pcluster create-cluster --cluster-configuration config.yaml --cluster-name cluster-name --region us-east-2
{
"message": "Cannot read properties of undefined (reading 'metadata')"
```
The guide already has a fix but I overlooked it: https://docs.aws.amazon.com/parallelcluster/latest/ug/install-v3-virtual-environment.html by doing: `nvm install --lts=Gallium `
I took quite sometime until I get back to that fix thanks to the hunch that the message is due to wrong node version. So, it would be better to point out a specific range of compatible node versions.

Contributor guide

Open the contributing guide

Research direction

Start with the install v3 virtual environment guide linked in the issue and review its Node.js setup instructions, including the nvm command for Gallium. Done means the guide explicitly states the compatible Node.js version or range and warns users about incompatible versions that can produce this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.