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
Hi @dcacenabes,
Thanks for raising this issue.
This is an issue with the ssh2 and cpu-features libraries we rely on, it is tracked in the following issue: mscdex/cpu-features#7
TL;DR is that the maintainer of these packages is waiting on the support for M1s in Google’s cpu_feature tool.
Alternatively, you should be able to install the package by discarding the optional dependencies using --no-optional.
Hi @m-rousse , thanks for your quick reply!
Apparently --no-optional is not working when you install a package globally. (npm i -g --no-optional @datadog/datadog-ci)
We moved to installing it locally enforcing no optional parameter and launch with npx, then it worked!
Thanks for your support.
Describe what happened
Running the command in an M1 mac machine throws the error:
Steps to reproduce the issue:
In an M1 machine:
npm install -g @datadog/datadog-ci
datadog-ci version
Expected behaviour:
Command outputs v1.2.0
Actual behaviour:
Additional context
I tried doing
npx @datadog/[email protected]
version and it workedIf I do
npx @datadog/[email protected] version
it failsInstalling
npm install -g @datadog/[email protected]
gives the errorInstalling
npm install -g @datadog/[email protected]
also gives the errorThe text was updated successfully, but these errors were encountered: