ruimarinho / gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
MIT License
221 stars 38 forks source link

node-version: install of gsts@5.0.3 fail with node 21.2.0 #107

Closed Lowaiz closed 10 months ago

Lowaiz commented 11 months ago

Install output:

➜  ~ yarn global add gsts                                                                                                                                                                              ⎈ prod-par5
yarn global v1.22.21
(node:177133) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[1/4] Resolving packages...
warning gsts > @aws-sdk/shared-ini-file-loader@3.374.0: This package has moved to @smithy/shared-ini-file-loader
[2/4] Fetching packages...
error gsts@5.0.3: The engine "node" is incompatible with this module. Expected version "^>=18.0.0". Got "21.2.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

I guess the pattern for checking node version is broken: "node": "^>=18.0.0". The ^ should not be there, should it ?