akamai / cli-property-manager

Use this Property Manager CLI to automate Akamai property changes and deployments across many environments.
Apache License 2.0
29 stars 22 forks source link

CLI hangs when using Node 18 #79

Closed vetruvet closed 1 year ago

vetruvet commented 1 year ago

When using Node 18, the CLI hangs when running basic commands that reach out to the server. Switching to Node 16 or 14 resolves the error.

Steps to reproduce:

  1. Install and configure Akamai CLI and install property-manager package
  2. run the following (assuming nvm is used to manage node versions)
nvm use 16
akamai property-manager list-groups
nvm use 18
akamai property-manager list-groups

Expected results: CLI works on both node versions. Actual results: CLI only works on pre-18 versions.

Notably, if running with the -v flag, it will show the underlying error - a 403 (detail: "Client not authorized"), however on Node 16 it works correctly.

Similar issue in edgeworkers package: https://github.com/akamai/cli-edgeworkers/issues/110

vetruvet commented 1 year ago

Similar as noted on the linked edgeworkers package, things seem to be working now (no changes to node/akamai/property-manger versions). Perhaps a server-side change went out? Either way, closing this