In the meantime, make sure you have installed all the dependencies (node-pre-gyp, bindings, async, sf, optimist and nan) which you can find over here https://www.npmjs.org/package/serialport . Also before installing new modules you need to change the date of your Linux by using the following command:
The first 4 digits are the date and month 09 / 08, the next 4 digits are the time for example 09:10, next 4 for the year 2014 and .00 are for the seconds. I hope you find this helpful.
We are following up on your post transmitting data from sketch to node.js on Galileo board and we would like to know if you still need help or if you already have an answer or solution to your question. Remember if someone replied to you with a helpful response you can mark it as correct or helpful answered. We will be waiting your response. Have a great day.