Skip to content

env info with node 16 or 21 shows banner #1000

Open
@ykethan

Description

@ykethan

Environment information

System:
    OS: macOS 14.3
    CPU: (8) arm64 Apple M1
    Memory: 260.28 MB / 16.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 21.6.1 - ~/.local/share/nvm/v21.6.1/bin/node
    Yarn: Not Found
    npm: 10.2.4 - ~/.local/share/nvm/v21.6.1/bin/npm
    pnpm: 7.26.2 - /opt/homebrew/bin/pnpm
    bun: Not Found
    Watchman: Not Found
  npmPackages:
    @aws-amplify/backend: ^0.11.0 => 0.11.0 
    @aws-amplify/backend-cli: ^0.11.0 => 0.11.0 
    aws-amplify: ^6.0.15 => 6.0.15 
    aws-cdk: ^2.126.0 => 2.126.0 
    aws-cdk-lib: ^2.126.0 => 2.126.0 
    typescript: ^5.3.3 => 5.3.3

Description

Node 18 or 20 works fine
npx amplify info shows the following when we use nodejs 21

System:
  OS: macOS 14.3
  CPU: (8) arm64 Apple M1
  Memory: 140.69 MB / 16.00 GB
  Shell: /opt/homebrew/bin/fish
Binaries:
  Node: 21.6.1 - ~/.local/share/nvm/v21.6.1/bin/node
  Yarn: undefined - undefined
  npm: 10.2.4 - ~/.local/share/nvm/v21.6.1/bin/npm
  pnpm: 7.26.2 - /opt/homebrew/bin/pnpm
NPM Packages:
  @aws-amplify/backend: 0.11.0
  @aws-amplify/backend-cli: 0.11.0
  aws-amplify: 6.0.15
  aws-cdk: 2.126.0
  aws-cdk-lib: 2.126.0
  typescript: 5.3.3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!                                                                                                                      !!
!!  This software has not been tested with node v21.6.1.                                                                !!
!!  Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report.  !!
!!                                                                                                                      !!
!!  This software is currently running on node v21.6.1.                                                                 !!
!!  As of the current release of this software, supported node releases are:                                            !!
!!  - ^20.0.0 (Planned end-of-life: 2026-04-30)                                                                         !!
!!  - ^18.0.0 (Planned end-of-life: 2025-04-30)                                                                         !!
!!                                                                                                                      !!
!!  This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable.        !!
!!                                                                                                                      !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AWS environment variables:
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

nodejs 16

System:
  OS: macOS 14.3
  CPU: (8) arm64 Apple M1
  Memory: 166.58 MB / 16.00 GB
  Shell: /opt/homebrew/bin/fish
Binaries:
  Node: 16.20.2 - ~/.local/share/nvm/v16.20.2/bin/node
  Yarn: undefined - undefined
  npm: 8.19.4 - ~/.local/share/nvm/v16.20.2/bin/npm
  pnpm: 7.26.2 - /opt/homebrew/bin/pnpm
NPM Packages:
  @aws-amplify/backend: 0.11.0
  @aws-amplify/backend-cli: 0.11.0
  aws-amplify: 6.0.15
  aws-cdk: 2.126.0
  aws-cdk-lib: 2.126.0
  typescript: 5.3.3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!                                                                            !!
!!  Node 16 has reached end-of-life on 2023-09-11 and is not supported.       !!
!!  Please upgrade to a supported node version as soon as possible.           !!
!!                                                                            !!
!!  This software is currently running on node v16.20.2.                      !!
!!  As of the current release of this software, supported node releases are:  !!
!!  - ^20.0.0 (Planned end-of-life: 2026-04-30)                               !!
!!  - ^18.0.0 (Planned end-of-life: 2025-04-30)                               !!
!!                                                                            !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AWS environment variables:
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

will need to silence or strip out the banner

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtech-debtRefactors, unsavory workarounds or other technical decisions that should be revisited later

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions