'Has anyone been able to utilize danfojs-node package on an m1 chip?

I was trying to utilize danfojs-node on a mac running an M1 chip but it crashes due to TensorFlow and I was wondering if anyone was able to successfully utilize the npm package located here (https://www.npmjs.com/package/danfojs-node) with a current node.js project. If so, how? Otherwise, does anyone know a good alternative for building graphs in node.js?



Solution 1:[1]

step 0: arch -arm64 zsh

step 1: nvm install 16 (17 works as well)

step 2: install [email protected]

Then you good.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user10371355