You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a weird case I haven't found any reference to:
We have an Azure pipeline that installs akamai cli via brew in a MacOS VM, then uses akamai install to get netstorage, all the installation process succeeds, but when executing any akamai netstorage command, the CLI returns a JS error:
/Users/<user-name>/.akamai-cli/src/cli-netstorage/bin/akamaiNetstorage:26
let untildify = require('untildify');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/<user-name>/.akamai-cli/src/cli-netstorage/node_modules/untildify/index.js from /Users/<user-name>/.akamai-cli/src/cli-netstorage/bin/akamaiNetstorage not supported.
I've tried several different versions of MacOS with and all reproduce the same issue, I'm also able to reproduce it locally after installing akamai cli via brew [ref] and also via binary file download [ref].
I've also tried different nodejs versions using nvm to no avail.
Further more, around 6 months ago (last time this pipeline was executed) it succeeded, my assumption is that something changed inside the netstorage package, most likely their dependency version for untildify, and it is breaking the execution.
Steps to reproduce
On Mac OS
Install akamai-cli via brew or binary file
Run akamai install netstorage
Attempt to run akamai netstorage --help
Screenshots
Azure execution:
Local execution:
The text was updated successfully, but these errors were encountered:
This is a weird case I haven't found any reference to:
We have an Azure pipeline that installs
akamai cli
viabrew
in a MacOS VM, then usesakamai install
to getnetstorage
, all the installation process succeeds, but when executing anyakamai netstorage
command, the CLI returns a JS error:I've tried several different versions of MacOS with and all reproduce the same issue, I'm also able to reproduce it locally after installing
akamai cli
viabrew
[ref] and also via binary file download [ref].I've also tried different
nodejs
versions usingnvm
to no avail.Further more, around 6 months ago (last time this pipeline was executed) it succeeded, my assumption is that something changed inside the
netstorage
package, most likely their dependency version foruntildify
, and it is breaking the execution.Steps to reproduce
akamai-cli
viabrew
or binary fileakamai install netstorage
akamai netstorage --help
Screenshots
Azure execution:
Local execution:
The text was updated successfully, but these errors were encountered: