Splunk AppDynamics

NodeJS: Building project with appdynamics dependency on Mac M1

Nikolas_Xexenis
New Member

Hi

I am building a Node project that includes appdynamics. It's built via Yarn and it fails at the appdynamics-native step:

Exit code: 1
Command: npm install [email protected] [email protected] [email protected] && node install.js appdynamics-native-native appdynamics-native 8373.0.0

 I checked the install script for appdynamics-native. I found it gets the architecture string from process.arch and tries to match it against x64, win32, or ia32, and if it can't it returns null and then later exits with an error.

Presumably there's no arm64 build for appdynamics-native (I don't see arm64 on the supported OS for nodeJS page).  I can modify the install script to force the x64 download (which should be able to run via Rosetta) but Yarn will overwrite the changes during build. The only workaround I found that works is using NVM to install a x64 Node binary and then build the project but it's not great to have to run the whole thing via Rosetta rather than just this module. Does anyone know of a better approach?

Labels (1)
Tags (2)
0 Karma

Dietrich_Meier
Communicator

Hi

Here is the link to the Idea Exchange topic.
https://community.appdynamics.com/t5/Idea-Exchange/Node-JS-agent-build-support-on-Mac-M1/idc-p/49330...


Screenshot to path:

image.pngPath

Regards

Dietrich 

iamryan
Community Manager
Community Manager

Hi @Dietrich.Meier,

Would you mind sharing the Idea Exchange request for @Nikolas.Xexenis - so they can choose to vote for it/subscribe to it so they get updates to that as well?

0 Karma

Dietrich_Meier
Communicator

Hi Nikolas

We have the same issue and just want to get my post in here so that I am subscribed to this when there is a fix. 
There is also already an enhancement request on the Idea Exchange for this also. 
Hope it gets looked at soon. 
Just got feedback from AppD support today on this:
"Unfortunately, we do not support Apple’s M chips, either ARM architectures for Node.js agents at this moment"

Dietrich 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...