Let me know if this helps.
Running into the same issue. I can run the same node.js code on my laptop but it fails on the Edison. I also I have tried both npm install as well as git clone. Could it be a version issue? I wll do some research at