Hi CMata,
I think understood the problem. I suggest a better diagnostic from XDE will help to understand the problem immediately, at least for a node.js newbe like me.
With the latest SDK (0128) I got “Error installing NPM module. Unsupported” when I use in the XDK IDE the “install/build button” to upload my project that has bleno module into the dependencies section of package.json file.
This happens if the build settings the option "Run npm install directly on IOT device it is not enabled/checked, if the option is enabled the bleno package install without problem. Looking at the console output I can see that bleno requires native code compilation (that must be done on the target OS).
I suggest to enhance XDK error message from “Error installing NPM module. Unsupported” to “Error installing NPM module. Please enable build settings option: Run npm install directly on IOT device"
I hope this could help other users.
Thanks
-massimo