I tried to run this node script on an x64 machine and it seems to be working fine.
However, the same script reports a bus error when running on a Raspberry Pi. It gives the error [6047.715610] Unhandled Fault: alignment exception error with an error message on the next line as a bus error. It seems that the error is related to MongoClient.connect ().
The script uses MongoClient and GridStore from the mongodb module. Also, I tried to reinstall from this repository (which seems to be doing gyp-rebuild ) and it does not work.
Is there any compilation option that needs to be set?
source share